projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100418-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
init.c
diff --git
a/src/game_sp/init.c
b/src/game_sp/init.c
index a1312caccfcf98bd1bf5d462c90195ee0838495e..d8e4597dd06a20079cbee3b1749a519e98cbf1aa 100644
(file)
--- a/
src/game_sp/init.c
+++ b/
src/game_sp/init.c
@@
-3,31
+3,24
@@
#include "global.h"
#include "global.h"
-Bitmap *
screenBitma
p;
+Bitmap *
bitmap_db_field_s
p;
struct EngineSnapshotInfo_SP engine_snapshot_sp;
struct EngineSnapshotInfo_SP engine_snapshot_sp;
-static void init_global_values()
-{
- menBorder = False;
-}
-
void sp_open_all()
{
void sp_open_all()
{
- init_global_values();
-
Form_Load();
Form_Load();
-
- screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY,
- DEFAULT_DEPTH);
-
- DDSpriteBuffer_Init();
}
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)
@@
-93,8
+86,6
@@
void SaveEngineSnapshotValues_SP()
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMinY));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMaxX));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMaxY));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMinY));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMaxX));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayMaxY));
- SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayWidth));
- SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(DisplayHeight));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(InfotronsNeeded));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(KillMurphyFlag));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(InfotronsNeeded));
SaveEngineSnapshotBuffer(ARGS_ADDRESS_AND_SIZEOF(KillMurphyFlag));