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/sfx | |
| 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/sfx')
| -rw-r--r-- | engines/sci/sfx/core.cpp | 1 | ||||
| -rw-r--r-- | engines/sci/sfx/core.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sfx/core.cpp b/engines/sci/sfx/core.cpp index b573a52630..e35a3abad1 100644 --- a/engines/sci/sfx/core.cpp +++ b/engines/sci/sfx/core.cpp @@ -367,6 +367,7 @@ void sfx_init(sfx_state_t *self, ResourceManager *resmgr, int flags) { self->song = NULL; self->flags = flags; self->debug = 0; /* Disable all debugging by default */ + self->soundSync = NULL; if (flags & SFX_STATE_FLAG_NOSOUND) { player = NULL; diff --git a/engines/sci/sfx/core.h b/engines/sci/sfx/core.h index 3eb3cf1489..107c05a17e 100644 --- a/engines/sci/sfx/core.h +++ b/engines/sci/sfx/core.h @@ -55,7 +55,7 @@ struct sfx_state_t { song_t *song; /* Active song, or start of active song chain */ int suspended; /* Whether we are suspended */ unsigned int debug; /* Debug flags */ - + ResourceSync *soundSync; /* Used by kDoSync for speech syncing in talkie games */ }; /***********/ |
