X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmain.qh;h=30b6864716063cdd5f62c31159ac2e3c71b5c575;hb=0ca6306558a71a8b7fb5b62fc856d910506b187b;hp=0685ca71f37d6a6bff68b5b11ddbe4402d816f99;hpb=80e96d3476de18ec2d27c905eb789bd39b2f52f9;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/main.qh b/qcsrc/server/main.qh index 0685ca71f..30b686471 100644 --- a/qcsrc/server/main.qh +++ b/qcsrc/server/main.qh @@ -16,6 +16,11 @@ bool autocvar_g_balance_falldamage_onlyvertical; #define autocvar_slowmo cvar("slowmo") float autocvar_sys_ticrate; +bool autocvar_sv_autopause; +void Pause_TryPause_Dedicated(entity this); + +bool dropclient_schedule(entity this); + /** print(), but only print if the server is not local */ void dedicated_print(string input); @@ -26,9 +31,6 @@ void remove_safely(entity e); void remove_unsafely(entity e); -// copies a string to a tempstring (so one can strunzone it) -string strcat1(string s) = #115; // FRIK_FILE - #ifdef PROFILING float client_cefc_accumulator; float client_cefc_accumulatortime; @@ -36,7 +38,8 @@ float client_cefc_accumulatortime; float servertime, serverprevtime, serverframetime; -.vector oldvelocity; // for fall damage +// set in CreatureFrame_All for entities that can be damaged by fall (players) and contents (projectiles) +.vector oldvelocity; .float watersound_finished; @@ -45,6 +48,8 @@ float servertime, serverprevtime, serverframetime; .float contents_damagetime; +string GetField_fullspawndata(entity e, string f, ...); + /* ================== main