// Rocks'n'Diamonds - McDuffin Strikes Back!
// ----------------------------------------------------------------------------
// (c) 1995-2024 by Artsoft Entertainment
-// Holger Schemel
-// info@artsoft.org
-// https://www.artsoft.org/
+// Holger Schemel
+// info@artsoft.org
+// https://www.artsoft.org/
// ----------------------------------------------------------------------------
// export_bd.h
// ============================================================================
#include "bd_cave.h"
#include "bd_elements.h"
+#include "bd_gameplay.h"
// ----------------------------------------------------------------------------
struct GameInfo_BD
{
+ GdGame *game;
+
+ unsigned int random_seed;
+
boolean level_solved;
boolean game_over;
+ boolean cover_screen;
// needed for updating panel
int time_played;
struct LevelInfo_BD
{
- int width;
- int height;
+ GdCave *cave;
+ GdReplay *replay;
- int cave[BD_MAX_CAVE_WIDTH][BD_MAX_CAVE_HEIGHT];
+ int cave_nr;
+ int level_nr;
+
+ boolean loaded_from_caveset;
};
struct EngineSnapshotInfo_BD
extern struct LevelInfo_BD native_bd_level;
extern struct EngineSnapshotInfo_BD engine_snapshot_bd;
+int map_action_BD_to_RND(int);
+
+void setLevelInfoToDefaults_BD_Ext(int, int);
void setLevelInfoToDefaults_BD(void);
#endif // EXPORT_BD_H