diff options
author | Filippos Karapetis | 2009-04-25 08:50:42 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-04-25 08:50:42 +0000 |
commit | f1893d8f25b8f4fc5f6ed48e61dec0c2050bd567 (patch) | |
tree | f2d7efbb07066bfa142f4e130b96ebef479e2ad9 /engines/sci/scicore/resource.h | |
parent | 86debbd679d20f1188d2ba015e9d108cbbc85f1a (diff) | |
download | scummvm-rg350-f1893d8f25b8f4fc5f6ed48e61dec0c2050bd567.tar.gz scummvm-rg350-f1893d8f25b8f4fc5f6ed48e61dec0c2050bd567.tar.bz2 scummvm-rg350-f1893d8f25b8f4fc5f6ed48e61dec0c2050bd567.zip |
WIP (still non-working) code for speech sync in CD talkie games (like e.g. KQ5 CD and SQ4 CD), taken from Greg's SCI implementation.
svn-id: r40142
Diffstat (limited to 'engines/sci/scicore/resource.h')
-rw-r--r-- | engines/sci/scicore/resource.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/engines/sci/scicore/resource.h b/engines/sci/scicore/resource.h index 2f8abf8170..f9d95205d1 100644 --- a/engines/sci/scicore/resource.h +++ b/engines/sci/scicore/resource.h @@ -30,6 +30,7 @@ #include "common/file.h" #include "common/archive.h" +#include "sci/engine/vm.h" // for Object #include "sci/scicore/decompressor.h" namespace Common { @@ -301,6 +302,21 @@ protected: void removeFromLRU(Resource *res); }; +class ResourceSync : public Resource { +public: + ResourceSync() {} + ~ResourceSync() {} + + void startSync(Object *obj); + void nextSync(Object *obj); + void stopSync(); + +protected: + uint16 *_ptr; + uint16 _syncTime, _syncCue; + //bool _syncStarted; // not used +}; + } // End of namespace Sci #endif // SCI_SCICORE_RESOURCE_H |