Redraw glitch: tiles marked black (at game-over time) were not
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Jun 2005 14:33:06 +0000 (14:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 19 Jun 2005 14:33:06 +0000 (14:33 +0000)
commitd951510da48ca6485e7950b69100047fd14bc7f4
tree424073be005957a4bc7d89cef345795537261ea7
parent3fee7a57faa025c2785c79625075761e91e98dba
Redraw glitch: tiles marked black (at game-over time) were not
redrawn as non-black on undo. Introduce a new flag TILE_IMPOSSIBLE,
so that information about those black markers is cached in the
drawstate and we know when we have to erase them.

In the process I've removed the game_state argument completely from
the subfunction tile_redraw(), which gives me some confidence that
it isn't getting any _more_ privileged information out of it.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5979 cda61777-01e9-0310-a592-d414129be87e
samegame.c