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