]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/player.qh
Merge branch 'Mario/spiderbot_no_sprint' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / player.qh
1 #pragma once
2
3 float autocvar_g_spawnshieldtime;
4 float autocvar_g_spawnshield_blockdamage;
5 bool autocvar_sv_precacheplayermodels;
6 bool autocvar_sv_defaultcharacter;
7 bool autocvar_sv_defaultcharacterskin;
8 int autocvar_sv_defaultplayerskin_blue;
9 int autocvar_sv_defaultplayerskin_pink;
10 int autocvar_sv_defaultplayerskin_red;
11 int autocvar_sv_defaultplayerskin_yellow;
12 string autocvar_sv_defaultplayercolors;
13 string autocvar_sv_defaultplayermodel;
14 string autocvar_sv_defaultplayermodel_blue;
15 string autocvar_sv_defaultplayermodel_pink;
16 string autocvar_sv_defaultplayermodel_red;
17 string autocvar_sv_defaultplayermodel_yellow;
18 int autocvar_sv_defaultplayerskin;
19 float autocvar_sv_gibhealth;
20
21 .entity pusher;
22 .float pushltime;
23 .bool istypefrag;
24
25 .float death_time;
26
27 .float score_frame_dmg;
28 .float score_frame_dmgtaken;
29
30 .float CopyBody_nextthink;
31 .void(entity this) CopyBody_think;
32 void CopyBody_Think(entity this);
33 void CopyBody(entity this, float keepvelocity);
34
35 void player_setupanimsformodel(entity this);
36
37 void player_anim(entity this);
38
39 void PlayerCorpseDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
40
41 void PlayerDamage(entity this, entity inflictor, entity attacker, float damage, int deathtype, .entity weaponentity, vector hitloc, vector force);
42
43 bool PlayerHeal(entity targ, entity inflictor, float amount, float limit);
44
45 void precache_all_playermodels(string pattern);
46
47 IntrusiveList g_clones;
48 STATIC_INIT(g_clones) { g_clones = IL_NEW(); }