X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=3b5acfbd0dbb57be9c6ba5d668ce1deea51c7d75;hp=b45e20986a76c0acba01ac6fdf4cea4137dd0c24;hb=016835f8f51aff29719995f8d080d9c1b19392c4;hpb=19794b31e782cca0f5a0d916bc5fd4dc6156eeaf diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index b45e20986..3b5acfbd0 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -51,6 +51,7 @@ float server_is_dedicated; .float crouch; // Crouching or not? const .float superweapons_finished = _STAT(SUPERWEAPONS_FINISHED); +const .float air_finished_stat = _STAT(AIR_FINISHED); .float cnt; // used in too many places .float count; @@ -140,7 +141,6 @@ float blockSpectators; //if set, new or existing spectators or observers will be .float spectatortime; //point in time since the client is spectating or observing void checkSpectatorBlock(entity this); -float game_completion_ratio; // 0 at start, 1 near end .float winning; .float jointime; // time of connecting .float startplaytime; // time of switching from spectator to player @@ -163,6 +163,7 @@ float default_player_alpha; float default_weapon_alpha; .float cvar_cl_handicap; +.int cvar_cl_gunalign; .float cvar_cl_clippedspectating; .float cvar_cl_autoscreenshot; .float cvar_cl_jetpack_jump; @@ -181,6 +182,7 @@ float default_weapon_alpha; .float cvar_cl_allow_uid2name; .float cvar_cl_allow_uidtracking; +.bool cvar_cl_allow_uidranking; .string stored_netname; string gamemode_name; @@ -330,7 +332,7 @@ string deathmessage; .float cvar_cl_weaponimpulsemode; .int selectweapon; // last selected weapon of the player -.float ballistics_density; // wall piercing factor, larger = bullet can pass through more +.float ballistics_density; //const int FROZEN_NOT = 0; const int FROZEN_NORMAL = 1; @@ -410,6 +412,7 @@ IntrusiveList g_locations; IntrusiveList g_saved_team; IntrusiveList g_monster_targets; IntrusiveList g_pathlib_nodes; +IntrusiveList g_moveables; STATIC_INIT(defs) { g_monsters = IL_NEW(); @@ -431,4 +434,5 @@ STATIC_INIT(defs) g_saved_team = IL_NEW(); g_monster_targets = IL_NEW(); g_pathlib_nodes = IL_NEW(); + g_moveables = IL_NEW(); }