diff options
author | Martin Kiewitz | 2009-10-31 20:56:14 +0000 |
---|---|---|
committer | Martin Kiewitz | 2009-10-31 20:56:14 +0000 |
commit | 0af1d66d2d972b2ff52a5cee3f3a4c58a20c0e16 (patch) | |
tree | 5c69e5f45d65a58cc1a88d643aa7b365e77467da /engines/sci/gui | |
parent | a510481202670fb9d579faff3d3b26099777e02c (diff) | |
download | scummvm-rg350-0af1d66d2d972b2ff52a5cee3f3a4c58a20c0e16.tar.gz scummvm-rg350-0af1d66d2d972b2ff52a5cee3f3a4c58a20c0e16.tar.bz2 scummvm-rg350-0af1d66d2d972b2ff52a5cee3f3a4c58a20c0e16.zip |
SCI/newgui: added portrait data layout as comment (not completely done)
svn-id: r45585
Diffstat (limited to 'engines/sci/gui')
-rw-r--r-- | engines/sci/gui/gui_portrait.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_portrait.cpp b/engines/sci/gui/gui_portrait.cpp index df45f4dd19..09eba8a24d 100644 --- a/engines/sci/gui/gui_portrait.cpp +++ b/engines/sci/gui/gui_portrait.cpp @@ -45,7 +45,22 @@ SciGuiPortrait::~SciGuiPortrait() { void SciGuiPortrait::init() { // .BIN files are loaded from actors directory and from .\ directory - // seem to have 98 byte header + // header: + // 3 bytes "WIN" + // 2 bytes main height (should be the same as first bitmap header height) + // 2 bytes main width (should be the same as first bitmap header width) + // 2 bytes animation count + // 2 bytes unknown + // 2 bytes unknown + // 4 bytes paletteSize (base 1) + // paletteSize bytes paletteData + // 14 bytes bitmap header + // -> 4 bytes unknown + // -> 2 bytes height + // -> 2 bytes width + // -> 6 bytes unknown + // height * width bitmap data + // another animation count times bitmap header and data } } // End of namespace Sci |