Files
scummvm-cursorfix/engines/ultima/ultima1/core/resources.h
2026-02-02 04:50:13 +01:00

187 lines
5.1 KiB
C++

/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef ULTIMA_ULTIMA1_CORE_RESOURCES_H
#define ULTIMA_ULTIMA1_CORE_RESOURCES_H
#include "ultima/shared/engine/resources.h"
namespace Ultima {
namespace Ultima1 {
#define LOCATION_COUNT 84
class GameResources : public Shared::LocalResourceFile {
protected:
/**
* Synchronize resource data
*/
void synchronize() override;
public:
const char *TITLE_MESSAGES[13];
const char *MAIN_MENU_TEXT[7];
const char *CHAR_GEN_TEXT[14];
const char *RACE_NAMES[4];
const char *SEX_NAMES[3];
const char *CLASS_NAMES[4];
const char *TRANSPORT_NAMES[10];
const char *STAT_NAMES[10];
const char *STATUS_TEXT[4];
const char *DIRECTION_NAMES[4];
const char *DUNGEON_MOVES[4];
const char *LOCATION_NAMES[LOCATION_COUNT];
byte LOCATION_X[LOCATION_COUNT];
byte LOCATION_Y[LOCATION_COUNT];
int LOCATION_PEOPLE[150][4];
byte DUNGEON_DRAW_DATA[1964];
const char *DUNGEON_ITEM_NAMES[2];
const char *WEAPON_NAMES_UPPERCASE[16];
const char *WEAPON_NAMES_LOWERCASE[16];
const char *WEAPON_NAMES_ARTICLE[16];
byte WEAPON_DISTANCES[16];
const char *ARMOR_NAMES[6];
const char *ARMOR_NAMES_ARTICLE[6];
const char *SPELL_NAMES[11];
const char *SPELL_PHRASES[14];
const char *GEM_NAMES[4];
byte OVERWORLD_MONSTER_DAMAGE[15];
const char *OVERWORLD_MONSTER_NAMES[15];
const char *DUNGEON_MONSTER_NAMES[99];
const char *LAND_NAMES[4];
const char *BLOCKED;
const char *ENTERING;
const char *THE_CITY_OF;
const char *DUNGEON_LEVEL;
const char *ATTACKED_BY;
const char *ARMOR_DESTROYED;
const char *GREMLIN_STOLE;
const char *MENTAL_ATTACK;
const char *MISSED;
const char *KILLED;
const char *DESTROYED;
const char *THIEF_STOLE;
const char *A, *AN;
const char *HIT;
const char *HIT_CREATURE;
const char *ATTACKS;
const char *DAMAGE;
const char *BARD_SPEECH1;
const char *BARD_SPEECH2;
const char *JESTER_SPEECH1;
const char *JESTER_SPEECH2;
const char *FOUND_KEY;
const char *BARD_STOLEN;
const char *JESTER_STOLEN;
const char *YOU_ARE_AT_SEA;
const char *YOU_ARE_IN_WOODS;
const char *YOU_ARE_IN_LANDS;
const char *FIND;
const char *A_SECRET_DOOR;
const char *GAIN_HIT_POINTS;
const char *OPENED;
const char *ACTION_NAMES[26];
const char *HUH;
const char *WHAT;
const char *FACE_THE_LADDER;
const char *CAUGHT;
const char *NONE_WILL_TALK;
const char *NOT_BY_COUNTER;
const char *BUY_SELL;
const char *BUY;
const char *SELL;
const char *NOTHING;
const char *NONE;
const char *NOTHING_HERE;
const char *NONE_HERE;
const char *SOLD;
const char *CANT_AFFORD;
const char *DONE;
const char *DROP_PENCE_WEAPON_armour;
const char *DROP_PENCE;
const char *DROP_WEAPON;
const char *DROP_armour;
const char *NOT_THAT_MUCH;
const char *OK;
const char *SHAZAM;
const char *ALAKAZOT;
const char *NO_KINGS_PERMISSION;
const char *SET_OFF_TRAP;
const char *THOU_DOST_FIND;
const char *NO_KEY;
const char *INCORRECT_KEY;
const char *DOOR_IS_OPEN;
const char *CANT_LEAVE_IT_HERE;
const char *INVENTORY;
const char *PLAYER;
const char *PLAYER_DESC;
const char *PRESS_SPACE_TO_CONTINUE;
const char *MORE;
const char *READY_WEAPON_armour_SPELL;
const char *WEAPON_armour_SPELL[3];
const char *TRANSPORT_WEAPONS[2];
const char *NO_EFFECT;
const char *USED_UP_SPELL;
const char *DUNGEON_SPELL_ONLY;
const char *MONSTER_REMOVED;
const char *FAILED;
const char *TELEPORTED;
const char *FIELD_CREATED;
const char *FIELD_DESTROYED;
const char *LADDER_CREATED;
const char *QUEST_COMPLETED;
const char *EXIT_CRAFT_FIRST;
const char *NOTHING_TO_BOARD;
const char *CANNOT_OPERATE;
const char *GROCERY_NAMES[8];
const char *GROCERY_SELL;
const char *GROCERY_PACKS1;
const char *GROCERY_PACKS2;
const char *GROCERY_PACKS3;
const char *GROCERY_PACKS_FOOD;
const char *GROCERY_FIND_PACKS;
const char *WEAPONRY_NAMES[8];
const char *NO_WEAPONRY_TO_SELL;
const char *ARMOURY_NAMES[8];
const char *NO_ARMOUR_TO_SELL;
const char *MAGIC_NAMES[8];
const char *DONT_BUY_SPELLS;
const char *TAVERN_NAMES[8];
const char *TAVERN_TEXT[4];
const char *TAVERN_TIPS[13];
const char *TRANSPORTS_NAMES[8];
const char *TRANSPORTS_TEXT[2];
const char *WITH_KING;
const char *HE_IS_NOT_HERE;
const char *HE_REJECTS_OFFER;
const char *KING_TEXT[12];
public:
GameResources();
GameResources(Shared::Resources *resManager);
};
} // End of namespace Ultima1
} // End of namespace Ultima
#endif