Xonotic
player.qh
Go to the documentation of this file.
1 #pragma once
2 
20 
21 .entity pusher;
22 .float pushltime;
23 .bool istypefrag;
24 
25 .float death_time;
26 
28 .void(entity this) CopyBody_think;
29 void CopyBody_Think(entity this);
30 void CopyBody(entity this, float keepvelocity);
31 
33 
34 void player_anim(entity this);
35 
36 void PlayerCorpseDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
37 
38 void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
39 
40 bool PlayerHeal(entity targ, entity inflictor, float amount, float limit);
41 
42 void precache_all_playermodels(string pattern);
43 
45 STATIC_INIT(g_clones) { g_clones = IL_NEW(); }
int autocvar_sv_defaultplayerskin_pink
Definition: player.qh:9
void CopyBody(entity this, float keepvelocity)
Definition: player.qc:64
int autocvar_sv_defaultplayerskin_blue
Definition: player.qh:8
int autocvar_sv_defaultplayerskin_red
Definition: player.qh:10
#define IL_NEW()
entity() spawn
bool autocvar_sv_defaultcharacterskin
Definition: player.qh:7
string autocvar_sv_defaultplayermodel
Definition: player.qh:13
float CopyBody_nextthink
Definition: player.qh:27
void PlayerCorpseDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
Definition: player.qc:178
limitations: NULL cannot be present elements can only be present once a maximum of IL_MAX lists can e...
string autocvar_sv_defaultplayermodel_blue
Definition: player.qh:14
float death_time
Definition: player.qh:25
void precache_all_playermodels(string pattern)
Definition: player.qc:651
int autocvar_sv_defaultplayerskin
Definition: player.qh:18
STATIC_INIT(g_clones)
Definition: player.qh:45
string autocvar_sv_defaultplayercolors
Definition: player.qh:12
bool PlayerHeal(entity targ, entity inflictor, float amount, float limit)
Definition: player.qc:608
entity pusher
Definition: player.qh:21
string autocvar_sv_defaultplayermodel_yellow
Definition: player.qh:17
IntrusiveList g_clones
Definition: player.qh:44
void CopyBody_Think(entity this)
Definition: player.qc:50
int autocvar_sv_defaultplayerskin_yellow
Definition: player.qh:11
void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype,.entity weaponentity, vector hitloc, vector force)
Definition: player.qc:229
bool autocvar_sv_defaultcharacter
Definition: player.qh:6
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float autocvar_g_spawnshield_blockdamage
Definition: player.qh:4
string autocvar_sv_defaultplayermodel_red
Definition: player.qh:16
bool istypefrag
Definition: player.qh:23
float autocvar_sv_gibhealth
Definition: player.qh:19
void player_setupanimsformodel(entity this)
Definition: player.qc:145
float autocvar_g_spawnshieldtime
Definition: player.qh:3
float pushltime
Definition: player.qh:22
string autocvar_sv_defaultplayermodel_pink
Definition: player.qh:15
void player_anim(entity this)
Definition: player.qc:152
bool autocvar_sv_precacheplayermodels
Definition: player.qh:5