diff options
author | Bastien Bouclet | 2018-12-10 19:12:18 +0100 |
---|---|---|
committer | Bastien Bouclet | 2018-12-10 19:12:18 +0100 |
commit | 9894976adebb0d7004d4b0171ab5d64a949e8656 (patch) | |
tree | 20945bc39f9acb7087789335a9bf250b5b3fac91 /engines/pink/pink.h | |
parent | 10ff73e6e03a4b9117fd7035355ee28c2dffa4a4 (diff) | |
download | scummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.tar.gz scummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.tar.bz2 scummvm-rg350-9894976adebb0d7004d4b0171ab5d64a949e8656.zip |
PINK: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
Diffstat (limited to 'engines/pink/pink.h')
-rw-r--r-- | engines/pink/pink.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/pink/pink.h b/engines/pink/pink.h index bafe15f6c5..cfc7190399 100644 --- a/engines/pink/pink.h +++ b/engines/pink/pink.h @@ -24,12 +24,13 @@ #define PINK_PINK_H #include "common/random.h" +#include "common/savefile.h" #include "engines/engine.h" +#include "engines/savestate.h" #include "graphics/wincursor.h" -#include "gui/EventRecorder.h" #include "gui/debugger.h" #include "pink/constants.h" @@ -59,6 +60,8 @@ * missing menu */ +struct ADGameDescription; + namespace Graphics { class MacMenu; } @@ -115,7 +118,7 @@ public: void executeMenuCommand(uint id); - const ADGameDescription &getGameDesc() { return _desc; } + Common::Language getLanguage() const; OrbFile *getOrb() { return &_orb; } BroFile *getBro() { return _bro; } Common::RandomSource &getRnd() { return _rnd; }; @@ -158,7 +161,7 @@ private: StringMap _variables; PDAMgr _pdaMgr; - const ADGameDescription _desc; + const ADGameDescription *_desc; }; WARN_UNUSED_RESULT bool readSaveHeader(Common::InSaveFile &in, SaveStateDescriptor &desc, bool skipThumbnail = true); |