projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20140514-2-src
[rocksndiamonds.git]
/
src
/
game.c
diff --git
a/src/game.c
b/src/game.c
index 335bfdea4c08869fc32ee8f4efd82b9e35e19a64..9e6ecbd9ef590fd16e8cd8eda37802a8a1bd645c 100644
(file)
--- a/
src/game.c
+++ b/
src/game.c
@@
-4507,15
+4507,19
@@
void InitGame()
{
InitGameEngine_EM();
{
InitGameEngine_EM();
+#if 0
/* blit playfield from scroll buffer to normal back buffer for fading in */
BlitScreenToBitmap_EM(backbuffer);
/* blit playfield from scroll buffer to normal back buffer for fading in */
BlitScreenToBitmap_EM(backbuffer);
+#endif
}
else if (level.game_engine_type == GAME_ENGINE_TYPE_SP)
{
InitGameEngine_SP();
}
else if (level.game_engine_type == GAME_ENGINE_TYPE_SP)
{
InitGameEngine_SP();
+#if 0
/* blit playfield from scroll buffer to normal back buffer for fading in */
BlitScreenToBitmap_SP(backbuffer);
/* blit playfield from scroll buffer to normal back buffer for fading in */
BlitScreenToBitmap_SP(backbuffer);
+#endif
}
else
{
}
else
{
@@
-4526,16
+4530,26
@@
void InitGame()
if (game.timegate_time_left == 0)
CloseAllOpenTimegates();
if (game.timegate_time_left == 0)
CloseAllOpenTimegates();
+#if 0
+ /* blit playfield from scroll buffer to normal back buffer for fading in */
#if NEW_TILESIZE
BlitScreenToBitmap(backbuffer);
#else
#if NEW_TILESIZE
BlitScreenToBitmap(backbuffer);
#else
- /* blit playfield from scroll buffer to normal back buffer for fading in */
if (setup.soft_scrolling)
BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY);
#endif
if (setup.soft_scrolling)
BlitBitmap(fieldbuffer, backbuffer, FX, FY, SXSIZE, SYSIZE, SX, SY);
#endif
+#endif
+#if 0
redraw_mask |= REDRAW_FROM_BACKBUFFER;
redraw_mask |= REDRAW_FROM_BACKBUFFER;
+#endif
}
}
+#if 1
+ /* blit playfield from scroll buffer to normal back buffer for fading in */
+ BlitScreenToBitmap(backbuffer);
+
+ redraw_mask |= REDRAW_FROM_BACKBUFFER;
+#endif
/* !!! FIX THIS (END) !!! */
#if 1
/* !!! FIX THIS (END) !!! */
#if 1