added more support for native Boulder Dash game engine code
[rocksndiamonds.git] / src / game_bd / export.h
index 54a85d5aee5cf9167fc6e7bd7f13e05979751365..07d3ff3f12b0c51050e3dd4a392072c4ef62a515 100644 (file)
@@ -5,11 +5,13 @@
 // functions and definitions exported from game_bd to main program
 // ============================================================================
 
+
 // ----------------------------------------------------------------------------
 // constant definitions
 // ----------------------------------------------------------------------------
 
-// ...
+#define BD_MAX_CAVE_WIDTH              MAX_PLAYFIELD_WIDTH
+#define BD_MAX_CAVE_HEIGHT             MAX_PLAYFIELD_HEIGHT
 
 
 // ----------------------------------------------------------------------------
 
 struct GameInfo_BD
 {
+  boolean level_solved;
+  boolean game_over;
+
+  // needed for updating panel
+  int time_played;
+  int gems_still_needed;
+  int score;
 };
 
 struct LevelInfo_BD
 {
+  int width;
+  int height;
+
+  int cave[BD_MAX_CAVE_WIDTH][BD_MAX_CAVE_HEIGHT];
 };
 
 struct EngineSnapshotInfo_BD