22 #ifndef MADS_GAME_PHANTOM_H 23 #define MADS_GAME_PHANTOM_H 25 #include "mads/game.h" 26 #include "mads/globals.h" 27 #include "mads/phantom/globals_phantom.h" 33 DIFFICULTY_HARD = 1, DIFFICULTY_MEDIUM = 2, DIFFICULTY_EASY = 3
36 enum InventoryObject {
49 OBJ_PIECE_OF_PAPER = 11,
54 OBJ_CRUMPLED_NOTE = 16,
59 OBJ_WEDDING_RING = 21,
61 OBJ_ROPE_WITH_HOOK = 23,
67 MAZE_EVENT_PUDDLE = 0x0001,
68 MAZE_EVENT_RAT_NEST = 0x0002,
69 MAZE_EVENT_SKULL = 0x0004,
70 MAZE_EVENT_POT = 0x0008,
71 MAZE_EVENT_BRICK = 0x0010,
72 MAZE_EVENT_HOLE = 0x0020,
73 MAZE_EVENT_WEB = 0x0040,
74 MAZE_EVENT_PLANK = 0x0080,
75 MAZE_EVENT_DRAIN = 0x0100,
76 MAZE_EVENT_STONE = 0x0200,
77 MAZE_EVENT_BLOCK = 0x0400,
78 MAZE_EVENT_FALLEN_BLOCK = 0x0800
84 int8 _fromDirection[4];
92 void genericObjectExamine();
94 void stopWalkerBasic();
102 void startGame()
override;
104 void initializeGlobals()
override;
106 void setSectionHandler()
override;
108 void checkShowDialog()
override;
111 Difficulty _difficulty;
116 void doObjectAction()
override;
118 void unhandledAction()
override;
120 void step()
override;
124 void setupCatacombs();
125 void enterCatacombs(
bool val);
126 void initCatacombs();
127 void moveCatacombs(
int dir);
128 int exitCatacombs(
int dir);
129 void newCatacombRoom(
int fromRoom,
int fromExit);
137 void preLoadSection()
override {}
138 void sectionPtr2()
override {}
139 void postLoadSection()
override {}
Definition: game_data.h:57
Definition: game_phantom.h:81
Definition: serializer.h:79
Definition: game_phantom.h:133
Definition: game_phantom.h:88
Globals & globals() override
Definition: game_phantom.h:114
Definition: globals_phantom.h:130