|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "wepent.qh"Go to the source code of this file.
Macros | |
| #define | WEPENT_NETPROPS(PROP) |
| #define | WEPENT_SET_NORMAL(var, x) |
| #define | X(public, fld, set, sv, cl) |
| #define | X(public, fld, set, sv, cl) |
| #define | X(public, fld, set, sv, cl) |
| #define | X(public, fld, set, sv, cl) |
Functions | |
| bool | _wepent_send (entity this, entity to, int sf, int chan) |
| NET_HANDLE (CLIENT_WEPENT, bool isnew) | |
| NET_HANDLE (ENT_CLIENT_WEPENT, bool isnew) | |
| bool | ReadWepent (entity this) |
| STATIC_INIT (WEPENT_PUBLICMASK) | |
| bool | wepent_customize (entity this, entity client) |
| void | wepent_link (entity wep) |
| bool | wepent_send (entity this, entity to, int sf) |
| void | wepent_think (entity this) |
Variables | |
| int | WEPENT_PUBLICMASK = 0 |
| #define WEPENT_NETPROPS | ( | PROP | ) |
Definition at line 8 of file wepent.qc.
Referenced by _wepent_send(), ReadWepent(), STATIC_INIT(), and wepent_think().
| #define WEPENT_SET_NORMAL | ( | var, | |
| x ) |
| #define X | ( | public, | |
| fld, | |||
| set, | |||
| sv, | |||
| cl ) |
| #define X | ( | public, | |
| fld, | |||
| set, | |||
| sv, | |||
| cl ) |
| #define X | ( | public, | |
| fld, | |||
| set, | |||
| sv, | |||
| cl ) |
| #define X | ( | public, | |
| fld, | |||
| set, | |||
| sv, | |||
| cl ) |
Definition at line 100 of file wepent.qc.
References entity(), m_forceupdate, MSG_ENTITY, owner, weaponslot(), WEPENT_NETPROPS, WriteByte(), WriteHeader, and X.
Referenced by wepent_send().
| NET_HANDLE | ( | CLIENT_WEPENT | , |
| bool | isnew ) |
| NET_HANDLE | ( | ENT_CLIENT_WEPENT | , |
| bool | isnew ) |
Definition at line 192 of file wepent.qc.
References ReadWepent().
Definition at line 174 of file wepent.qc.
References entity(), m_wepent_slot, ReadByte(), ReadInt24_t(), viewmodels, WEPENT_NETPROPS, and X.
Referenced by NET_HANDLE(), and NET_HANDLE().
| STATIC_INIT | ( | WEPENT_PUBLICMASK | ) |
Definition at line 86 of file wepent.qc.
References BITS, LOG_FATAL, WEPENT_NETPROPS, WEPENT_PUBLICMASK, and X.
Definition at line 152 of file wepent.qc.
References entity(), owner, and WaypointSprite_getviewentity().
Referenced by wepent_link().
Definition at line 159 of file wepent.qc.
References entity(), Net_LinkEntity(), new_pure, setcefc, setthink, time, wepent_customize(), wepent_send(), and wepent_think().
Referenced by CL_SpawnWeaponentity().
Definition at line 123 of file wepent.qc.
References _wepent_send(), entity(), and MSG_ENTITY.
Referenced by wepent_link().
Definition at line 128 of file wepent.qc.
References entity(), nextthink, owner, time, WEPENT_NETPROPS, and X.
Referenced by wepent_link().
| int WEPENT_PUBLICMASK = 0 |
Definition at line 85 of file wepent.qc.
Referenced by STATIC_INIT().