projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20090721-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
init.c
diff --git
a/src/game_sp/init.c
b/src/game_sp/init.c
index 1c36d12bf0efa5dcb39c46059e77a3948e9ae4bf..5a234b3c8150953f63b859d1aa1f174707e8d3f5 100644
(file)
--- a/
src/game_sp/init.c
+++ b/
src/game_sp/init.c
@@
-8,12
+8,33
@@
Bitmap *sp_objects;
Bitmap *screenBitmap;
Bitmap *screenBitmap;
+static void BlitScreenToBitmap_SP__Stage_Blt()
+{
+ BlitScreenToBitmap_SP(window);
+}
+
void sp_open_all()
{
void sp_open_all()
{
+#if 1
+ printf("::: sp_open_all ...\n");
+#endif
+
+ Form_Load();
+
SetBitmaps_SP(&sp_objects);
screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
DEFAULT_DEPTH);
SetBitmaps_SP(&sp_objects);
screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
DEFAULT_DEPTH);
+
+ StretchedSprites.BltEx = &DDSpriteBuffer_BltEx;
+
+ DDSpriteBuffer_CreateFromFile("[NONE]", 16, 16);
+
+ Stage.Blt = &BlitScreenToBitmap_SP__Stage_Blt;
+
+#if 1
+ printf("::: sp_open_all done\n");
+#endif
}
void sp_close_all()
}
void sp_close_all()