diff options
author | Vladimir Menshakov | 2009-09-03 22:42:12 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-03 22:42:12 +0000 |
commit | 39e3c2c096987b3ec9a7f8241dab4dea4f0e45c8 (patch) | |
tree | 26615ccf0ce29733a1b16bb59de76ec8f53f5455 /engines/teenagent/teenagent.h | |
parent | d4923071c1b9a3a8c1ab117fdf9349a354e18ca7 (diff) | |
download | scummvm-rg350-39e3c2c096987b3ec9a7f8241dab4dea4f0e45c8.tar.gz scummvm-rg350-39e3c2c096987b3ec9a7f8241dab4dea4f0e45c8.tar.bz2 scummvm-rg350-39e3c2c096987b3ec9a7f8241dab4dea4f0e45c8.zip |
added detection structures with exe offsets.
svn-id: r43929
Diffstat (limited to 'engines/teenagent/teenagent.h')
-rw-r--r-- | engines/teenagent/teenagent.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/teenagent/teenagent.h b/engines/teenagent/teenagent.h index c5b31de99b..da8dec0f59 100644 --- a/engines/teenagent/teenagent.h +++ b/engines/teenagent/teenagent.h @@ -32,6 +32,7 @@ #include "inventory.h" #include "sound/audiostream.h" #include "sound/mixer.h" +#include "engines/advancedDetector.h" namespace TeenAgent { @@ -39,11 +40,22 @@ struct Object; class Scene; class MusicPlayer; +struct ExeOffsets { + uint32 cseg_offset; + uint32 dseg_offset; + uint32 eseg_offset; +}; + +struct GameDescription { + ADGameDescription gd; + ExeOffsets offsets; +}; + class TeenAgentEngine: public Engine { public: enum Action { ActionNone, ActionExamine, ActionUse }; - TeenAgentEngine(OSystem * system); + TeenAgentEngine(OSystem * system, const GameDescription *gd); virtual Common::Error run(); virtual Common::Error loadGameState(int slot); @@ -102,6 +114,7 @@ private: Audio::AudioStream *_musicStream; Audio::SoundHandle _musicHandle, _soundHandle; + const GameDescription *_gameDescription; }; } |