diff options
author | Max Horn | 2003-06-06 22:35:23 +0000 |
---|---|---|
committer | Max Horn | 2003-06-06 22:35:23 +0000 |
commit | 15d58d9f52d4e410b4aa1578bce549d21c9c25f3 (patch) | |
tree | e37cf0ec4e03230623b9b802c7663de2a8d84f87 | |
parent | 2d74732afbca13be231ce1da9b83561df8788b00 (diff) | |
download | scummvm-rg350-15d58d9f52d4e410b4aa1578bce549d21c9c25f3.tar.gz scummvm-rg350-15d58d9f52d4e410b4aa1578bce549d21c9c25f3.tar.bz2 scummvm-rg350-15d58d9f52d4e410b4aa1578bce549d21c9c25f3.zip |
hook for V2 costumes (based on a brief glimpse at the costume resources; however I haven't yet looked at the rest of the format, so this would just crash if you enabled it right now)
svn-id: r8363
-rw-r--r-- | scumm/costume.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 042822dcfd..90f7dbec3d 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -413,16 +413,19 @@ void LoadedCostume::loadCostume(int id) { _baseptr = _ptr; switch (_ptr[7] & 0x7F) { + case 0x57: // Only used in V1 games + _numColors = 0; + break; case 0x58: _numColors = 16; break; case 0x59: _numColors = 32; break; - case 0x60: /* New since version 6 */ + case 0x60: // New since version 6 _numColors = 16; break; - case 0x61: /* New since version 6 */ + case 0x61: // New since version 6 _numColors = 32; break; default: |