projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100624-3-src
[rocksndiamonds.git]
/
src
/
game_sp
/
main.c
diff --git
a/src/game_sp/main.c
b/src/game_sp/main.c
index a1fbe44aced5b5aa73472c8b6875d77bcebf5be1..4fe06feb1a44fa796b6b3dbc1dd21d9b9749db7e 100644
(file)
--- a/
src/game_sp/main.c
+++ b/
src/game_sp/main.c
@@
-66,10
+66,20
@@
void RedrawPlayfield_SP(boolean force_redraw)
void DrawGameDoorValues_SP()
{
void DrawGameDoorValues_SP()
{
- game_sp.time_played = TimerVar / setup.game_frame_delay;
+#if 1
+ // game_sp.time_played = TimerVar / FRAMES_PER_SECOND_SP;
+ game_sp.time_played = TimerVar / FRAMES_PER_SECOND;
+#else
+ game_sp.time_played = TimerVar * setup.game_frame_delay / 1000;
+#endif
game_sp.infotrons_still_needed = InfotronsNeeded;
game_sp.red_disk_count = RedDiskCount;
game_sp.score = 0; // (currently no score in Supaplex engine)
game_sp.infotrons_still_needed = InfotronsNeeded;
game_sp.red_disk_count = RedDiskCount;
game_sp.score = 0; // (currently no score in Supaplex engine)
+
+#if 0
+ printf("::: %d, %d => %d\n",
+ TimerVar, setup.game_frame_delay, game_sp.time_played);
+#endif
}
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)
}
void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode)