diff options
author | Paul Gilbert | 2014-08-10 16:55:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-10 16:55:06 -0400 |
commit | 6801cb0855cef796ea22c969c9c9f25866cdfa72 (patch) | |
tree | 2b307519cebc92e18f310d0898105f87d8ccd871 /engines/access/data.h | |
parent | 47d75ae128d2b29ace73925373901cf7bbc6325d (diff) | |
download | scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.tar.gz scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.tar.bz2 scummvm-rg350-6801cb0855cef796ea22c969c9c9f25866cdfa72.zip |
ACCESS: Decompress sprite resource frames immediately on creation
Diffstat (limited to 'engines/access/data.h')
-rw-r--r-- | engines/access/data.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/engines/access/data.h b/engines/access/data.h index bb5ef90e55..b9da858216 100644 --- a/engines/access/data.h +++ b/engines/access/data.h @@ -59,28 +59,6 @@ public: int _vidSTable1; }; -class SpriteFrame : public Graphics::Surface { -public: - uint16 _width, _height; - byte *_data; - uint32 _size; - - ~SpriteFrame(); -}; - -class SpriteResource { -public: - Common::Array<SpriteFrame *> _frames; -public: - SpriteResource(AccessEngine *vm, const byte *data, uint32 size, - DisposeAfterUse::Flag disposeMemory = DisposeAfterUse::NO); - ~SpriteResource(); - - int getCount() { return _frames.size(); } - - SpriteFrame *getFrame(int idx) { return _frames[idx]; } -}; - } // End of namespace Access #endif /* ACCESS_DATA_H */ |