projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100619-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
init.c
diff --git
a/src/game_sp/init.c
b/src/game_sp/init.c
index 32a832c200e45ce21ed4f9050974c54dbfa37e26..d8e4597dd06a20079cbee3b1749a519e98cbf1aa 100644
(file)
--- a/
src/game_sp/init.c
+++ b/
src/game_sp/init.c
@@
-3,22
+3,24
@@
#include "global.h"
#include "global.h"
-Bitmap *
screenBitma
p;
+Bitmap *
bitmap_db_field_s
p;
struct EngineSnapshotInfo_SP engine_snapshot_sp;
void sp_open_all()
{
Form_Load();
struct EngineSnapshotInfo_SP engine_snapshot_sp;
void sp_open_all()
{
Form_Load();
-
- screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
- DEFAULT_DEPTH);
}
void sp_close_all()
{
}
}
void sp_close_all()
{
}
+void InitGfxBuffers_SP()
+{
+ ReCreateBitmap(&bitmap_db_field_sp, FXSIZE, FYSIZE, DEFAULT_DEPTH);
+}
+
unsigned int InitEngineRandom_SP(long seed)
{
if (seed == NEW_RANDOMIZE)
unsigned int InitEngineRandom_SP(long seed)
{
if (seed == NEW_RANDOMIZE)