Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
swapper.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
7#endif // SVQC
8
10 ATTRIB(SwapperBuff, m_name, string, _("Swapper"));
11 ATTRIB(SwapperBuff, netname, string, "swapper");
12#ifndef SVQC
13 ATTRIB(SwapperBuff, m_icon, string, "buff_swapper");
14#endif
15#ifdef GAMEQC
17#endif
18 ATTRIB(SwapperBuff, m_color, vector, '0.63 0.36 1');
20
22BUFF_SPAWNFUNCS(swapper, BUFF_SWAPPER)
23BUFF_SPAWNFUNC_Q3COMPAT(holdable_teleporter, BUFF_SWAPPER)
#define BUFF_SPAWNFUNC_Q3COMPAT(o, r)
Definition buffs.qh:78
#define REGISTER_BUFF(id, inst)
Definition buffs.qh:14
#define BUFF_SPAWNFUNCS(e, b)
Definition buffs.qh:72
Definition buffs.qh:17
ATTRIB(StatusEffect, m_name, string)
string m_name
Definition swapper.qh:10
string netname
Definition swapper.qh:11
vector m_color
Definition swapper.qh:18
#define NEW(cname,...)
Definition oo.qh:117
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define ATTRIB(...)
Definition oo.qh:148
vector
Definition self.qh:92
float autocvar_g_buffs_swapper_range
Definition swapper.qh:6