projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5d264f3
)
improved debug output for level/tape file, game and engine versions
author
Holger Schemel
<info@artsoft.org>
Mon, 27 Apr 2020 21:53:00 +0000
(23:53 +0200)
committer
Holger Schemel
<info@artsoft.org>
Tue, 19 May 2020 16:21:20 +0000
(18:21 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index e22a7367d4e296ffc6a0975c2723db1eed6dbdcc..4f7f613787a791e589a81ae3c838ea8920d300f4 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-2840,6
+2840,19
@@
static void InitGameEngine(void)
game.team_mode = (num_players > 1);
}
game.team_mode = (num_players > 1);
}
+#if 0
+ printf("level %d: level.game_version == %06d\n", level_nr,
+ level.game_version);
+ printf(" tape.file_version == %06d\n",
+ tape.file_version);
+ printf(" tape.game_version == %06d\n",
+ tape.game_version);
+ printf(" tape.engine_version == %06d\n",
+ tape.engine_version);
+ printf(" => game.engine_version == %06d [tape mode: %s]\n",
+ game.engine_version, (tape.playing ? "PLAYING" : "RECORDING"));
+#endif
+
// --------------------------------------------------------------------------
// set flags for bugs and changes according to active game engine version
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
// set flags for bugs and changes according to active game engine version
// --------------------------------------------------------------------------
@@
-2995,14
+3008,6
@@
static void InitGameEngine(void)
if (use_amoeba_dropping_cannot_fall_bug)
SET_PROPERTY(EL_AMOEBA_DROPPING, EP_CAN_FALL, FALSE);
if (use_amoeba_dropping_cannot_fall_bug)
SET_PROPERTY(EL_AMOEBA_DROPPING, EP_CAN_FALL, FALSE);
-#if 0
- printf("level %d: level version == %06d\n", level_nr, level.game_version);
- printf(" tape version == %06d [%s] [file: %06d]\n",
- tape.engine_version, (tape.playing ? "PLAYING" : "RECORDING"),
- tape.file_version);
- printf(" => game.engine_version == %06d\n", game.engine_version);
-#endif
-
// ---------- initialize player's initial move delay ------------------------
// dynamically adjust player properties according to level information
// ---------- initialize player's initial move delay ------------------------
// dynamically adjust player properties according to level information