X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fgame_sp%2Finit.c;h=d8e4597dd06a20079cbee3b1749a519e98cbf1aa;hp=a8e672769bc70bac22bb95f7ade02ee9a71af9de;hb=475d747d7f6122bf9b62ccf1518fc7e8fc0f201c;hpb=97fb6c2a140f361991541bcf5a5c1e5d18deaf74 diff --git a/src/game_sp/init.c b/src/game_sp/init.c index a8e67276..d8e4597d 100644 --- a/src/game_sp/init.c +++ b/src/game_sp/init.c @@ -10,20 +10,6 @@ struct EngineSnapshotInfo_SP engine_snapshot_sp; void sp_open_all() { Form_Load(); - -#if 0 - printf("::: open 1: %d, %d [%08x]\n", FXSIZE, FYSIZE, bitmap_db_field_sp); - - /* - bitmap_db_field_sp = CreateBitmap(FXSIZE, FYSIZE, DEFAULT_DEPTH); - bitmap_db_field_sp = CreateBitmap(MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY, - DEFAULT_DEPTH); - */ - - ReCreateBitmap(&bitmap_db_field_sp, FXSIZE, FYSIZE, DEFAULT_DEPTH); - - printf("::: open 2: %d, %d [%08x]\n", FXSIZE, FYSIZE, bitmap_db_field_sp); -#endif } void sp_close_all() @@ -32,18 +18,7 @@ void sp_close_all() void InitGfxBuffers_SP() { -#if 1 - printf("::: init 1: %d, %d [%08x]\n", FXSIZE, FYSIZE, bitmap_db_field_sp); - - /* - ReCreateBitmap(&bitmap_db_field_sp, MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY, - DEFAULT_DEPTH); - */ - ReCreateBitmap(&bitmap_db_field_sp, FXSIZE, FYSIZE, DEFAULT_DEPTH); - - printf("::: init 2: %d, %d [%08x]\n", FXSIZE, FYSIZE, bitmap_db_field_sp); -#endif } unsigned int InitEngineRandom_SP(long seed)