chiark / gitweb /
More serialisation changes: the game_aux_info structure has now been
authorSimon Tatham <anakin@pobox.com>
Tue, 28 Jun 2005 11:14:09 +0000 (11:14 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 28 Jun 2005 11:14:09 +0000 (11:14 +0000)
commit89fdc09c29f1219a7660ad6d1839cc914a009c02
treec9e9e95e109aa01df1a0ca8d310467929cf3049b
parent6c9beb697bd61c7e8d0eac8b7fce54cde134d9c9
More serialisation changes: the game_aux_info structure has now been
retired, and replaced with a simple string. Most of the games which
use it simply encode the string in the same way that the Solve move
will also be encoded, i.e. solve_game() simply returns
dupstr(aux_info). Again, this is a better approach than writing
separate game_aux_info serialise/deserialise functions because doing
it this way is self-testing (the strings are created and parsed
during the course of any Solve operation at all).

[originally from svn r6029]
17 files changed:
cube.c
fifteen.c
flip.c
gtk.c
guess.c
midend.c
mines.c
net.c
netslide.c
nullgame.c
pattern.c
puzzles.h
rect.c
samegame.c
sixteen.c
solo.c
twiddle.c