Xonotic
blaster.qh File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Blaster
 
class  OffhandBlaster
 

Macros

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

Functions

 REGISTER_WEAPON (BLASTER, blaster, NEW(Blaster))
 
 STATIC_INIT (OFFHAND_BLASTER)
 

Variables

OffhandBlaster OFFHAND_BLASTER
 

Macro Definition Documentation

◆ X

#define X (   BEGIN,
  P,
  END,
  class,
  prefix 
)
Value:
BEGIN(class) \
P(class, prefix, animtime, float, BOTH) \
P(class, prefix, damage, float, BOTH) \
P(class, prefix, delay, float, BOTH) \
P(class, prefix, edgedamage, float, BOTH) \
P(class, prefix, force, float, BOTH) \
P(class, prefix, force_zscale, float, BOTH) \
P(class, prefix, lifetime, float, BOTH) \
P(class, prefix, radius, float, BOTH) \
P(class, prefix, refire, float, BOTH) \
P(class, prefix, secondary, float, NONE) \
P(class, prefix, shotangle, float, BOTH) \
P(class, prefix, speed, float, BOTH) \
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 speed
Definition: subs.qh:41
float radius
Definition: impulse.qh:11
float lifetime
Definition: powerups.qc:23
float delay
Definition: subs.qh:38

Definition at line 22 of file blaster.qh.

Function Documentation

◆ REGISTER_WEAPON()

REGISTER_WEAPON ( BLASTER  ,
blaster  ,
NEW(Blaster  
)

◆ STATIC_INIT()

STATIC_INIT ( OFFHAND_BLASTER  )

Definition at line 56 of file blaster.qh.

References NEW.

#define NEW(cname,...)
Definition: oo.qh:105
OffhandBlaster OFFHAND_BLASTER
Definition: blaster.qh:55

Variable Documentation

◆ OFFHAND_BLASTER

OffhandBlaster OFFHAND_BLASTER

Definition at line 55 of file blaster.qh.

Referenced by MUTATOR_HOOKFUNCTION().