ScummVM API documentation
Ultima::Ultima8::ShapeInfo Class Reference

Public Types

enum  SFlags {
  SI_FIXED = 0x0001, SI_SOLID = 0x0002, SI_SEA = 0x0004, SI_LAND = 0x0008,
  SI_OCCL = 0x0010, SI_BAG = 0x0020, SI_DAMAGING = 0x0040, SI_NOISY = 0x0080,
  SI_DRAW = 0x0100, SI_IGNORE = 0x0200, SI_ROOF = 0x0400, SI_TRANSL = 0x0800,
  SI_EDITOR = 0x1000, SI_U8_EXPLODE = 0x2000, SI_CRU_SELECTABLE = 0x2000, SI_UNKNOWN46 = 0x4000,
  SI_CRU_PRELOAD = 0x4000, SI_UNKNOWN47 = 0x8000, SI_CRU_SOUND = 0x8000, SI_CRU_TARGETABLE = 0x10000,
  SI_CRU_NPC = 0x20000, SI_CRU_UNK66 = 0x40000, SI_CRU_UNK67 = 0x80000
}
 
enum  SFamily {
  SF_GENERIC = 0, SF_QUALITY = 1, SF_QUANTITY = 2, SF_GLOBEGG = 3,
  SF_UNKEGG = 4, SF_BREAKABLE = 5, SF_CONTAINER = 6, SF_MONSTEREGG = 7,
  SF_TELEPORTEGG = 8, SF_REAGENT = 9, SF_CRUWEAPON = 10, SF_CRUAMMO = 11,
  SF_CRUBOMB = 12, SF_CRUINVITEM = 13, SF_15 = 15
}
 
enum  SEquipType {
  SE_NONE = 0, SE_SHIELD = 1, SE_ARM = 2, SE_HEAD = 3,
  SE_BODY = 4, SE_LEGS = 5, SE_WEAPON = 6, SE_BACKPACK = 7
}
 

Public Member Functions

bool is_fixed () const
 
bool is_solid () const
 
bool is_sea () const
 
bool is_land () const
 
bool is_occl () const
 
bool is_bag () const
 
bool is_damaging () const
 
bool is_noisy () const
 
bool is_draw () const
 
bool is_ignore () const
 
bool is_roof () const
 
bool is_translucent () const
 
bool is_editor () const
 
bool is_u8_explode () const
 
bool is_targetable () const
 
bool is_invitem () const
 
bool hasQuantity () const
 
bool takesDamage () const
 
bool getTypeFlag (int typeFlag) const
 
bool getTypeFlagU8 (int typeFlag) const
 
bool getTypeFlagCrusader (int typeFlag) const
 
void getFootpadWorld (int32 &x, int32 &y, int32 &z, uint16 flipped) const
 

Public Attributes

uint32 _flags
 
uint32 _x
 
uint32 _y
 
uint32 _z
 
uint32 _family
 
uint32 _equipType
 
uint32 _animType
 
uint32 _animData
 
uint32 _animSpeed
 
uint32 _weight
 
uint32 _volume
 
WeaponInfo_weaponInfo
 
ArmourInfo_armourInfo
 
MonsterInfo_monsterInfo
 
DamageInfo_damageInfo
 

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