projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070913-1-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 31aca3936131a87b1fea9e796b16fb096683d25a..2cd5f41f7c9b42d5e41e3d761fb8affab20bda05 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2662,6
+2662,15
@@
void DisplayGameControlValues()
game_status = GAME_MODE_PLAYING;
}
game_status = GAME_MODE_PLAYING;
}
+void UpdateAndDisplayGameControlValues()
+{
+ if (tape.warp_forward)
+ return;
+
+ UpdateGameControlValues();
+ DisplayGameControlValues();
+}
+
void DrawGameValue_Emeralds(int value)
{
struct TextPosInfo *pos = &game.panel.gems;
void DrawGameValue_Emeralds(int value)
{
struct TextPosInfo *pos = &game.panel.gems;
@@
-4213,8
+4222,12
@@
void InitGame()
SetPanelBackground();
SetDrawBackgroundMask(REDRAW_DOOR_1);
SetPanelBackground();
SetDrawBackgroundMask(REDRAW_DOOR_1);
+#if 1
+ UpdateAndDisplayGameControlValues();
+#else
UpdateGameDoorValues();
DrawGameDoorValues();
UpdateGameDoorValues();
DrawGameDoorValues();
+#endif
if (!game.restart_level)
{
if (!game.restart_level)
{
@@
-11421,8
+11434,12
@@
static void CheckLevelTime()
DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
}
DrawVideoDisplay(VIDEO_STATE_TIME_ON, TapeTime);
}
+#if 1
+ UpdateAndDisplayGameControlValues();
+#else
UpdateGameDoorValues();
DrawGameDoorValues();
UpdateGameDoorValues();
DrawGameDoorValues();
+#endif
}
void AdvanceFrameAndPlayerCounters(int player_nr)
}
void AdvanceFrameAndPlayerCounters(int player_nr)