chiark / gitweb /
Add a new game concept called a `flash'. This is a graphical effect
authorSimon Tatham <anakin@pobox.com>
Wed, 28 Apr 2004 18:43:50 +0000 (18:43 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 28 Apr 2004 18:43:50 +0000 (18:43 +0000)
commitd396382abd7a00e64d45894d06cdeeb668b3808e
tree42ab61f91e2a553e3fb276dba792a0618122500e
parent64e6afdeedcf3f22282524ebd36e3393736fed65
Add a new game concept called a `flash'. This is a graphical effect
taking non-zero time, which is triggered by the making of a move and
is _not_ hurried to its conclusion by the start of the next move (so
the game redraw function is expected to be able to draw it in
parallel with continuing moves). The only thing that prematurely
terminates a flash is the start of a fresh flash. In particular,
this concept is used to display the completion flash in Net, because
at least _my_ playing instincts make me lock every piece I've
unambiguously placed, and hence the last turn move is instantly
followed by a lock move which was previously suppressing the
completion flash.

[originally from svn r4168]
cube.c
midend.c
net.c
puzzles.h