+2006-08-29
+ * fixed bug with redrawing screen in fullscreen mode after quick tape
+ reloading when using the EMC game engine
+
2006-08-28
* fixed bug in GameWon() when level contains no exit (like in Sokoban)
-#define COMPILE_DATE_STRING "[2006-08-28 22:47]"
+#define COMPILE_DATE_STRING "[2006-08-29 19:52]"
printf("::: LOADING ... : %d RNDs\n", num_random_calls);
#endif
- InitRND(tape.random_seed);
- for (i = 0; i < num_random_calls; i++)
- RND(1);
+ if (level.game_engine_type == GAME_ENGINE_TYPE_RND)
+ {
+ InitRND(tape.random_seed);
+ for (i = 0; i < num_random_calls; i++)
+ RND(1);
+ }
if (game.num_random_calls != num_random_calls)
{
if (game_status != GAME_MODE_PLAYING && game_status != GAME_MODE_MAIN)
return;
- if (1 && CheckEngineSnapshot())
+ if (CheckEngineSnapshot())
{
TapeStartGamePlaying();
level.game_engine_type == GAME_ENGINE_TYPE_EM)
{
/* currently there is no partial redraw -- always redraw whole playfield */
-
RedrawPlayfield_EM(TRUE);
/* blit playfield from scroll buffer to normal back buffer for fading in */
}
}
+ if (force_redraw)
+ {
+ x = gfx.sx;
+ y = gfx.sy;
+ width = gfx.sxsize;
+ height = gfx.sysize;
+ }
+
BlitBitmap(drawto, window, x, y, width, height, x, y);
}