ScummVM API documentation
Ultima::Ultima1::GameResources Class Reference
Inheritance diagram for Ultima::Ultima1::GameResources:
Ultima::Shared::LocalResourceFile Ultima::Shared::ResourceFile

Public Member Functions

 GameResources (Shared::Resources *resManager)
 
- Public Member Functions inherited from Ultima::Shared::LocalResourceFile
void save ()
 
- Public Member Functions inherited from Ultima::Shared::ResourceFile
void load ()
 

Public Attributes

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 [84]
 
byte LOCATION_X [84]
 
byte LOCATION_Y [84]
 
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
 
const char * 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]
 

Protected Member Functions

void synchronize () override
 
- Protected Member Functions inherited from Ultima::Shared::LocalResourceFile
 LocalResourceFile (const Common::Path &filename)
 
 LocalResourceFile (Resources *owner, const Common::Path &filename)
 
bool isSaving () const
 
void syncString (const char *&str) override
 
void syncStrings (const char **str, size_t count) override
 
void syncStrings2D (const char **str, size_t count1, size_t count2) override
 
void syncNumber (int &val) override
 
void syncNumbers (int *vals, size_t count) override
 
void syncNumbers2D (int *vals, size_t count1, size_t count2) override
 
void syncNumbers3D (int *vals, size_t count1, size_t count2, size_t count3) override
 
void syncBytes (byte *vals, size_t count) override
 
void syncBytes2D (byte *vals, size_t count1, size_t count2) override
 
- Protected Member Functions inherited from Ultima::Shared::ResourceFile
 ResourceFile (const Common::Path &filename)
 
virtual ~ResourceFile ()
 

Additional Inherited Members

- Protected Attributes inherited from Ultima::Shared::ResourceFile
Common::Path _filename
 

Member Function Documentation

◆ synchronize()

void Ultima::Ultima1::GameResources::synchronize ( )
overrideprotectedvirtual

Synchronize resource data

Implements Ultima::Shared::ResourceFile.


The documentation for this class was generated from the following file: