X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fdefs.qh;h=bb44cd4a20132a6a096df79a0deabdc4444577f1;hb=24f6d013a268851d6584e3f76ac0c0308f737b6f;hp=6d3d6a9670974f725e0cb9c257a6e359334cfd24;hpb=da0466955e8df540625b5db7e99df08d0af26e58;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index 6d3d6a967..bb44cd4a2 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -18,12 +18,10 @@ noref float require_spawnfunc_prefix; // if this float exists, only functions wi float ctf_score_value(string parameter); -float g_dm, g_domination, g_ctf, g_tdm, g_keyhunt, g_onslaught, g_assault, g_arena, g_ca, g_lms, g_runematch, g_race, g_nexball, g_cts, g_freezetag, g_keepaway; float g_cloaked, g_footsteps, g_jump_grunt, g_grappling_hook, g_midair, g_minstagib, g_pinata, g_norecoil, g_minstagib_invis_alpha, g_bloodloss; float g_warmup_limit; float g_warmup_allguns; float g_warmup_allow_timeout; -float g_ctf_win_mode; float g_ctf_ignore_frags; float g_ctf_reverse; float g_race_qualifying; @@ -130,7 +128,6 @@ float maxclients; .vector anim_draw; // player pulls out a weapon // .vector anim_duck; // player crouches (from idle to duckidle) .vector anim_duckwalk; // player walking while crouching -.vector anim_duckwalkbackwards; // player walking while crouching .vector anim_duckjump; // player jumping from a crouch .vector anim_duckidle; // player idling while crouching .vector anim_idle; // player standing @@ -150,6 +147,14 @@ float maxclients; .vector anim_backright; // player running backward and right .vector anim_backleft; // player running back and left .vector anim_melee; // player doing the melee action +.vector anim_duck; // player doing the melee action +.vector anim_duckwalkbackwards; +.vector anim_duckwalkstrafeleft; +.vector anim_duckwalkstraferight; +.vector anim_duckwalkforwardright; +.vector anim_duckwalkforwardleft; +.vector anim_duckwalkbackright; +.vector anim_duckwalkbackleft; // weapon animation vectors: .vector anim_fire1; @@ -277,19 +282,6 @@ void checkSpectatorBlock(); float nJoinAllowed(float includeMe); #define PREVENT_JOIN_TEXT "^1You may not join the game at this time.\n\nThe player limit reached maximum capacity." -//sv_timeout: pauses the game by setting the gamespeed to a really low value (see TIMEOUT_SLOWMO_VALUE) -#define TIMEOUT_SLOWMO_VALUE 0.0001 -float sys_frametime; // gets initialised in worlspawn, saves the value from autocvar_sys_ticrate -float remainingTimeoutTime; // contains the time in seconds that the active timeout has left -float remainingLeadTime; // contains the number of seconds left of the leadtime (before the timeout starts) -float timeoutStatus; // (values: 0, 1, 2) contains whether a timeout is not active (0), was called but still at leadtime (1) or is active (2) -.float allowedTimeouts; // contains the number of allowed timeouts for each player -entity timeoutInitiator; // contains the entity of the player who started the last timeout -float orig_slowmo; // contains the value of autocvar_slowmo so that, after timeout finished, it isn't set to slowmo 1 necessarily -.vector lastV_angle; //used when pausing the game in order to force the player to keep his old view angle fixed -entity timeoutHandler; //responsible for centerprinting the timeout countdowns and playing sounds -void timeoutHandler_Think(); - .float spawnshieldtime; .float lms_nextcheck; @@ -313,7 +305,6 @@ float default_weapon_alpha; .float() customizeentityforclient; .float cvar_cl_handicap; -.float cvar_cl_playerdetailreduction; .float cvar_cl_clippedspectating; .float cvar_cl_autoscreenshot; .float cvar_cl_movement_track_canjump; @@ -327,8 +318,6 @@ float default_weapon_alpha; .float cvar_cl_forceplayermodelsfromxonotic; float sv_clforceplayermodels; #endif -float sv_loddistance1; -float sv_loddistance2; .float cvar_cl_gunalign; .float cvar_cl_noantilag; @@ -343,12 +332,6 @@ void AnnounceTo(entity e, string snd); .float version_nagtime; -.float modelindex_lod0; -.float modelindex_lod0_from_xonotic; -.float skinindex; -.float modelindex_lod1; -.float modelindex_lod2; - #define NUM_JUMPPADSUSED 3 .float jumppadcount; .entity jumppadsused[NUM_JUMPPADSUSED];