1 
2 #ifndef _MAPRECORD_H
3 #define _MAPRECORD_H
4 
5 #include <cstdint>
6 
7 #define MAX_STAGES 120
8 struct MapRecord
9 {
10   char filename[32];
11   char stagename[35];
12 
13   uint8_t tileset;
14   uint8_t bg_no;
15   uint8_t scroll_type;
16   uint8_t bossNo;
17   uint8_t NPCset1;
18   uint8_t NPCset2;
19 };
20 extern MapRecord stages[MAX_STAGES];
21 extern int num_stages;
22 
23 #define STAGE_SAND 10
24 #define STAGE_START_POINT 13
25 #define STAGE_IRONH 31
26 #define STAGE_BOULDER_CHAMBER 44
27 #define STAGE_MAZE_M 45
28 #define STAGE_ALMOND 47
29 #define STAGE_WATERWAY 48
30 #define STAGE_KINGS_TABLE 65
31 #define STAGE_HELL1 80
32 #define STAGE_HELL2 81
33 #define STAGE_HELL3 82
34 #define STAGE_HELL4 84
35 #define STAGE_HELL42 85
36 #define STAGE_STATUE_CHAMBER 86
37 #define STAGE_SEAL_CHAMBER 87
38 #define STAGE_SEAL_CHAMBER_2 92
39 #define STAGE_CORRIDOR 88
40 #define STAGE_KINGS 72 // intro
41 
42 #endif
43