binary message system
[vg.git] / vg_log.h
index 7c6ea43c79dd47f6b60a7494eed00aaaaa66db39..72dd82c4dfa9cd3ac62301cc2cfb86bc968a42a9 100644 (file)
--- a/vg_log.h
+++ b/vg_log.h
@@ -8,6 +8,7 @@
 #include "vg_platform.h"
 
 #define KNRM  "\x1B[0m"
+#define KBLK  "\x1B[30m"
 #define KRED  "\x1B[31m"
 #define KGRN  "\x1B[32m"
 #define KYEL  "\x1B[33m"
 #define PRINTF_v3f( V3 ) "%.4f %.4f %.4f\n",      V3[0], V3[1], V3[2]
 #define PRINTF_v4f( V4 ) "%.4f %.4f %.4f %.4f\n", V4[0], V4[1], V4[2], V4[3]
 
+#ifdef _WIN32
+ #define PRINTF_U64 "%llu"
+#else
+ #define PRINTF_U64 "%lu"
+#endif
+
 #ifdef VG_GAME
 static SDL_SpinLock log_print_sl;
 #endif
@@ -79,10 +86,6 @@ VG_STATIC void _vg_log_write( FILE *file, const char *prefix,
 #endif
 }
 
-VG_STATIC void _vg_log_init(void)
-{
-}
-
 #define VG_LOGX( NAME, PIPE, PFX )           \
 VG_STATIC void NAME(const char *fmt, ...)    \
 {                                            \