#ifndef LEVEL_H
#define LEVEL_H
+#include "main_em.h"
#include "tile.h"
-#define WIDTH 102
-#define HEIGHT 102
+#define WIDTH EM_MAX_CAVE_WIDTH
+#define HEIGHT EM_MAX_CAVE_HEIGHT
+
+#if 0
struct LEVEL
{
/* fill in all below /every/ time you read a level */
unsigned int alien_score; /* alien popped by stone/spring score */
- unsigned int ameuba_time; /* ameuba speed */
+ unsigned int amoeba_time; /* amoeba speed */
unsigned int android_move_cnt; /* android move time counter */
unsigned int android_move_time; /* android move reset time */
unsigned int android_clone_cnt; /* android clone time counter */
unsigned joy_spin:1;
};
+#endif
+
extern unsigned long Random;
extern struct PLAYER ply1;
extern struct PLAYER ply2;
extern struct LEVEL lev;
+extern struct LevelInfo_EM native_em_level;
+extern struct GraphicInfo_EM graphic_info_em_object[TILE_MAX][8];
+extern struct GraphicInfo_EM graphic_info_em_player[2][SPR_MAX][8];
+
extern unsigned short **Boom;
extern unsigned short **Cave;
extern unsigned short **Next;