X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fmiscfunctions.qh;h=cb11057eff97d8c5167600c17a97d5ccd740ba9c;hb=65fc9d516200f4df289b42e1595e91baf7878331;hp=ff62cd1674b3487185903df618d3198459817beb;hpb=21d066a6d9db0539908d0d05ced5d34b6375bdb1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index ff62cd167..cb11057ef 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -11,7 +11,7 @@ #include #include -#ifdef RELEASE +#if 1 #define cvar_string_normal builtin_cvar_string #define cvar_normal builtin_cvar #else @@ -74,6 +74,8 @@ string formatmessage(entity this, string msg); /** print(), but only print if the server is not local */ void dedicated_print(string input); +string GameLog_ProcessIP(string s); + void GameLogEcho(string s); void GameLogInit(); @@ -90,7 +92,7 @@ float LostMovetypeFollow(entity ent); string uid2name(string myuid); -float MoveToRandomLocationWithinBounds(entity e, vector boundmin, vector boundmax, float goodcontents, float badcontents, float badsurfaceflags, float attempts, float maxaboveground, float minviewdistance); +bool MoveToRandomLocationWithinBounds(entity e, vector boundmin, vector boundmax, float goodcontents, float badcontents, float badsurfaceflags, int attempts, float maxaboveground, float minviewdistance); float MoveToRandomMapLocation(entity e, float goodcontents, float badcontents, float badsurfaceflags, float attempts, float maxaboveground, float minviewdistance); @@ -100,8 +102,6 @@ void play2(entity e, string filename); string playername(entity p, bool team_colorize); -void precache(); - void remove_safely(entity e); void remove_unsafely(entity e);