projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed several bugs with shared playfield bitmap in MM game engine
[rocksndiamonds.git]
/
src
/
game_mm
/
mm_init.c
diff --git
a/src/game_mm/mm_init.c
b/src/game_mm/mm_init.c
index a82b61df28d21917bb3a6258b2bda0e7e62c1f5d..d982d190dcbb0cffda52ef888e7d5f74d3346cb9 100644
(file)
--- a/
src/game_mm/mm_init.c
+++ b/
src/game_mm/mm_init.c
@@
-14,9
+14,16
@@
#include "mm_main.h"
#include "mm_main.h"
+Bitmap *drawto_mm;
+
struct EngineSnapshotInfo_MM engine_snapshot_mm;
struct EngineSnapshotInfo_MM engine_snapshot_mm;
+void InitGfxBuffers_MM(void)
+{
+ ReCreateBitmap(&drawto_mm, video.width, video.height);
+}
+
unsigned int InitEngineRandom_MM(int seed)
{
return InitEngineRandom(seed);
unsigned int InitEngineRandom_MM(int seed)
{
return InitEngineRandom(seed);