Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
tesla_weapon.qh
Go to the documentation of this file.
1
#pragma once
2
3
CLASS
(
TeslaCoilTurretAttack
,
PortoLaunch
)
4
/* flags */
ATTRIB
(
TeslaCoilTurretAttack
,
spawnflags
,
int
,
WEP_FLAG_HIDDEN
|
WEP_FLAG_SPECIALATTACK
);
5
/* impulse */
ATTRIB
(
TeslaCoilTurretAttack
,
impulse
,
int
, 9);
6
/* refname */
ATTRIB
(
TeslaCoilTurretAttack
,
netname
,
string
,
"turret_tesla"
);
7
/* wepname */
ATTRIB
(
TeslaCoilTurretAttack
,
m_name
,
string
, _(
"Tesla Coil"
));
8
ENDCLASS
(
TeslaCoilTurretAttack
)
9
REGISTER_WEAPON
(TESLA,
NEW
(
TeslaCoilTurretAttack
));
PortoLaunch
Definition
porto.qh:17
TeslaCoilTurretAttack
Definition
tesla_weapon.qh:3
TeslaCoilTurretAttack::m_name
string m_name
Definition
tesla_weapon.qh:7
TeslaCoilTurretAttack::spawnflags
int spawnflags
Definition
tesla_weapon.qh:4
TeslaCoilTurretAttack::netname
string netname
Definition
tesla_weapon.qh:6
TeslaCoilTurretAttack::impulse
int impulse
Definition
tesla_weapon.qh:5
Weapon::ATTRIB
ATTRIB(Weapon, m_canonical_spawnfunc, string)
the canonical spawnfunc name
NEW
#define NEW(cname,...)
Definition
oo.qh:117
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
REGISTER_WEAPON
#define REGISTER_WEAPON(id, inst)
Definition
all.qh:136
WEP_FLAG_HIDDEN
const int WEP_FLAG_HIDDEN
Definition
weapon.qh:216
WEP_FLAG_SPECIALATTACK
const int WEP_FLAG_SPECIALATTACK
Definition
weapon.qh:227
common
turrets
turret
tesla_weapon.qh
Generated on
for Xonotic QuakeC by
1.14.0