X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fevents.c;h=f3207c5116bba4b1aa78979f912ef89e419a4d8b;hb=322c8667eecfd313a24523a489b06b8454005d68;hp=b123c86d7f6667632eda8bfe7385da81ddbe2825;hpb=564a563aee2c9fdb37116d41342b36eda63c1f6a;p=rocksndiamonds.git diff --git a/src/events.c b/src/events.c index b123c86d..f3207c51 100644 --- 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 */ - 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)) @@ -646,7 +646,7 @@ void HandleKey(Key key, int key_status) if (setup.autorecord) TapeStartRecording(); -#if defined(PLATFORM_UNIX) +#if defined(NETWORK_AVALIABLE) if (options.network) SendToServer_StartPlaying(); else @@ -690,6 +690,7 @@ void HandleKey(Key key, int key_status) 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); @@ -736,6 +737,7 @@ void HandleKey(Key key, int key_status) case GAME_MODE_SCORES: switch(key) { + case KSYM_space: 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; + case KSYM_v: + printf("::: currently using game engine version %d\n", + game.engine_version); + break; + #if 0 case KSYM_z: @@ -917,7 +924,7 @@ void HandleNoEvent() return; } -#if defined(PLATFORM_UNIX) +#if defined(NETWORK_AVALIABLE) if (options.network) HandleNetworking(); #endif