Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
ammo.qh
Go to the documentation of this file.
1#pragma once
2
4
5#ifdef SVQC
8#endif // SVQC
9
11 ATTRIB(AmmoBuff, m_name, string, _("Ammo"));
12 ATTRIB(AmmoBuff, netname, string, "ammo");
13#ifndef SVQC
14 ATTRIB(AmmoBuff, m_icon, string, "buff_ammo");
15#endif
16#ifdef GAMEQC
18#endif
19 ATTRIB(AmmoBuff, m_color, vector, '0.29 0.37 1');
21
23BUFF_SPAWNFUNCS(ammo, BUFF_AMMO)
24BUFF_SPAWNFUNC_Q3COMPAT(item_ammoregen, BUFF_AMMO)
#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
string m_name
Definition ammo.qh:11
vector m_color
Definition ammo.qh:19
string netname
Definition ammo.qh:12
int m_skin
Definition ammo.qh:17
Definition buffs.qh:17
ATTRIB(StatusEffect, m_name, string)
int buff_ammo_prev_infitems
Definition ammo.qh:6
int buff_ammo_prev_clipload
Definition ammo.qh:7
#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 ammo
Definition sv_turrets.qh:43