X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_sp%2Finit.c;h=f79e20b0684034bddf3d0d8f2711de3c96ac5b85;hb=d45b35552f4ca1ada1266fb7e8b6968d878019a6;hp=8ac8804e9bea89880af855ede111cd0e09e5245b;hpb=18863a5655e9e07d548e2d673e7f82336703c8fb;p=rocksndiamonds.git diff --git a/src/game_sp/init.c b/src/game_sp/init.c index 8ac8804e..f79e20b0 100644 --- a/src/game_sp/init.c +++ b/src/game_sp/init.c @@ -3,11 +3,6 @@ #include "global.h" -#if 0 -Bitmap *sp_objects; - -#endif - Bitmap *screenBitmap; struct EngineSnapshotInfo_SP engine_snapshot_sp; @@ -40,22 +35,10 @@ void sp_open_all() Form_Load(); -#if 0 - SetBitmaps_SP(&sp_objects); -#endif - -#if 0 - /* too small for oversized levels, but too big for graphics performance */ - /* (the whole playfield is drawn/updated, not only visible/scrolled area) */ - /* !!! FIX THIS !!! */ - screenBitmap = CreateBitmap(60 * TILEX, 24 * TILEY, - DEFAULT_DEPTH); -#else screenBitmap = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY, DEFAULT_DEPTH); -#endif - DDSpriteBuffer_CreateFromFile("[NONE]", 16, 16); + DDSpriteBuffer_Init(); } void sp_close_all()