22 #ifndef ULTIMA8_WORLD_FIRETYPE_H 23 #define ULTIMA8_WORLD_FIRETYPE_H 36 FireType(uint16 typeNo, uint16 minDamage, uint16 maxDamage, uint8 range,
37 uint8 numShots, uint16 shieldCost, uint8 shieldMask,
bool accurate,
38 uint16 cellsPerRound, uint16 roundDuration,
bool nearSprite);
40 uint16 getTypeNo()
const {
44 uint16 getMinDamage()
const {
48 uint16 getMaxDamage()
const {
52 uint8 getRange()
const {
56 uint8 getNumShots()
const {
60 uint16 getShieldCost()
const {
64 uint8 getShieldMask()
const {
68 bool getAccurate()
const {
72 uint16 getCellsPerRound()
const {
73 return _cellsPerRound;
76 uint16 getRoundDuration()
const {
77 return _roundDuration;
80 bool getNearSprite()
const {
84 uint16 getRandomDamage()
const;
86 void applySplashDamageAround(
const Point3 &pt,
int damage,
int rangediv,
87 const Item *exclude,
const Item *src)
const;
89 void makeBulletSplashShapeAndPlaySound(int32 x, int32 y, int32 z)
const;
100 uint16 _cellsPerRound;
101 uint16 _roundDuration;
Definition: detection.h:27
Definition: fire_type.h:34