chiark / gitweb /
Redraw glitch: tiles marked black (at game-over time) were not
authorSimon Tatham <anakin@pobox.com>
Sun, 19 Jun 2005 14:33:06 +0000 (14:33 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 19 Jun 2005 14:33:06 +0000 (14:33 +0000)
commitdb88c9b9a4d210c26c34bf05efd6c00df584537b
tree424073be005957a4bc7d89cef345795537261ea7
parent574250995ecf9ce06f532b0972024b14355e6d43
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.

[originally from svn r5979]
samegame.c