]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/player.qh
Update default video settings
[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 CopyBody_nextthink;
28 .void(entity this) CopyBody_think;
29 void CopyBody_Think(entity this);
30 void CopyBody(entity this, float keepvelocity);
31
32 void player_setupanimsformodel(entity this);
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
44 IntrusiveList g_clones;
45 STATIC_INIT(g_clones) { g_clones = IL_NEW(); }