chiark / gitweb /
Allow game backends to use even special keystrokes such as N and Q;
authorSimon Tatham <anakin@pobox.com>
Sun, 3 Jul 2005 11:45:49 +0000 (11:45 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 3 Jul 2005 11:45:49 +0000 (11:45 +0000)
commit85a29743ef113cd26448e4e4cd04c7a34ce4fdd1
tree8c7556cd00e18bfa8af09ea536fa8202aa2e7bb2
parent64e114cce121e55f0f90cb5692c5020d917aa202
Allow game backends to use even special keystrokes such as N and Q;
they will only be processed as special by the midend if unwanted by
the backend. This causes 5x5 Solo to become just about playable,
because you can now click in a square and type `n'. However, typing
`n' when a square is not selected will revert to the normal
behaviour of starting a new game.

(This isn't particularly ideal, I know, but it's better than
nothing.)

[originally from svn r6048]
midend.c