ScummVM API documentation
noctropolis_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_NOCTROPOLIS_NOCTROPOLIS_RESOURCES_H
23 #define ACCESS_NOCTROPOLIS_NOCTROPOLIS_RESOURCES_H
24 
25 #include "access/resources.h"
26 #include "access/polygon.h"
27 
28 namespace Access {
29 
30 class Font;
31 namespace Noctropolis {
32 
33 class NoctropolisEngine;
34 class ComicResource;
35 
36 extern const byte ICON_PALETTE[];
37 
38 extern const int16 TRAV_ROOMS[];
39 
40 extern const int16 TRAV_MAN_POS[];
41 
42 extern const int16 TRAV_ICONS[];
43 
45 public:
48 
49  const byte *getCursor(int num) const override;
50  const char *getEgoName() const override;
51  int getRMouse(int i, int j) const override { return 0; };
52  int inButtonXRange(int x) const override { return 0; };
53 
54  void load(Common::SeekableReadStream &s) override;
55 
56  int getCursorWidth(int num) const override;
57  int getCursorHeight(int num) const override;
58 
59  const char *getGeneralMessage(int command) const override;
60 
61  const char *getEndMessage() const;
62  const char *getMeanwhileMessage() const;
63  const char *getShotoTitle() const;
64  const char *getShotoText() const;
65  const char *getStilMessage() const;
66  const char *getResponseTitle() const;
67  const char *getAskItem(int num) const;
68  const char *getMoreItemsText() const;
69  const char *getPlaceName(int num) const;
70  const char *getDeathTitle() const;
71  const char *getImprisonedTitle() const;
72  const char *getDeathText(int num) const;
73 
74  const ComicResource *getLastComicResource() const;
75  const ComicResource *getSpecialComicResource() const;
76 
77  int menuAt(int16 x, int16 y) const;
78 
79 private:
80  Font *_fontChaleteu;
81  Font *_fontSystemeu;
82  Font *_fontSml3x5;
83  Font *_fontNaples12;
84  Font *_fontGothiceu;
85  Font *_fontChaletse;
86  Font *_fontComicseu;
87 
89 };
90 
91 } // end namespace Noctropolis
92 
93 } // end namespace Access
94 
95 #endif // ACCESS_NOCTROPOLIS_NOCTROPOLIS_RESOURCES_H
int getRMouse(int i, int j) const override
Definition: noctropolis_resources.h:51
Definition: resources.h:41
Definition: access.h:141
void load(Common::SeekableReadStream &s) override
Definition: array.h:52
const byte * getCursor(int num) const override
int getCursorWidth(int num) const override
Definition: stream.h:745
Definition: noctropolis_comicviewer.h:59
int inButtonXRange(int x) const override
Definition: noctropolis_resources.h:52
const char * getGeneralMessage(int command) const override
int getCursorHeight(int num) const override
const char * getEgoName() const override
Definition: noctropolis_resources.h:44
Definition: font.h:40
Definition: access.h:62