projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20041129-2-src
[rocksndiamonds.git]
/
src
/
events.c
diff --git
a/src/events.c
b/src/events.c
index b123c86d7f6667632eda8bfe7385da81ddbe2825..f3207c5116bba4b1aa78979f912ef89e419a4d8b 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))
@@
-646,7
+646,7
@@
void HandleKey(Key key, int key_status)
if (setup.autorecord)
TapeStartRecording();
if (setup.autorecord)
TapeStartRecording();
-#if defined(
PLATFORM_UNIX
)
+#if defined(
NETWORK_AVALIABLE
)
if (options.network)
SendToServer_StartPlaying();
else
if (options.network)
SendToServer_StartPlaying();
else
@@
-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;
@@
-871,6
+873,11
@@
void HandleKey(Key key, int key_status)
printf("ScrollStepSize == %d (1/1)\n", ScrollStepSize);
break;
printf("ScrollStepSize == %d (1/1)\n", ScrollStepSize);
break;
+ case KSYM_v:
+ printf("::: currently using game engine version %d\n",
+ game.engine_version);
+ break;
+
#if 0
case KSYM_z:
#if 0
case KSYM_z:
@@
-917,7
+924,7
@@
void HandleNoEvent()
return;
}
return;
}
-#if defined(
PLATFORM_UNIX
)
+#if defined(
NETWORK_AVALIABLE
)
if (options.network)
HandleNetworking();
#endif
if (options.network)
HandleNetworking();
#endif