diff options
author | Travis Howell | 2004-08-28 03:18:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-28 03:18:52 +0000 |
commit | 22fb004e209f837b86231ec213a07ad7e7b90ec5 (patch) | |
tree | 53f797b31e08c781109c4ea12adf9979906718e7 /scumm/resource.cpp | |
parent | 13b6cf7c67dce13c1d457d58ecee20345c83e8e2 (diff) | |
download | scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.tar.gz scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.tar.bz2 scummvm-rg350-22fb004e209f837b86231ec213a07ad7e7b90ec5.zip |
akos should queue commmands and executate after drawing costumes (Caused race issues in HE games).
Remove some duplciate code
Enable from HE games
Add a few stubs for some additional akos codes
svn-id: r14799
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 0b542b9d91..cfc491e63e 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -992,19 +992,17 @@ int ScummEngine::readSoundResource(int type, int idx) { total_size = _fileHandle.readUint32BE(); _fileHandle.read(createResource(type, idx, total_size), total_size - 8); return 1; + } else if (basetag == MKID('HDHS')) { + _fileHandle.seek(-12, SEEK_CUR); + total_size = _fileHandle.readUint32BE(); + _fileHandle.read(createResource(type, idx, total_size), total_size - 8); + return 1; } else if (basetag == MKID('TALK')) { - debugC(DEBUG_SOUND, "Found base tag TALK in sound %d, size %d", idx, total_size); - debugC(DEBUG_SOUND, "It was at position %d", _fileHandle.pos()); - _fileHandle.seek(-12, SEEK_CUR); total_size = _fileHandle.readUint32BE(); _fileHandle.read(createResource(type, idx, total_size), total_size - 8); return 1; } else if (basetag == MKID('DIGI')) { - // Use in Putt-Putt Demo - debugC(DEBUG_SOUND, "Found base tag DIGI in sound %d, size %d", idx, total_size); - debugC(DEBUG_SOUND, "It was at position %d", _fileHandle.pos()); - _fileHandle.seek(-12, SEEK_CUR); total_size = _fileHandle.readUint32BE(); _fileHandle.read(createResource(type, idx, total_size), total_size - 8); |