Framework alteration: we now support a `game_ui' structure in
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 11 May 2004 17:44:30 +0000 (17:44 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 11 May 2004 17:44:30 +0000 (17:44 +0000)
commit74a4e547b35f162350dcf205aa453fd32820d249
treea19141061c1ce27e17dbb3dda20eaf4cfbbf2cb6
parent3870c4d8338e706094168969ced37a9aae4eb011
Framework alteration: we now support a `game_ui' structure in
addition to the `game_state'. The new structure is intended to
contain ephemeral data pertaining to the game's user interface
rather than the actual game: things stored in the UI structure are
not restored in an Undo, for example.
make_move() is passed the UI to modify as it wishes; it is now
allowed to return the _same_ game_state it was passed, to indicate
that although no move has been made there has been a UI operation
requiring a redraw.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@4207 cda61777-01e9-0310-a592-d414129be87e
cube.c
fifteen.c
gtk.c
midend.c
net.c
nullgame.c
puzzles.h
rect.c
sixteen.c
windows.c