rnd-19980926
[rocksndiamonds.git] / src / main.c
index b52761b3722d9f63801da2c622c14f98edcdfec6..2a8af5d08dce96805db896728142e65738cdedcc 100644 (file)
@@ -77,6 +77,7 @@ int           MovDir[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            MovDelay[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            Store[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            Store2[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
+int            StorePlayer[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            Frame[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            Stop[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
 int            JustHit[MAX_LEV_FIELDX][MAX_LEV_FIELDY];
@@ -91,8 +92,6 @@ int           FX = SX, FY = SY, ScreenMovPos = 0, ScrollStepSize = TILEX/8;
 int            GameFrameDelay = GAME_FRAME_DELAY, MoveSpeed = 8;
 int            BX1 = 0, BY1 = 0, BX2 = SCR_FIELDX-1, BY2 = SCR_FIELDY-1;
 int            JX,JY, lastJX,lastJY, ZX,ZY, ExitX,ExitY;
-int            PlayerMovDir, PlayerMovPos, PlayerPushing;
-int            PlayerFrame, PlayerGfxPos;
 int            PlayerGone, LevelSolved, GameOver;
 int            FrameCounter, TimeFrames, TimeLeft;
 int            MampferNr, SiebAktiv;
@@ -100,7 +99,7 @@ int          MampferNr, SiebAktiv;
 struct LevelDirInfo    leveldir[MAX_LEVDIR_ENTRIES];
 struct LevelInfo       level;
 struct PlayerInfo      stored_player[MAX_PLAYERS+1];
-struct PlayerInfo      *local_player, *actual_player;
+struct PlayerInfo      *local_player, *player;
 struct HiScore         highscore[MAX_SCORE_ENTRIES];
 struct SoundInfo       Sound[NUM_SOUNDS];
 struct RecordingInfo   tape;