#ifndef MAIN_EM_H
#define MAIN_EM_H
-/* ========================================================================= */
-/* external functions and definitions imported from main program to game_em */
-/* ========================================================================= */
+// ============================================================================
+// external functions and definitions imported from main program to game_em
+// ============================================================================
#include "../engines.h"
-/* ========================================================================= */
-/* functions and definitions that are exported from game_em to main program */
-/* ========================================================================= */
+// ============================================================================
+// functions and definitions that are exported from game_em to main program
+// ============================================================================
#include "export.h"
-/* ========================================================================= */
-/* internal functions and definitions that are not exported to main program */
-/* ========================================================================= */
+// ============================================================================
+// internal functions and definitions that are not exported to main program
+// ============================================================================
#include "global.h"
#include "sample.h"
-/* ------------------------------------------------------------------------- */
-/* constant definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// constant definitions
+// ----------------------------------------------------------------------------
/* values for native Emerald Mine game version */
#define FILE_VERSION_EM_UNKNOWN 0
#define PLAY_ELEMENT_SOUND FALSE
-/* ------------------------------------------------------------------------- */
-/* macro function definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// macro function definitions
+// ----------------------------------------------------------------------------
#define ROUNDED_DIVIDE(x, y) (((x) + (y) - 1) / (y))
#define DISPLAY_TIME(x) ROUNDED_DIVIDE(x, FRAMES_PER_SECOND)
-/* ------------------------------------------------------------------------- */
-/* data structure definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// data structure definitions
+// ----------------------------------------------------------------------------
-/* ------------------------------------------------------------------------- */
-/* exported variables */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// exported variables
+// ----------------------------------------------------------------------------
extern unsigned int RandomEM;
extern Bitmap *ttlBitmap;
extern Bitmap *botBitmap;
-extern Pixmap screenPixmap;
-extern Pixmap scorePixmap;
-extern Pixmap spriteBitmap;
-extern Pixmap objmaskBitmap;
-extern Pixmap sprmaskBitmap;
+// ----------------------------------------------------------------------------
+// exported functions
+// ----------------------------------------------------------------------------
-extern GC spriteGC;
-
-
-/* ------------------------------------------------------------------------- */
-/* exported functions */
-/* ------------------------------------------------------------------------- */
-
-#endif /* MAIN_EM_H */
+#endif // MAIN_EM_H