diff options
author | Paul Gilbert | 2014-06-06 20:04:46 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-06-06 20:04:46 -0400 |
commit | 17cc86d1721d275d56845754b9a32710b0e0d2f0 (patch) | |
tree | 7787620f8779c8ca0664df608df7111d94de0a37 /engines/mads/nebular/game_nebular.h | |
parent | 3c1c080c3a236ca9aac40d7f04f82b57ec879cbe (diff) | |
download | scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.gz scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.tar.bz2 scummvm-rg350-17cc86d1721d275d56845754b9a32710b0e0d2f0.zip |
MADS: Refactoring and cleanup of the game startup code
Diffstat (limited to 'engines/mads/nebular/game_nebular.h')
-rw-r--r-- | engines/mads/nebular/game_nebular.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/mads/nebular/game_nebular.h b/engines/mads/nebular/game_nebular.h index 6620deaea6..da607d47ee 100644 --- a/engines/mads/nebular/game_nebular.h +++ b/engines/mads/nebular/game_nebular.h @@ -38,6 +38,11 @@ enum Difficulty { DIFFICULTY_HARD = 1, DIFFICULTY_MEDIUM = 2, DIFFICULTY_EASY = 3 }; + +enum ProtectionResult { + PROTECTION_SUCCEED = 0, PROTECTION_FAIL = 1, PROTECTION_ESCAPE = 2 +}; + enum InventoryObject { OBJ_NONE = -1, OBJ_BINOCULARS = 0, @@ -98,10 +103,12 @@ enum InventoryObject { class GameNebular : public Game { friend class Game; +private: + ProtectionResult checkCopyProtection(); protected: GameNebular(MADSEngine *vm); - virtual ProtectionResult checkCopyProtection(); + virtual void startGame(); virtual void initializeGlobals(); |