projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20090719-2-src
[rocksndiamonds.git]
/
src
/
game_sp
/
init.c
diff --git
a/src/game_sp/init.c
b/src/game_sp/init.c
index 1c36d12bf0efa5dcb39c46059e77a3948e9ae4bf..0f380e5845e4640cc442094f0a806f63f43b27a8 100644
(file)
--- a/
src/game_sp/init.c
+++ b/
src/game_sp/init.c
@@
-8,12
+8,23
@@
Bitmap *sp_objects;
Bitmap *screenBitmap;
Bitmap *screenBitmap;
+static void BlitScreenToBitmap_SP__Stage_Blt()
+{
+ BlitScreenToBitmap_SP(window);
+}
+
void sp_open_all()
{
SetBitmaps_SP(&sp_objects);
screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
DEFAULT_DEPTH);
void sp_open_all()
{
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;
}
void sp_close_all()
}
void sp_close_all()