Restore original Escape behaviour if pause key is not Escape
authorparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 19 Apr 2008 16:17:17 +0000 (16:17 +0000)
committerparasti <parasti@78b8d119-cf0a-0410-b17c-f493084dd1d7>
Sat, 19 Apr 2008 16:17:17 +0000 (16:17 +0000)
commitbd7bde689913534ca562a811d13f4cbbe4f7ada0
tree39f58a4f4a7db5909f6ab96859bb6c0afe3b83ec
parentd903692d9700aacc5cdd171a58ce38f0b9ab232c
Restore original Escape behaviour if pause key is not Escape

The "original" Escape  key behaviour meant here is  "exit no questions
asked".  The  implementation is  actually "wrong",  based on  the fact
that the  game converts Escape  key presses to joystick  "exit" button
events.  Thus, the "pause key is  not Escape" test is performed in the
state buttn  handler when  in fact  we have no  idea where  the button
event  came from.   However, the  resulting behaviour  believed to  be
identical to that in 1.4.0 for both keyboard and joystick.

git-svn-id: https://s.snth.net/svn/neverball/trunk@2081 78b8d119-cf0a-0410-b17c-f493084dd1d7
ball/st_demo.c
ball/st_pause.c
ball/st_play.c
putt/st_all.c