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/martian/martian_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/martian/martian_resources.h')
-rw-r--r-- | engines/access/martian/martian_resources.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/access/martian/martian_resources.h b/engines/access/martian/martian_resources.h index 76765aad5a..6b01ee3754 100644 --- a/engines/access/martian/martian_resources.h +++ b/engines/access/martian/martian_resources.h @@ -25,6 +25,7 @@ #include "common/scummsys.h" #include "access/resources.h" +#include "access/font.h" namespace Access { @@ -55,11 +56,17 @@ extern const byte _byte1EEB5[]; extern const int PICTURERANGE[][2]; class MartianResources : public Resources { +protected: + /** + * Load data from the access.dat file + */ + virtual void load(Common::SeekableReadStream &s); public: - + MartianFont *_font6x6; + MartianFont *_font3x5; public: - MartianResources(AccessEngine *vm) : Resources(vm) {} - virtual ~MartianResources() {} + MartianResources(AccessEngine *vm) : Resources(vm), _font6x6(nullptr), _font3x5(nullptr) {} + virtual ~MartianResources(); }; #define MMRES (*((Martian::MartianResources *)_vm->_res)) |