projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20040424-1-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index b123c86d7f6667632eda8bfe7385da81ddbe2825..0f11b48a6a7256b9b569509cd5633a96c5bca100 100644
(file)
--- a/
src/events.c
+++ b/
src/events.c
@@
-112,7
+112,7
@@
void EventLoop(void)
else
{
/* when playing, display a special mouse pointer inside the playfield */
else
{
/* when playing, display a special mouse pointer inside the playfield */
- if (game_status == GAME_MODE_PLAYING)
+ if (game_status == GAME_MODE_PLAYING
&& !tape.pausing
)
{
if (!playfield_cursor_set && cursor_inside_playfield &&
DelayReached(&playfield_cursor_delay, 1000))
{
if (!playfield_cursor_set && cursor_inside_playfield &&
DelayReached(&playfield_cursor_delay, 1000))
@@
-690,6
+690,7
@@
void HandleKey(Key key, int key_status)
case GAME_MODE_INFO:
switch(key)
{
case GAME_MODE_INFO:
switch(key)
{
+ case KSYM_space:
case KSYM_Return:
if (game_status == GAME_MODE_MAIN)
HandleMainMenu(0,0, 0,0, MB_MENU_CHOICE);
case KSYM_Return:
if (game_status == GAME_MODE_MAIN)
HandleMainMenu(0,0, 0,0, MB_MENU_CHOICE);
@@
-736,6
+737,7
@@
void HandleKey(Key key, int key_status)
case GAME_MODE_SCORES:
switch(key)
{
case GAME_MODE_SCORES:
switch(key)
{
+ case KSYM_space:
case KSYM_Return:
case KSYM_Escape:
game_status = GAME_MODE_MAIN;
case KSYM_Return:
case KSYM_Escape:
game_status = GAME_MODE_MAIN;