diff options
author | Paul Gilbert | 2014-08-10 11:56:14 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-08-10 11:56:14 -0400 |
commit | 0e3f9e983d51759e0d6373e95c71b2130e7f181c (patch) | |
tree | 4bde4a6b2863572447766707cb5a1edbb1301176 /engines/access/data.h | |
parent | ba1f8b2f6bf7362d011d01aa7106e5bd6d38366d (diff) | |
download | scummvm-rg350-0e3f9e983d51759e0d6373e95c71b2130e7f181c.tar.gz scummvm-rg350-0e3f9e983d51759e0d6373e95c71b2130e7f181c.tar.bz2 scummvm-rg350-0e3f9e983d51759e0d6373e95c71b2130e7f181c.zip |
ACCESS: Changed _objectsTable from raw data array to SpriteResource array
Diffstat (limited to 'engines/access/data.h')
-rw-r--r-- | engines/access/data.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/access/data.h b/engines/access/data.h index bd1e1563fc..bb5ef90e55 100644 --- a/engines/access/data.h +++ b/engines/access/data.h @@ -26,6 +26,7 @@ #include "common/scummsys.h" #include "common/array.h" #include "common/rect.h" +#include "common/types.h" #include "graphics/surface.h" namespace Access { @@ -71,7 +72,8 @@ class SpriteResource { public: Common::Array<SpriteFrame *> _frames; public: - SpriteResource(AccessEngine *vm, const byte *data, uint32 size); + SpriteResource(AccessEngine *vm, const byte *data, uint32 size, + DisposeAfterUse::Flag disposeMemory = DisposeAfterUse::NO); ~SpriteResource(); int getCount() { return _frames.size(); } |