Public Types | |
| enum | Flags { WEAP_LOSE = 0x0001, WEAP_LOSEWHENRANGED = 0x0002, WEAP_CHOOSEDISTANCE = 0x0004, WEAP_ALWAYSHITS = 0x0008, WEAP_MAGIC = 0x0010, WEAP_ATTACKTHROUGHOBJECTS = 0x0040, WEAP_ABSOLUTERANGE = 0x0080, WEAP_RETURNS = 0x0100, WEAP_DONTSHOWTRAVEL = 0x0200 } |
Public Member Functions | |
| WeaponType | getType () const |
| const Common::String & | getName () const |
| const Common::String & | getAbbrev () const |
| bool | canReady (ClassType klass) const |
| int | getRange () const |
| int | getDamage () const |
| const Common::String & | getHitTile () const |
| const Common::String & | getMissTile () const |
| const Common::String & | leavesTile () const |
| unsigned short | getFlags () const |
| bool | loseWhenUsed () const |
| bool | loseWhenRanged () const |
| bool | canChooseDistance () const |
| bool | alwaysHits () const |
| bool | isMagic () const |
| bool | canAttackThroughObjects () const |
| bool | rangeAbsolute () const |
| bool | returns () const |
| bool | showTravel () const |
< Flags affecting weapon's behavior.