diff options
author | Paul Gilbert | 2018-11-23 17:07:33 -0800 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | a334cd704e21044e0660f918e1c9e3a5040c5837 (patch) | |
tree | a0859b95f06a7d5eae26e0a04f2f4370be84b320 /engines/glk/frotz/pics.h | |
parent | 6f508124937df1b0cda5a2732039a82c4ec16b85 (diff) | |
download | scummvm-rg350-a334cd704e21044e0660f918e1c9e3a5040c5837.tar.gz scummvm-rg350-a334cd704e21044e0660f918e1c9e3a5040c5837.tar.bz2 scummvm-rg350-a334cd704e21044e0660f918e1c9e3a5040c5837.zip |
GLK: FROTZ: Further loading of Infocom pictures files
Diffstat (limited to 'engines/glk/frotz/pics.h')
-rw-r--r-- | engines/glk/frotz/pics.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/glk/frotz/pics.h b/engines/glk/frotz/pics.h index 55e3c0dd03..b05acc5e9f 100644 --- a/engines/glk/frotz/pics.h +++ b/engines/glk/frotz/pics.h @@ -20,8 +20,8 @@ * */ -#ifndef GLK_FROTZ_PICS -#define GLK_FROTZ_PICS +#ifndef GLK_FROTZ_PICS_H +#define GLK_FROTZ_PICS_H #include "common/archive.h" #include "common/array.h" @@ -38,9 +38,15 @@ class Pics : public Common::Archive { */ struct Entry { uint _number; - size_t _offset; - size_t _size; + size_t _width, _height; + size_t _dataOffset; + size_t _dataSize; + size_t _paletteOffset; + size_t _paletteSize; Common::String _filename; + + Entry() : _number(0), _width(0), _height(0), _dataOffset(0), _dataSize(0), + _paletteOffset(0), _paletteSize(0) {} }; private: Common::String _filename; |