X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Finit.c;h=d8e4597dd06a20079cbee3b1749a519e98cbf1aa;hb=475d747d7f6122bf9b62ccf1518fc7e8fc0f201c;hp=32a832c200e45ce21ed4f9050974c54dbfa37e26;hpb=35b995abd3183999201d9581f7674de1475dc169;p=rocksndiamonds.git diff --git a/src/game_sp/init.c b/src/game_sp/init.c index 32a832c2..d8e4597d 100644 --- a/src/game_sp/init.c +++ b/src/game_sp/init.c @@ -3,22 +3,24 @@ #include "global.h" -Bitmap *screenBitmap; +Bitmap *bitmap_db_field_sp; 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 InitGfxBuffers_SP() +{ + ReCreateBitmap(&bitmap_db_field_sp, FXSIZE, FYSIZE, DEFAULT_DEPTH); +} + unsigned int InitEngineRandom_SP(long seed) { if (seed == NEW_RANDOMIZE)