X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftools.c;h=3bdf371f09e197e831f5e95ad620ddb7c7f3e937;hp=74e4c8d8dbee2eab499ad784424dd6655ebb8684;hb=1fcb3ddbb8404effdcfa5ebbd53d3ff5009260f6;hpb=c74a890afba46c41f6ba6ef691bc89da0dd0135c diff --git a/src/tools.c b/src/tools.c index 74e4c8d8..3bdf371f 100644 --- a/src/tools.c +++ b/src/tools.c @@ -63,6 +63,12 @@ void DumpTile(int x, int y) int sx = SCREENX(x); int sy = SCREENY(y); + if (level.game_engine_type == GAME_ENGINE_TYPE_EM) + { + x--; + y--; + } + printf_line("-", 79); printf("Field Info: SCREEN(%d, %d), LEVEL(%d, %d)\n", sx, sy, x, y); printf_line("-", 79); @@ -5171,6 +5177,7 @@ int getNumActivePlayers_EM() return num_players; } +#if 1 int getGameFrameDelay_EM(int native_em_game_frame_delay) { int game_frame_delay_value; @@ -5185,6 +5192,7 @@ int getGameFrameDelay_EM(int native_em_game_frame_delay) return game_frame_delay_value; } +#endif unsigned int InitRND(long seed) {