Xonotic
powerups.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/items/item/pickup.qh
>
4
CLASS
(
Powerup
,
Pickup
)
5
#ifdef SVQC
6
ATTRIB
(
Powerup
, m_mins,
vector
,
'-16 -16 0'
);
7
ATTRIB
(
Powerup
, m_maxs,
vector
,
'16 16 80'
);
8
ATTRIB
(
Powerup
, m_botvalue,
int
, 11000);
9
ATTRIB
(
Powerup
, m_itemflags,
int
, FL_POWERUP);
10
ATTRIB
(
Powerup
, m_respawntime,
float
(),
GET
(g_pickup_respawntime_powerup));
11
ATTRIB
(
Powerup
, m_respawntimejitter,
float
(),
GET
(g_pickup_respawntimejitter_powerup));
12
#endif
13
ENDCLASS
(
Powerup
)
14
15
#include <common/mutators/mutator/status_effects/all.qh>
16
CLASS
(
Powerups
,
StatusEffects
)
17
#ifdef GAMEQC
18
ATTRIB
(
Powerups
, m_sound_rm,
Sound
, SND_POWEROFF);
19
#endif
20
ENDCLASS
(
Powerups
)
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
Pickup
Definition:
pickup.qh:22
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
Powerup
Definition:
powerups.qh:4
StatusEffects
Definition:
all.qh:30
Powerups
Definition:
powerups.qh:16
Sound
Definition:
sound.qh:119
GET
#define GET(name)
Definition:
misc.qh:34
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
pickup.qh
common
mutators
mutator
powerups
powerups.qh
Generated on Thu Mar 17 2022 17:26:26 for Xonotic by
1.8.13