X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Finit.c;h=0d4c31396b6f0a3f6dd0b12b03ba3fd8af9c9663;hb=25c22434b11938e230719d6f73df4ed7813570be;hp=d0ccc09442237c90d84769f8b5433924844ca717;hpb=3ff2e8a0b5c27b99a9920bdf5ed82bc41bf40181;p=rocksndiamonds.git diff --git a/src/game_em/init.c b/src/game_em/init.c index d0ccc094..0d4c3139 100644 --- a/src/game_em/init.c +++ b/src/game_em/init.c @@ -13,9 +13,6 @@ Bitmap *sprBitmap; Bitmap *screenBitmap; -Pixmap objPixmap; -Pixmap sprPixmap; - char play[SAMPLE_MAX]; int play_x[SAMPLE_MAX]; int play_y[SAMPLE_MAX]; @@ -44,8 +41,7 @@ int open_all(void) void InitGfxBuffers_EM() { - ReCreateBitmap(&screenBitmap, MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY, - DEFAULT_DEPTH); + ReCreateBitmap(&screenBitmap, MAX_BUF_XSIZE * TILEX, MAX_BUF_YSIZE * TILEY); global_em_info.screenbuffer = screenBitmap; }