5 // (C) 2014 Underground Software
7 // JLH = James Hammons <jlhamm@acm.org>
10 // --- ---------- ------------------------------------------------------------
11 // JLH 08/21/2014 Created this file
17 // We use anonymous structs and cast these to Maps to be able to access them.
20 unsigned int width, height;
21 uint16_t n, s, e, w, special;
22 unsigned char state[16 * 11 + 1];
39 unsigned int width, height;
40 uint16_t n, s, e, w, special;
41 unsigned char state[16 * 11 + 1];
58 unsigned int width, height;
59 uint16_t n, s, e, w, special;
60 unsigned char state[16 * 11 + 1];
77 unsigned int width, height;
78 uint16_t n, s, e, w, special;
79 unsigned char state[16 * 11 + 1];
97 unsigned int width, height;
98 uint16_t n, s, e, w, special;
99 unsigned char state[16 * 11 + 1];
100 } room000 = { 16, 11,
116 const void * maps[] = {
117 &map000, &map001, &map002, &map003
121 const void * rooms[] = {
128 uint8_t roomState[256 * 256];
129 uint16_t roomWidth, roomHeight;
131 Map * mapSave = 0, * currentMap = 0;
132 uint16_t pxSave, pySave;