Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
plasma_weapon.qh
Go to the documentation of this file.
1
#pragma once
2
3
CLASS
(
PlasmaAttack
,
PortoLaunch
)
4
/* flags */
ATTRIB
(
PlasmaAttack
,
spawnflags
,
int
,
WEP_FLAG_HIDDEN
|
WEP_FLAG_SPECIALATTACK
);
5
/* impulse */
ATTRIB
(PlasmaAttack,
impulse
,
int
, 5);
6
/* refname */
ATTRIB
(PlasmaAttack,
netname
,
string
, "turret_plasma");
7
/* wepname */
ATTRIB
(PlasmaAttack,
m_name
,
string
, _("Plasma"));
8
ENDCLASS
(PlasmaAttack)
9
REGISTER_WEAPON
(PLASMA,
NEW
(PlasmaAttack));
NEW
#define NEW(cname,...)
Definition:
oo.qh:105
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
netname
string netname
Definition:
powerups.qc:20
REGISTER_WEAPON
REGISTER_WEAPON(PLASMA, NEW(PlasmaAttack))
WEP_FLAG_HIDDEN
const int WEP_FLAG_HIDDEN
Definition:
weapon.qh:200
PlasmaAttack
Definition:
plasma_weapon.qh:3
impulse
float impulse
Definition:
progsdefs.qc:158
spawnflags
float spawnflags
Definition:
progsdefs.qc:191
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
PortoLaunch
Definition:
porto.qh:3
WEP_FLAG_SPECIALATTACK
const int WEP_FLAG_SPECIALATTACK
Definition:
weapon.qh:211
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
m_name
string m_name
Definition:
scores.qh:135
common
turrets
turret
plasma_weapon.qh
Generated on Thu Mar 17 2022 17:26:28 for Xonotic by
1.8.13