X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Fmain.c;h=9918892c00c6b7c814775755132fc82d0ec4a0cf;hp=2db25f2eecdc237fa2b245c3c762e262836bd6d9;hb=cf5b3a1e9077e88eb40ce2fb59e985a0ae037c84;hpb=b7d31643c9c84104fb3ebef778e545928610ff65 diff --git a/src/main.c b/src/main.c index 2db25f2e..9918892c 100644 --- a/src/main.c +++ b/src/main.c @@ -29,7 +29,7 @@ Pixmap clipmask[NUM_PIXMAPS]; XpmAttributes xpm_att[NUM_PICTURES]; #endif -Drawable drawto, drawto_field, backbuffer; +Drawable drawto, drawto_field, backbuffer, fieldbuffer; Colormap cmap; int sound_pipe[2]; @@ -80,8 +80,8 @@ long Elementeigenschaften[MAX_ELEMENTS]; int level_nr, leveldir_nr, num_leveldirs; int lev_fieldx,lev_fieldy, scroll_x,scroll_y; -int JX,JY, ZX,ZY, ExitX,ExitY; -int PlayerMovDir, PlayerFrame, PlayerPushing; +int JX,JY, JX2,JY2, ZX,ZY, ExitX,ExitY; +int PlayerMovDir, PlayerMovPos, PlayerFrame, PlayerPushing; int PlayerGone,LevelSolved,GameOver; int FrameCounter,TimeFrames,TimeLeft,Score; int Gems,SokobanFields,Lights,Friends;