ScummVM API documentation
Ultima::Ultima8::WeaponInfo Struct Reference

Public Types

enum  DmgType {
  DMG_NORMAL = 0x0001, DMG_BLADE = 0x0002, DMG_BLUNT = 0x0004, DMG_FIRE = 0x0008,
  DMG_UNDEAD = 0x0010, DMG_MAGIC = 0x0020, DMG_SLAYER = 0x0040, DMG_PIERCE = 0x0080,
  DMG_FALLING = 0x0100
}
 Delay between shots.
 

Public Attributes

Std::string _name
 
uint32 _shape
 
uint8 _overlayType
 
uint32 _overlayShape
 
uint8 _damageModifier
 
uint8 _baseDamage
 
uint8 _dexAttackBonus
 
uint8 _dexDefendBonus
 
uint8 _armourBonus
 
uint16 _damageType
 
int _treasureChance
 
uint16 _sound
 The sound this weapon makes when fired.
 
uint16 _reloadSound
 The sound made when reloaded.
 
uint16 _ammoType
 The inventory frame for the ammo used.
 
uint16 _ammoShape
 The shape number for the ammo used.
 
uint16 _displayGumpShape
 
uint16 _displayGumpFrame
 The gump shape to use for inventory display (3,4,5) More...
 
uint8 _small
 
uint16 _clipSize
 A flag whether or not the weapon is "small" (changes the animations used)
 
uint16 _energyUse
 Count of ammo the weapon starts with and gets from a reload.
 
uint8 _field8
 Energy used by each shot.
 
uint16 _shotDelay
 Not totally sure, used like "cycle time" in Attack Process.
 

Member Data Documentation

◆ _displayGumpFrame

uint16 Ultima::Ultima8::WeaponInfo::_displayGumpFrame

The gump shape to use for inventory display (3,4,5)

The frame to use in the inventory gump


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