#ifndef IMPORT_BD_H
#define IMPORT_BD_H
+// ============================================================================
+// functions and definitions imported from main program to game_bd
+// ============================================================================
+
#include "../libgame/libgame.h"
#include "../game.h"
#include "export_bd.h"
-// ============================================================================
-// functions and definitions exported from main program to game_bd
-// ============================================================================
+// ----------------------------------------------------------------------------
+// imported functions
+// ----------------------------------------------------------------------------
void InitGraphicInfo_BD(void);
boolean has_crumbled_graphics;
boolean preserve_background;
- int unique_identifier; /* used to identify needed screen updates */
+ int unique_identifier; // used to identify needed screen updates
};
struct EngineSnapshotInfo_EM
#ifndef IMPORT_EM_H
#define IMPORT_EM_H
+// ============================================================================
+// functions and definitions imported from main program to game_em
+// ============================================================================
+
#include "../libgame/libgame.h"
#include "../game.h"
#include "export_em.h"
-// ============================================================================
-// functions and definitions exported from main program to game_em
-// ============================================================================
+// ----------------------------------------------------------------------------
+// imported functions
+// ----------------------------------------------------------------------------
void UpdateEngineValues(int, int, int, int);
// constant definitions
// ----------------------------------------------------------------------------
-/* values for native Emerald Mine game version */
+// values for native Emerald Mine game version
#define FILE_VERSION_EM_UNKNOWN 0
#define FILE_VERSION_EM_V1 1
#define FILE_VERSION_EM_V2 2
#define FILE_VERSION_EM_V3 3
-#define FILE_VERSION_EM_V4 4 /* (there really was no version 4) */
+#define FILE_VERSION_EM_V4 4 // (there really was no version 4)
#define FILE_VERSION_EM_V5 5
#define FILE_VERSION_EM_V6 6
#define FILE_VERSION_EM_ACTUAL FILE_VERSION_EM_V6
-/* screen sizes and positions for EM engine */
+// screen sizes and positions for EM engine
#define TILESIZE 32
#define MAX_BUF_XSIZE (SCR_FIELDX + 2 * CAVE_BUFFER_XOFFSET)
#define MAX_BUF_YSIZE (SCR_FIELDY + 2 * CAVE_BUFFER_YOFFSET)
-/* often used screen positions */
+// often used screen positions
extern int SX, SY;
#define SXSIZE (SCR_FIELDX * TILEX)
#define SYSIZE (SCR_FIELDY * TILEY)
-/* other settings */
+// other settings
#define PLAY_ELEMENT_SOUND FALSE
#ifndef IMPORT_MM_H
#define IMPORT_MM_H
+// ============================================================================
+// functions and definitions imported from main program to game_mm
+// ============================================================================
+
#include "../libgame/libgame.h"
#include "../conf_gfx.h"
#include "../game.h"
#include "export_mm.h"
-// ============================================================================
-// functions and definitions exported from main program to game_mm
-// ============================================================================
+// ----------------------------------------------------------------------------
+// imported functions
+// ----------------------------------------------------------------------------
void SetDrawtoField(int);
void BackToFront(void);
#ifndef IMPORT_SP_H
#define IMPORT_SP_H
+// ============================================================================
+// functions and definitions imported from main program to game_sp
+// ============================================================================
+
#include "../libgame/libgame.h"
#include "../conf_gfx.h"
#include "../game.h"
#include "export_sp.h"
-// ============================================================================
-// functions and definitions exported from main program to game_sp
-// ============================================================================
+// ----------------------------------------------------------------------------
+// imported functions
+// ----------------------------------------------------------------------------
void CheckSingleStepMode_SP(boolean, boolean);