Merge branch 'master' into Lyberta/StandaloneOverkillWeapons
[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 .float oknex_charge;
9 .float oknex_chargepool_ammo;
10 .int tuba_instrument;
11 .int minelayer_mines;
12 .float arc_heat_percent;
13 .int hagar_load;
14 .int clip_load;
15 .int clip_size;
16
17 #ifdef SVQC
18
19         bool wepent_send(entity this, entity to, int sf);
20
21         void wepent_link(entity wep);
22
23         .int m_forceupdate;
24
25         .Weapon m_switchweapon;
26         .Weapon m_weapon;
27         .Weapon m_switchingweapon;
28
29 #endif
30
31 #ifdef CSQC
32         .int m_wepent_slot;
33
34         .Weapon activeweapon;
35         .Weapon switchingweapon;
36         .Weapon switchweapon;
37
38         // only for Porto
39         .bool angles_held_status;
40         .vector angles_held;
41 #endif