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

Go to the source code of this file.

Classes

class  PortoLaunch
 

Macros

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

Functions

 REGISTER_WEAPON (PORTO, porto, NEW(PortoLaunch))
 

Macro Definition Documentation

◆ X

#define X (   BEGIN,
  P,
  END,
  class,
  prefix 
)
Value:
BEGIN(class) \
P(class, prefix, animtime, float, BOTH) \
P(class, prefix, lifetime, float, BOTH) \
P(class, prefix, refire, float, BOTH) \
P(class, prefix, secondary, float, NONE) \
P(class, prefix, speed, 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 lifetime
Definition: powerups.qc:23

Definition at line 20 of file porto.qh.

Function Documentation

◆ REGISTER_WEAPON()

REGISTER_WEAPON ( PORTO  ,
porto  ,
NEW(PortoLaunch  
)