ScummVM API documentation
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 ULTIMA_ULTIMA1_CORE_RESOURCES_H
23 #define ULTIMA_ULTIMA1_CORE_RESOURCES_H
24 
25 #include "ultima/shared/engine/resources.h"
26 
27 namespace Ultima {
28 namespace Ultima1 {
29 
30 #define LOCATION_COUNT 84
31 
33 protected:
37  void synchronize() override;
38 public:
39  const char *TITLE_MESSAGES[13];
40  const char *MAIN_MENU_TEXT[7];
41  const char *CHAR_GEN_TEXT[14];
42  const char *RACE_NAMES[4];
43  const char *SEX_NAMES[3];
44  const char *CLASS_NAMES[4];
45  const char *TRANSPORT_NAMES[10];
46  const char *STAT_NAMES[10];
47  const char *STATUS_TEXT[4];
48  const char *DIRECTION_NAMES[4];
49  const char *DUNGEON_MOVES[4];
50  const char *LOCATION_NAMES[LOCATION_COUNT];
51  byte LOCATION_X[LOCATION_COUNT];
52  byte LOCATION_Y[LOCATION_COUNT];
53  int LOCATION_PEOPLE[150][4];
54  byte DUNGEON_DRAW_DATA[1964];
55  const char *DUNGEON_ITEM_NAMES[2];
56  const char *WEAPON_NAMES_UPPERCASE[16];
57  const char *WEAPON_NAMES_LOWERCASE[16];
58  const char *WEAPON_NAMES_ARTICLE[16];
59  byte WEAPON_DISTANCES[16];
60  const char *ARMOR_NAMES[6];
61  const char *ARMOR_NAMES_ARTICLE[6];
62  const char *SPELL_NAMES[11];
63  const char *SPELL_PHRASES[14];
64  const char *GEM_NAMES[4];
65  byte OVERWORLD_MONSTER_DAMAGE[15];
66  const char *OVERWORLD_MONSTER_NAMES[15];
67  const char *DUNGEON_MONSTER_NAMES[99];
68  const char *LAND_NAMES[4];
69  const char *BLOCKED;
70  const char *ENTERING;
71  const char *THE_CITY_OF;
72  const char *DUNGEON_LEVEL;
73  const char *ATTACKED_BY;
74  const char *ARMOR_DESTROYED;
75  const char *GREMLIN_STOLE;
76  const char *MENTAL_ATTACK;
77  const char *MISSED;
78  const char *KILLED;
79  const char *DESTROYED;
80  const char *THIEF_STOLE;
81  const char *A, *AN;
82  const char *HIT;
83  const char *HIT_CREATURE;
84  const char *ATTACKS;
85  const char *DAMAGE;
86  const char *BARD_SPEECH1;
87  const char *BARD_SPEECH2;
88  const char *JESTER_SPEECH1;
89  const char *JESTER_SPEECH2;
90  const char *FOUND_KEY;
91  const char *BARD_STOLEN;
92  const char *JESTER_STOLEN;
93  const char *YOU_ARE_AT_SEA;
94  const char *YOU_ARE_IN_WOODS;
95  const char *YOU_ARE_IN_LANDS;
96  const char *FIND;
97  const char *A_SECRET_DOOR;
98  const char *GAIN_HIT_POINTS;
99  const char *OPENED;
100 
101  const char *ACTION_NAMES[26];
102  const char *HUH;
103  const char *WHAT;
104  const char *FACE_THE_LADDER;
105  const char *CAUGHT;
106  const char *NONE_WILL_TALK;
107  const char *NOT_BY_COUNTER;
108  const char *BUY_SELL;
109  const char *BUY;
110  const char *SELL;
111  const char *NOTHING;
112  const char *NONE;
113  const char *NOTHING_HERE;
114  const char *NONE_HERE;
115  const char *SOLD;
116  const char *CANT_AFFORD;
117  const char *DONE;
118  const char *DROP_PENCE_WEAPON_armour;
119  const char *DROP_PENCE;
120  const char *DROP_WEAPON;
121  const char *DROP_armour;
122  const char *NOT_THAT_MUCH;
123  const char *OK;
124  const char *SHAZAM;
125  const char *ALAKAZOT;
126  const char *NO_KINGS_PERMISSION;
127  const char *SET_OFF_TRAP;
128  const char *THOU_DOST_FIND;
129  const char *NO_KEY;
130  const char *INCORRECT_KEY;
131  const char *DOOR_IS_OPEN;
132  const char *CANT_LEAVE_IT_HERE;
133  const char *INVENTORY;
134  const char *PLAYER;
135  const char *PLAYER_DESC;
136  const char *PRESS_SPACE_TO_CONTINUE;
137  const char *MORE;
138  const char *READY_WEAPON_armour_SPELL;
139  const char *WEAPON_armour_SPELL[3];
140  const char *TRANSPORT_WEAPONS[2];
141  const char *NO_EFFECT;
142  const char *USED_UP_SPELL;
143  const char *DUNGEON_SPELL_ONLY;
144  const char *MONSTER_REMOVED;
145  const char *FAILED;
146  const char *TELEPORTED;
147  const char *FIELD_CREATED;
148  const char *FIELD_DESTROYED;
149  const char *LADDER_CREATED;
150  const char *QUEST_COMPLETED;
151  const char *EXIT_CRAFT_FIRST;
152  const char *NOTHING_TO_BOARD;
153  const char *CANNOT_OPERATE;
154 
155  const char *GROCERY_NAMES[8];
156  const char *GROCERY_SELL;
157  const char *GROCERY_PACKS1;
158  const char *GROCERY_PACKS2;
159  const char *GROCERY_PACKS3;
160  const char *GROCERY_PACKS_FOOD;
161  const char *GROCERY_FIND_PACKS;
162  const char *WEAPONRY_NAMES[8];
163  const char *NO_WEAPONRY_TO_SELL;
164  const char *ARMOURY_NAMES[8];
165  const char *NO_ARMOUR_TO_SELL;
166  const char *MAGIC_NAMES[8];
167  const char *DONT_BUY_SPELLS;
168  const char *TAVERN_NAMES[8];
169  const char *TAVERN_TEXT[4];
170  const char *TAVERN_TIPS[13];
171  const char *TRANSPORTS_NAMES[8];
172  const char *TRANSPORTS_TEXT[2];
173  const char *WITH_KING;
174  const char *HE_IS_NOT_HERE;
175  const char *HE_REJECTS_OFFER;
176  const char *KING_TEXT[12];
177 
178 public:
179  GameResources();
180  GameResources(Shared::Resources *resManager);
181 };
182 
183 } // End of namespace Ultima1
184 } // End of namespace Ultima
185 
186 #endif
Definition: resources.h:88
Definition: resources.h:128
Definition: resources.h:32
Definition: detection.h:27