#ifndef GAME_MM_EXPORT_H
#define GAME_MM_EXPORT_H
-/* ========================================================================= */
-/* functions and definitions exported from game_mm to main program */
-/* ========================================================================= */
+// ============================================================================
+// functions and definitions exported from game_mm to main program
+// ============================================================================
-/* ------------------------------------------------------------------------- */
-/* constant definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// constant definitions
+// ----------------------------------------------------------------------------
#define MM_MAX_PLAYFIELD_WIDTH MAX_PLAYFIELD_WIDTH
#define MM_MAX_PLAYFIELD_HEIGHT MAX_PLAYFIELD_HEIGHT
#define EL_MM_DUMMY_START_NATIVE 700
#define EL_MM_DUMMY_END_NATIVE 709
-/* elements to be specially mapped */
+// elements to be specially mapped
#define EL_MM_EMPTY_NATIVE 0
#define EL_DF_EMPTY_NATIVE 304
-/* sounds */
+// sounds
#define SND_MM_GAME_LEVELTIME_CHARGING 0
#define SND_MM_GAME_HEALTH_CHARGING 1
-/* ------------------------------------------------------------------------- */
-/* data structure definitions */
-/* ------------------------------------------------------------------------- */
-
-struct GlobalInfo_MM
-{
-};
+// ----------------------------------------------------------------------------
+// data structure definitions
+// ----------------------------------------------------------------------------
struct CycleList
{
struct LevelInfo_MM
{
- int file_version; /* version of file the level was stored with */
- int game_version; /* version of game engine to play this level */
- boolean encoding_16bit_field; /* level contains 16-bit elements */
+ int file_version; // version of file the level was stored with
+ int game_version; // version of game engine to play this level
+ boolean encoding_16bit_field; // level contains 16-bit elements
int fieldx;
int fieldy;
short field[MAX_PLAYFIELD_WIDTH][MAX_PLAYFIELD_HEIGHT];
};
-struct GraphicInfo_MM
-{
-};
-
struct EngineSnapshotInfo_MM
{
struct GameInfo_MM game_mm;
};
-/* ------------------------------------------------------------------------- */
-/* exported functions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// exported functions
+// ----------------------------------------------------------------------------
-extern struct GlobalInfo_MM global_mm_info;
extern struct GameInfo_MM game_mm;
extern struct LevelInfo_MM native_mm_level;
extern struct EngineSnapshotInfo_MM engine_snapshot_mm;
void GameActions_MM(struct MouseActionInfo, boolean);
void DrawLaser_MM(void);
+void DrawTileCursor_MM(int, boolean);
boolean ClickElement(int, int, int);
int getButtonFromTouchPosition(int, int, int, int);
-#endif /* GAME_MM_EXPORT_H */
+#endif // GAME_MM_EXPORT_H