]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/wepent.qh
Move some weapon stats into wepent fields, and make spectating weapons a bit more...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / wepent.qh
1 #pragma once
2
3 REGISTER_NET_LINKED(ENT_CLIENT_WEPENT)
4 REGISTER_NET_TEMP(CLIENT_WEPENT)
5
6 .float vortex_charge;
7 .float vortex_chargepool_ammo;
8 .int tuba_instrument;
9 .int minelayer_mines;
10 .float arc_heat_percent;
11 .int hagar_load;
12
13 #ifdef SVQC
14
15         bool wepent_send(entity this, entity to, int sf);
16
17         void wepent_link(entity wep);
18
19         .int m_forceupdate;
20
21         .Weapon m_switchweapon;
22         .Weapon m_weapon;
23         .Weapon m_switchingweapon;
24
25 #endif
26
27 #ifdef CSQC
28         .int m_wepent_slot;
29
30         .Weapon activeweapon;
31         .Weapon switchingweapon;
32         .Weapon switchweapon;
33
34         // only for Porto
35         .bool angles_held_status;
36         .vector angles_held;
37 #endif