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
28namespace Access {
29
30class Font;
31namespace Noctropolis {
32
33class NoctropolisEngine;
34class ComicResource;
35
36extern const byte ICON_PALETTE[];
37
38extern const int16 TRAV_ROOMS[];
39
40extern const int16 TRAV_MAN_POS[];
41
42extern const int16 TRAV_ICONS[];
43
45public:
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
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 Common::Path translatePath(const char *rawPath) const;
78
79 int menuAt(int16 x, int16 y) const;
80
81private:
82 Font *_fontChaleteu;
83 Font *_fontSystemeu;
84 Font *_fontSml3x5;
85 Font *_fontNaples12;
86 Font *_fontGothiceu;
87 Font *_fontChaletse;
88 Font *_fontComicseu;
89
91};
92
93} // end namespace Noctropolis
94
95} // end namespace Access
96
97#endif // ACCESS_NOCTROPOLIS_NOCTROPOLIS_RESOURCES_H
Definition: access.h:141
Definition: font.h:40
Definition: noctropolis_comicviewer.h:59
Definition: noctropolis_resources.h:44
int getRMouse(int i, int j) const override
Definition: noctropolis_resources.h:51
int inButtonXRange(int x) const override
Definition: noctropolis_resources.h:52
void load(Common::SeekableReadStream &s) override
int getCursorWidth(int num) const override
const char * getEgoName() const override
const char * getGeneralMessage(int command) const override
int getCursorHeight(int num) const override
const byte * getCursor(int num) const override
Definition: resources.h:41
Definition: path.h:52
Definition: stream.h:745
Definition: access.h:62