Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
powerups.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
8#endif
9
11#ifdef SVQC
13 ATTRIB(Powerup, m_botvalue, int, 11000);
17#endif
18#ifdef MENUQC
20 {
21 TC(Powerup, this);
22 return SUPER(Powerup).describe(this);
23 }
24#endif
25
26#ifndef SVQC
27 METHOD(Powerup, display, void(Powerup this, void(string name, string icon) returns))
28 {
29 TC(Powerup, this);
30 return SUPER(Powerup).display(this, returns);
31 }
32#endif
34
35#include <common/mutators/mutator/status_effects/all.qh>
virtual void describe()
Definition powerups.qh:19
int m_itemflags
Definition powerups.qh:14
float m_respawntime
Definition powerups.qh:15
vector m_maxs
Definition powerups.qh:12
int m_botvalue
Definition powerups.qh:13
float m_respawntimejitter
Definition powerups.qh:16
const vector ITEM_L_MAXS
Definition item.qh:84
float autocvar_g_pickup_respawntimejitter_powerup
Definition powerups.qh:7
float autocvar_g_pickup_respawntime_powerup
Definition powerups.qh:6
const int FL_POWERUP
Definition constants.qh:84
#define TC(T, sym)
Definition _all.inc:82
string name
Definition menu.qh:30
#define SUPER(cname)
Definition oo.qh:231
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92