#ifndef EXPORT_H
#define EXPORT_H
-/* ========================================================================= */
-/* functions and definitions exported from game_em to main program */
-/* ========================================================================= */
+// ============================================================================
+// functions and definitions exported from game_em to main program
+// ============================================================================
-/* ------------------------------------------------------------------------- */
-/* constant definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// constant definitions
+// ----------------------------------------------------------------------------
/* define these for backwards compatibility */
#define EM_ENGINE_BAD_ROLL
};
-/* ------------------------------------------------------------------------- */
-/* data structure definitions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// data structure definitions
+// ----------------------------------------------------------------------------
struct LEVEL
{
struct GameInfo_EM
{
+ boolean level_solved;
+ boolean game_over;
+
boolean any_player_moving;
boolean any_player_snapping;
};
-/* ------------------------------------------------------------------------- */
-/* exported functions */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// exported functions
+// ----------------------------------------------------------------------------
extern struct GlobalInfo_EM global_em_info;
extern struct GameInfo_EM game_em;
void tab_generate(void);
void tab_generate_graphics_info_em(void);
-#endif /* EXPORT_H */
+#endif // EXPORT_H