22 #ifndef MADS_GAME_NEBULAR_H 23 #define MADS_GAME_NEBULAR_H 25 #include "common/scummsys.h" 26 #include "mads/game.h" 27 #include "mads/globals.h" 28 #include "mads/nebular/globals_nebular.h" 34 enum StoryMode { STORYMODE_NAUGHTY = 1, STORYMODE_NICE = 2 };
37 DIFFICULTY_HARD = 1, DIFFICULTY_MEDIUM = 2, DIFFICULTY_EASY = 3
41 enum ProtectionResult {
42 PROTECTION_SUCCEED = 0, PROTECTION_FAIL = 1, PROTECTION_ESCAPE = 2
45 enum InventoryObject {
63 OBJ_SECURITY_CARD = 16,
64 OBJ_CHARGE_CASES = 17,
69 OBJ_ALIEN_LIQUOR = 22,
70 OBJ_TARGET_MODULE = 23,
71 OBJ_SHIELD_MODULATOR = 24,
75 OBJ_DURAFAIL_CELLS = 28,
80 OBJ_FISHING_LINE = 33,
83 OBJ_REARVIEW_MIRROR = 36,
84 OBJ_COMPACT_CASE = 37,
87 OBJ_CHICKEN_BOMB = 41,
90 OBJ_COMPUTER_GAME = 44,
91 OBJ_PHONE_HANDSET = 45,
98 OBJ_FORMALDEHYDE = 52,
106 ProtectionResult checkCopyProtection();
119 StoryMode _storyMode;
120 Difficulty _difficulty;
130 void step()
override;
134 void setNaughtyMode(
bool naughtyMode)
override { _storyMode = naughtyMode ? STORYMODE_NAUGHTY : STORYMODE_NICE; }
135 bool getNaughtyMode()
const override {
return _storyMode == STORYMODE_NAUGHTY; }
143 void preLoadSection()
override {}
144 void sectionPtr2()
override {}
145 void postLoadSection()
override {}
void doObjectAction() override
void synchronize(Common::Serializer &s, bool phase1) override
void startGame() override
void unhandledAction() override
Definition: game_data.h:57
Definition: serializer.h:79
Definition: globals_nebular.h:292
void checkShowDialog() override
Globals & globals() override
Definition: game_nebular.h:122
void initializeGlobals() override
Definition: game_nebular.h:139
Definition: game_nebular.h:103
void setSectionHandler() override