ScummVM API documentation
martian_resources.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef ACCESS_MARTIAN_RESOURCES_H
23 #define ACCESS_MARTIAN_RESOURCES_H
24 
25 #include "common/scummsys.h"
26 #include "access/resources.h"
27 #include "access/font.h"
28 
29 namespace Access {
30 
31 namespace Martian {
32 
33 extern const int SIDEOFFR[];
34 extern const int SIDEOFFL[];
35 extern const int SIDEOFFU[];
36 extern const int SIDEOFFD[];
37 
38 extern const int SIDEOFFR[];
39 extern const int SIDEOFFL[];
40 extern const int SIDEOFFU[];
41 extern const int SIDEOFFD[];
42 
43 extern const byte CREDIT_DATA[];
44 extern const byte ICON_PALETTE[];
45 
46 extern const int RMOUSE[10][2];
47 
48 extern byte HELP[];
49 extern const char *const ASK_TBL[];
50 extern const char *const TRAVDATA[];
51 
52 extern const char *const SPEC7MESSAGE;
53 
54 extern const byte _byte1EEB5[];
55 extern const int PICTURERANGE[][2];
56 
57 class MartianResources : public Resources {
58 protected:
62  void load(Common::SeekableReadStream &s) override;
63 public:
64  MartianFont *_font6x6;
65  MartianFont *_font3x5;
66 public:
67  MartianResources(AccessEngine *vm) : Resources(vm), _font6x6(nullptr), _font3x5(nullptr) {}
68  ~MartianResources() override;
69 };
70 
71 #define MMRES (*((Martian::MartianResources *)_vm->_res))
72 
73 } // End of namespace Martian
74 } // End of namespace Access
75 
76 #endif /* ACCESS_MARTIAN_RESOURCES_H */
Definition: font.h:107
Definition: resources.h:44
Definition: access.h:84
Definition: stream.h:745
Definition: martian_resources.h:57
void load(Common::SeekableReadStream &s) override
Definition: access.h:62