diff options
author | Paul Gilbert | 2018-07-20 19:05:56 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-07-20 19:05:56 -0700 |
commit | af6034efcdf9ff12e037f03626caf2c89c11a6ed (patch) | |
tree | d08635577aca00bcbc6475276e2836de63b17e89 /engines/access/amazon/amazon_resources.h | |
parent | b6dc832346ef1a70390970430f604d6b4625d268 (diff) | |
download | scummvm-rg350-af6034efcdf9ff12e037f03626caf2c89c11a6ed.tar.gz scummvm-rg350-af6034efcdf9ff12e037f03626caf2c89c11a6ed.tar.bz2 scummvm-rg350-af6034efcdf9ff12e037f03626caf2c89c11a6ed.zip |
ACCESS: MM: Implement proper game data and fonts in access.dat
Diffstat (limited to 'engines/access/amazon/amazon_resources.h')
-rw-r--r-- | engines/access/amazon/amazon_resources.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/access/amazon/amazon_resources.h b/engines/access/amazon/amazon_resources.h index 20d90cc5b6..6ce50f72de 100644 --- a/engines/access/amazon/amazon_resources.h +++ b/engines/access/amazon/amazon_resources.h @@ -26,6 +26,7 @@ #include "common/scummsys.h" #include "common/array.h" #include "access/resources.h" +#include "access/font.h" namespace Access { @@ -128,10 +129,7 @@ protected: */ virtual void load(Common::SeekableReadStream &s); public: - Common::Array<int> FONT2_INDEX; - Common::Array<byte> FONT2_DATA; - Common::Array<int> FONT6x6_INDEX; - Common::Array<byte> FONT6x6_DATA; + AmazonFont *_font3x5, *_font6x6; Common::String NO_HELP_MESSAGE; Common::String NO_HINTS_MESSAGE; Common::String RIVER_HIT1; @@ -140,8 +138,8 @@ public: Common::String HELPLVLTXT[3]; Common::String IQLABELS[9]; public: - AmazonResources(AccessEngine *vm) : Resources(vm) {} - virtual ~AmazonResources() {} + AmazonResources(AccessEngine *vm) : Resources(vm), _font3x5(nullptr), _font6x6(nullptr) {} + virtual ~AmazonResources(); }; #define AMRES (*((Amazon::AmazonResources *)_vm->_res)) |