projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20050103-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
input.c
diff --git
a/src/game_em/input.c
b/src/game_em/input.c
index 98a896e191209aae6604c238e9125e82f0c25276..f123b4377a748dcc86bdbfc8166f0f90a37e93c7 100644
(file)
--- a/
src/game_em/input.c
+++ b/
src/game_em/input.c
@@
-70,7
+70,11
@@
void InitGameEngine_EM()
void GameActions_EM(byte action)
{
static unsigned long game_frame_delay = 0;
void GameActions_EM(byte action)
{
static unsigned long game_frame_delay = 0;
+#if 1
+ unsigned long game_frame_delay_value = getGameFrameDelay_EM(20);
+#else
unsigned long game_frame_delay_value = getGameFrameDelay_EM(25);
unsigned long game_frame_delay_value = getGameFrameDelay_EM(25);
+#endif
#if 0
/* this is done in screens.c/HandleGameActions() by calling BackToFront() */
#if 0
/* this is done in screens.c/HandleGameActions() by calling BackToFront() */
@@
-100,8
+104,8
@@
void GameActions_EM(byte action)
synchro_3();
sound_play();
synchro_3();
sound_play();
- DrawGameDoorValues_EM(lev.required, ply1.dynamite, lev.score,
-
(lev.time + 4) / 5
);
+ if (game_frame_delay_value > 0) /* do not redraw values in warp mode */
+
DrawGameDoorValues_EM(
);
}
}
}
}