diff options
author | Filippos Karapetis | 2011-02-06 11:51:21 +0000 |
---|---|---|
committer | Filippos Karapetis | 2011-02-06 11:51:21 +0000 |
commit | 91491006298bea91e415edb937e83c309e963048 (patch) | |
tree | 2dec399e0494f8b6d0416c453c079d8e084a0781 /engines/sci/graphics/robot.h | |
parent | ec03425c0fe20a5ee9f90da3310fac22010e0ced (diff) | |
download | scummvm-rg350-91491006298bea91e415edb937e83c309e963048.tar.gz scummvm-rg350-91491006298bea91e415edb937e83c309e963048.tar.bz2 scummvm-rg350-91491006298bea91e415edb937e83c309e963048.zip |
SCI: Several changes related to robot files
- Added WIP robot sound support (which has pops between each frame for some reason)
- Now handling a lot of previously ignored fields
- Now handling the chunk before the palette chunk properly. Fixes some v6 videos
- Added known robot related TODOs
svn-id: r55793
Diffstat (limited to 'engines/sci/graphics/robot.h')
-rw-r--r-- | engines/sci/graphics/robot.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/sci/graphics/robot.h b/engines/sci/graphics/robot.h index 044f84eefe..bc6b698522 100644 --- a/engines/sci/graphics/robot.h +++ b/engines/sci/graphics/robot.h @@ -39,14 +39,15 @@ namespace Sci { struct RobotHeader { // 6 bytes, identifier bytes uint16 version; - // 2 bytes, unknown + uint16 audioChunkSize; uint16 audioSilenceSize; // 2 bytes, unknown uint16 frameCount; uint16 paletteDataSize; - // 6 bytes, unknown + uint16 unkChunkDataSize; + // 5 bytes, unknown byte hasSound; - // 35 bytes, unknown + // 34 bytes, unknown }; class GfxRobot { @@ -72,7 +73,6 @@ private: GfxScreen *_screen; GfxPalette *_palette; - GuiResourceId _resourceId; byte _savedPal[256 * 4]; Common::File _robotFile; @@ -81,6 +81,7 @@ private: RobotHeader _header; + GuiResourceId _resourceId; uint16 _x; uint16 _y; uint16 _curFrame; |