#define MAX_NUM_KEYS 8
+struct GamePanelInfo
+{
+ struct XY level;
+ struct XY gems;
+ struct XY inventory;
+ struct XY keys;
+ struct XY score;
+ struct XY time;
+};
+
struct GameInfo
{
+ /* values for control panel */
+ struct GamePanelInfo panel;
+
/* values for engine initialization */
int default_push_delay_fixed;
int default_push_delay_random;
boolean LevelSolved, GameOver;
+ boolean LevelSolved_GameEnd;
+ boolean LevelSolved_SaveTape;
+ boolean LevelSolved_SaveScore;
+
int last_move_dir;
+ boolean is_active;
+
boolean is_waiting;
boolean is_moving;
boolean is_auto_moving;
void UpdateEngineValues(int, int);
void GameWon(void);
+void GameEnd(void);
void InitPlayerGfxAnimation(struct PlayerInfo *, int, int);
void Moving2Blocked(int, int, int *, int *);