X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fdefs.qh;h=92872dc659ff27e09ba2b020387ba0e75ac51335;hb=9217f0a954cc581e50461a7603b1f0aea718685e;hp=4317b0cacc5c27f0f40a4f091ac0d8db2896ea1d;hpb=62b33decfe83f49635c11598c5bcf781f9b26bf1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 4317b0cac..92872dc65 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -210,6 +210,7 @@ void w_clear(); void w_ready(); // VorteX: standalone think for weapons, so normal think on weaponentity can be reserved by weaponflashes (which needs update even player dies) .float weapon_nextthink; +.float weapon_forbidchange; .void() weapon_think; //float PLAYER_WEAPONSELECTION_DELAY = ); @@ -314,6 +315,7 @@ float default_weapon_alpha; .float cvar_scr_centertime; .float cvar_cl_shownames; .float cvar_cl_noclipspectating; + .string cvar_g_xonoticversion; .string cvar_cl_weaponpriority; .string cvar_cl_weaponpriorities[10]; @@ -365,15 +367,6 @@ float W_AmmoItemCode(float wpn); float W_WeaponBit(float wpn); string W_Name(float weaponid); -void UpdateSelectedPlayer(); -void ClearSelectedPlayer(); -.entity selected_player; -.entity last_selected_player; -.float selected_player_time; // when this player has been selected -.float selected_player_count; // how long this player has been directly pointed to -.float selected_player_display_needs_update; // are regular updates necessary? (health) -.float selected_player_display_timeout; // when the selection will time out - void FixIntermissionClient(entity e); void FixClientCvars(entity e); @@ -661,6 +654,8 @@ string deathmessage; .float nex_charge_rottime; .float nex_chargepool_ammo; +.float hagar_load; + float allowed_to_spawn; // boolean variable used by the clan arena code to determine if a player can spawn (after the round has ended) float serverflags; @@ -672,3 +667,6 @@ float serverflags; .entity muzzle_flash; .float misc_bulletcounter; // replaces uzi & hlac bullet counter. + +.entity shownames; +void shownames_think();