Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
fireball.qh File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Fireball

Macros

#define X(BEGIN, P, END, class, prefix)

Functions

 MODEL (FIREBALL_ITEM, W_Model("g_fireball.md3"))
 MODEL (FIREBALL_SPHERE, "models/sphere/sphere.md3")
 MODEL (FIREBALL_VIEW, W_Model("h_fireball.iqm"))
 MODEL (FIREBALL_WORLD, W_Model("v_fireball.md3"))
 REGISTER_WEAPON (FIREBALL, NEW(Fireball))
 SOUND (FIREBALL_FIRE, W_Sound("fireball_fire"))
 SOUND (FIREBALL_FIRE2, W_Sound("fireball_fire2"))
 SOUND (FIREBALL_FLY, W_Sound("fireball_fly"))
 SOUND (FIREBALL_FLY2, W_Sound("fireball_fly2"))
 SOUND (FIREBALL_IMPACT2, W_Sound("fireball_impact2"))
 SOUND (FIREBALL_PREFIRE2, W_Sound("fireball_prefire2"))

Variables

float bot_primary_fireballmooth
vector fireball_impactvec
float fireball_primarytime

Macro Definition Documentation

◆ X

#define X ( BEGIN,
P,
END,
class,
prefix )
Value:
BEGIN(class) \
P(class, prefix, animtime, float, BOTH) \
P(class, prefix, bfgdamage, float, PRI) \
P(class, prefix, bfgforce, float, PRI) \
P(class, prefix, bfgradius, float, PRI) \
P(class, prefix, damageforcescale, float, BOTH) \
P(class, prefix, damagetime, float, SEC) \
P(class, prefix, damage, float, BOTH) \
P(class, prefix, edgedamage, float, PRI) \
P(class, prefix, force, float, PRI) \
P(class, prefix, health, float, PRI) \
P(class, prefix, laserburntime, float, BOTH) \
P(class, prefix, laserdamage, float, BOTH) \
P(class, prefix, laseredgedamage, float, BOTH) \
P(class, prefix, laserradius, float, BOTH) \
P(class, prefix, lifetime, float, BOTH) \
P(class, prefix, radius, float, PRI) \
P(class, prefix, refire2, float, PRI) \
P(class, prefix, refire, float, BOTH) \
P(class, prefix, speed, float, BOTH) \
P(class, prefix, speed_up, float, SEC) \
P(class, prefix, speed_z, float, SEC) \
P(class, prefix, spread, float, BOTH) \
P(class, prefix, switchdelay_drop, float, NONE) \
P(class, prefix, switchdelay_raise, float, NONE) \
P(class, prefix, weaponreplace, string,NONE) \
P(class, prefix, weaponstartoverride, float, NONE) \
P(class, prefix, weaponstart, float, NONE) \
P(class, prefix, weaponthrowable, float, NONE) \
END()
float lifetime
Definition powerups.qc:23
float radius
Definition impulse.qh:11
float damageforcescale
float speed
Definition dynlight.qc:9
float health
Legacy fields for the resources. To be removed.
Definition resources.qh:9

Definition at line 36 of file fireball.qh.

36#define X(BEGIN, P, END, class, prefix) \
37 BEGIN(class) \
38 P(class, prefix, animtime, float, BOTH) \
39 P(class, prefix, bfgdamage, float, PRI) \
40 P(class, prefix, bfgforce, float, PRI) \
41 P(class, prefix, bfgradius, float, PRI) \
42 P(class, prefix, damageforcescale, float, BOTH) \
43 P(class, prefix, damagetime, float, SEC) \
44 P(class, prefix, damage, float, BOTH) \
45 P(class, prefix, edgedamage, float, PRI) \
46 P(class, prefix, force, float, PRI) \
47 P(class, prefix, health, float, PRI) \
48 P(class, prefix, laserburntime, float, BOTH) \
49 P(class, prefix, laserdamage, float, BOTH) \
50 P(class, prefix, laseredgedamage, float, BOTH) \
51 P(class, prefix, laserradius, float, BOTH) \
52 P(class, prefix, lifetime, float, BOTH) \
53 P(class, prefix, radius, float, PRI) \
54 P(class, prefix, refire2, float, PRI) \
55 P(class, prefix, refire, float, BOTH) \
56 P(class, prefix, speed, float, BOTH) \
57 P(class, prefix, speed_up, float, SEC) \
58 P(class, prefix, speed_z, float, SEC) \
59 P(class, prefix, spread, float, BOTH) \
60 P(class, prefix, switchdelay_drop, float, NONE) \
61 P(class, prefix, switchdelay_raise, float, NONE) \
62 P(class, prefix, weaponreplace, string,NONE) \
63 P(class, prefix, weaponstartoverride, float, NONE) \
64 P(class, prefix, weaponstart, float, NONE) \
65 P(class, prefix, weaponthrowable, float, NONE) \
66 END()

Function Documentation

◆ MODEL() [1/4]

MODEL ( FIREBALL_ITEM ,
W_Model("g_fireball.md3")  )

◆ MODEL() [2/4]

MODEL ( FIREBALL_SPHERE ,
"models/sphere/sphere.md3"  )

◆ MODEL() [3/4]

MODEL ( FIREBALL_VIEW ,
W_Model("h_fireball.iqm")  )

◆ MODEL() [4/4]

MODEL ( FIREBALL_WORLD ,
W_Model("v_fireball.md3")  )

◆ REGISTER_WEAPON()

REGISTER_WEAPON ( FIREBALL ,
NEW(Fireball)  )

◆ SOUND() [1/6]

SOUND ( FIREBALL_FIRE ,
W_Sound("fireball_fire")  )

◆ SOUND() [2/6]

SOUND ( FIREBALL_FIRE2 ,
W_Sound("fireball_fire2")  )

◆ SOUND() [3/6]

SOUND ( FIREBALL_FLY ,
W_Sound("fireball_fly")  )

◆ SOUND() [4/6]

SOUND ( FIREBALL_FLY2 ,
W_Sound("fireball_fly2")  )

◆ SOUND() [5/6]

SOUND ( FIREBALL_IMPACT2 ,
W_Sound("fireball_impact2")  )

◆ SOUND() [6/6]

SOUND ( FIREBALL_PREFIRE2 ,
W_Sound("fireball_prefire2")  )

Variable Documentation

◆ bot_primary_fireballmooth

float bot_primary_fireballmooth

Definition at line 76 of file fireball.qh.

◆ fireball_impactvec

vector fireball_impactvec

Definition at line 77 of file fireball.qh.

◆ fireball_primarytime

float fireball_primarytime

Definition at line 78 of file fireball.qh.