// external functions and definitions imported from main program to game_em
// ============================================================================
-#include "../engines.h"
+#include "import_em.h"
// ============================================================================
// functions and definitions that are exported from game_em to main program
// ============================================================================
-#include "export.h"
+#include "export_em.h"
// ============================================================================
#define DISPLAY_TIME(x) ROUNDED_DIVIDE(x, FRAMES_PER_SECOND)
+#define CAVE_POS_X(x) ((x) - lev.left)
+#define CAVE_POS_Y(x) ((x) - lev.top)
+
// ----------------------------------------------------------------------------
// data structure definitions