X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Futil.qh;h=b65f87b5b4ca8c8b1948dea912cc92f4a7512d4b;hp=503aa2d2a0f9452fa81232493caa94e95383477b;hb=bfd4316c7714f8982a0d0a771b7bd616241fbb8b;hpb=9aa300c859f50fb6f06e5caef46cc7af1e3bc51b diff --git a/qcsrc/common/util.qh b/qcsrc/common/util.qh index 503aa2d2a0..b65f87b5b4 100644 --- a/qcsrc/common/util.qh +++ b/qcsrc/common/util.qh @@ -105,6 +105,7 @@ float mod(float a, float b) { return a - (floor(a / b) * b); } #endif #define TIME_TO_NTHS(t,n) floor((t) * (n) + 0.4) +string format_time(float seconds); string mmsss(float t); string mmssss(float t); @@ -373,9 +374,9 @@ void FindConnectedComponent(entity e, .entity fld, findNextEntityNearFunction_t #define fprintf(file, ...) fputs(file, sprintf(__VA_ARGS__)) #define bprintf(...) bprint(sprintf(__VA_ARGS__)) -#ifndef MENUQC +//#ifndef MENUQC void backtrace(string msg); -#endif +//#endif // color code replace, place inside of sprintf and parse the string... defaults described as constants // foreground/normal colors