X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmiscfunctions.qh;h=aa2f026e6d5c734388d9a18dbf126eeb7c50f7d2;hp=2b85a0476fe4f6e66d2d6e3d26f95f0a97b93155;hb=2eeb83b158abb062ce25cb18da0bca0d9c9f28be;hpb=7b1c7d6a2f8f423b2642a4d2f5f07be9cd5890d0 diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index 2b85a0476f..aa2f026e6d 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -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,14 +92,12 @@ 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); string NearestLocation(vector p); -string AmmoNameFromWeaponentity(Weapon wep); - void play2(entity e, string filename); string playername(entity p, bool team_colorize);