aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2017-11-18 19:36:10 +0000
committerSimon Tatham <anakin@pobox.com>2017-11-18 20:05:07 +0000
commite2514a72e6c8d0269264d75d58186875cc5c027c (patch)
tree285db8b3d62cead06b269ff3c9c71b8a59f9f5ac /PuzzleApplet.java
parent5c6fcf10a363c73b00f0daa752ccf9d133a35793 (diff)
downloadpuzzles-e2514a72e6c8d0269264d75d58186875cc5c027c.zip
puzzles-e2514a72e6c8d0269264d75d58186875cc5c027c.tar.gz
puzzles-e2514a72e6c8d0269264d75d58186875cc5c027c.tar.bz2
puzzles-e2514a72e6c8d0269264d75d58186875cc5c027c.tar.xz
Refactor to make me->newgame_undo a small struct.
The three related buf/len/size fields are now a sub-structure of the main midend, and the serialise/deserialise functions that address those fields now take a pointer to that sub-structure rather than to the midend as a whole. This will make it easy for me to drop in a second substructure alongside it, for redo, and reuse those read and write functions by just changing the context pointer.
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions