]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/wepent.qh
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 oknex_charge;
8 .int tuba_instrument;
9
10 #ifdef SVQC
11
12         bool wepent_send(entity this, entity to, int sf);
13
14         void wepent_link(entity wep);
15
16         .int m_forceupdate;
17
18         .Weapon m_switchweapon;
19         .Weapon m_weapon;
20         .Weapon m_switchingweapon;
21
22 #endif
23
24 #ifdef CSQC
25         .int m_wepent_slot;
26
27         .Weapon activeweapon;
28         .Weapon switchingweapon;
29         .Weapon switchweapon;
30
31         // only for Porto
32         .bool angles_held_status;
33         .vector angles_held;
34 #endif