WeaponInfo Struct Reference

#include <WeaponInfo.h>

List of all members.

Public Types

 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
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
}

Public Attributes

uint32 shape
uint8 overlay_type
uint32 overlay_shape
uint8 damage_modifier
uint8 base_damage
uint8 dex_attack_bonus
uint8 dex_defend_bonus
uint8 armour_bonus
uint16 damage_type
int treasure_chance


Detailed Description

Definition at line 23 of file WeaponInfo.h.


Member Enumeration Documentation

enum WeaponInfo::DmgType

Enumerator:
DMG_NORMAL 
DMG_BLADE 
DMG_BLUNT 
DMG_FIRE 
DMG_UNDEAD 
DMG_MAGIC 
DMG_SLAYER 
DMG_PIERCE 
DMG_FALLING 

Definition at line 35 of file WeaponInfo.h.


Member Data Documentation

uint8 WeaponInfo::armour_bonus

Definition at line 31 of file WeaponInfo.h.

Referenced by MainActor::getArmourClass(), and TypeFlags::loadWeaponInfo().

uint8 WeaponInfo::base_damage

Definition at line 28 of file WeaponInfo.h.

Referenced by MainActor::getDamageAmount(), and TypeFlags::loadWeaponInfo().

uint8 WeaponInfo::damage_modifier

Definition at line 27 of file WeaponInfo.h.

Referenced by MainActor::getDamageAmount(), and TypeFlags::loadWeaponInfo().

uint16 WeaponInfo::damage_type

Definition at line 32 of file WeaponInfo.h.

Referenced by MainActor::getDamageType(), Item::getDamageType(), and TypeFlags::loadWeaponInfo().

uint8 WeaponInfo::dex_attack_bonus

Definition at line 29 of file WeaponInfo.h.

Referenced by MainActor::getAttackingDex(), and TypeFlags::loadWeaponInfo().

uint8 WeaponInfo::dex_defend_bonus

Definition at line 30 of file WeaponInfo.h.

Referenced by MainActor::getDefendingDex(), and TypeFlags::loadWeaponInfo().

uint32 WeaponInfo::overlay_shape

Definition at line 26 of file WeaponInfo.h.

Referenced by MainActor::getWeaponOverlay(), and TypeFlags::loadWeaponInfo().

uint8 WeaponInfo::overlay_type

Definition at line 25 of file WeaponInfo.h.

Referenced by MainActor::getWeaponOverlay(), and TypeFlags::loadWeaponInfo().

uint32 WeaponInfo::shape

Definition at line 24 of file WeaponInfo.h.

Referenced by TypeFlags::loadWeaponInfo().

int WeaponInfo::treasure_chance

Definition at line 33 of file WeaponInfo.h.

Referenced by Actor::giveTreasure(), and TypeFlags::loadWeaponInfo().


The documentation for this struct was generated from the following file:
Generated on Fri Jul 27 22:30:10 2007 for pentagram by  doxygen 1.4.7