X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Futil.qh;h=fa17a06a328af4414350a1a9a29632f5114cd34b;hb=b7d363a108963ca13647ee25b58c5a531366cf49;hp=ef36eb230d9bf39ed31ecf848625492a2663f339;hpb=847371860eeb17f6a51aa1fa532aa997cb2d760b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index ef36eb230..fa17a06a3 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -11,7 +11,7 @@ vector real_origin(entity ent); string wordwrap(string s, float l); #ifndef MENUQC #ifndef CSQC -void wordwrap_sprint(string s, float l); +void wordwrap_sprint(entity to, string s, float l); #endif #endif void wordwrap_cb(string s, float l, void(string) callback); @@ -28,8 +28,8 @@ void depthfirst(entity start, .entity up, .entity downleft, .entity right, void( float median(float a, float b, float c); // converts a number to a string with the indicated number of decimals -// works for up to 10 decimals! string ftos_decimals(float number, float decimals); +string ftos_mindecimals(float number); bool fexists(string f); @@ -274,10 +274,6 @@ string CCR(string input); vector animfixfps(entity e, vector a, vector b); #endif -#ifdef SVQC -void dedicated_print(string input); -#endif - #ifndef MENUQC const float CNT_NORMAL = 1; const float CNT_GAMESTART = 2;