]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/wepent.qh
Merge branch 'master' into martin-t/damagetext
[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_link(entity wep);
14
15         .int m_forceupdate;
16
17         .Weapon m_switchweapon;
18         .Weapon m_weapon;
19         .Weapon m_switchingweapon;
20
21 #endif
22
23 #ifdef CSQC
24         .int m_wepent_slot;
25
26         .Weapon activeweapon;
27         .Weapon switchingweapon;
28         .Weapon switchweapon;
29
30         // only for Porto
31         .bool angles_held_status;
32         .vector angles_held;
33 #endif