summaryrefslogtreecommitdiff
path: root/src/common/showmsg.h
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-04 19:32:34 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-04-04 19:32:34 +0000
commit6acbd82fb5b77315853f42a9a31b7439a7e58bb9 (patch)
tree343173d795a6a7acfe990a8c0fe91b9fa3492296 /src/common/showmsg.h
parent26bf6b6dacd8029a1ed48255518a78dfb11b4ce4 (diff)
downloadhercules-6acbd82fb5b77315853f42a9a31b7439a7e58bb9.tar.gz
hercules-6acbd82fb5b77315853f42a9a31b7439a7e58bb9.tar.bz2
hercules-6acbd82fb5b77315853f42a9a31b7439a7e58bb9.tar.xz
hercules-6acbd82fb5b77315853f42a9a31b7439a7e58bb9.zip
Fixes for logging trades [MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1407 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/showmsg.h')
-rw-r--r--src/common/showmsg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/common/showmsg.h b/src/common/showmsg.h
index 5b169dc82..3461369c3 100644
--- a/src/common/showmsg.h
+++ b/src/common/showmsg.h
@@ -4,6 +4,19 @@
//davidsiaw, 'lookee' here!
#define SHOW_DEBUG_MSG 1
+#ifdef _WIN32
+#define CL_RESET ""
+#define CL_NORMAL CL_RESET
+#define CL_NONE CL_RESET
+#define CL_WHITE ""
+#define CL_GRAY ""
+#define CL_RED ""
+#define CL_GREEN ""
+#define CL_YELLOW ""
+#define CL_BLUE ""
+#define CL_MAGENTA ""
+#define CL_CYAN ""
+#else
#define CL_RESET "\033[0;0m"
#define CL_NORMAL CL_RESET
#define CL_NONE CL_RESET
@@ -15,6 +28,7 @@
#define CL_BLUE "\033[1;34m"
#define CL_MAGENTA "\033[1;35m"
#define CL_CYAN "\033[1;36m"
+#endif
extern char tmp_output[1024];