projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup of some common and specific game engine function calls
[rocksndiamonds.git]
/
src
/
game_sp
/
main.c
diff --git
a/src/game_sp/main.c
b/src/game_sp/main.c
index 4486656ffd7864693ad47dec5923f471bb0c5d24..f9dcecc5b63d377473810d2a8611166c5b9bd0cd 100644
(file)
--- a/
src/game_sp/main.c
+++ b/
src/game_sp/main.c
@@
-58,11
+58,9
@@
void RedrawPlayfield_SP(boolean force_redraw)
RestorePlayfield();
UpdatePlayfield(force_redraw);
RestorePlayfield();
UpdatePlayfield(force_redraw);
-
- BackToFront_SP();
}
}
-void
Draw
GameDoorValues_SP()
+void
Update
GameDoorValues_SP()
{
game_sp.time_played = TimerVar / FRAMES_PER_SECOND;
game_sp.infotrons_still_needed = InfotronsNeeded;
{
game_sp.time_played = TimerVar / FRAMES_PER_SECOND;
game_sp.infotrons_still_needed = InfotronsNeeded;
@@
-81,8
+79,7
@@
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
RedrawPlayfield_SP(FALSE);
RedrawPlayfield_SP(FALSE);
- if (!warp_mode) /* do not redraw values in warp mode */
- DrawGameDoorValues_SP();
+ UpdateGameDoorValues_SP();
CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] == fiMurphy,
HighByte(PlayField16[MurphyPosIndex]) == 0x2A);
CheckSingleStepMode_SP(PlayField16[MurphyPosIndex] == fiMurphy,
HighByte(PlayField16[MurphyPosIndex]) == 0x2A);