]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/wepent.qh
Merge branch 'master' into martin-t/rpc-acc
[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 .int clip_load;
13 .int clip_size;
14
15 #ifdef SVQC
16
17         bool wepent_send(entity this, entity to, int sf);
18
19         void wepent_link(entity wep);
20
21         .int m_forceupdate;
22
23         .Weapon m_switchweapon;
24         .Weapon m_weapon;
25         .Weapon m_switchingweapon;
26
27 #endif
28
29 #ifdef CSQC
30         .int m_wepent_slot;
31
32         .Weapon activeweapon;
33         .Weapon switchingweapon;
34         .Weapon switchweapon;
35
36         // only for Porto
37         .bool angles_held_status;
38         .vector angles_held;
39 #endif