aboutsummaryrefslogtreecommitdiff
path: root/src/shared/SystemConfig.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-01-17 13:33:07 -0600
committermegamage <none@none>2009-01-17 13:33:07 -0600
commitc5dfe7dac27a0441192af758dc55e6c71c83ccb4 (patch)
treee9075c32f9cd1176090e1530f5aaae247d3bc867 /src/shared/SystemConfig.h
parent88fd7455323b0e58ea2b808510d8c7e5aa1cd599 (diff)
parentadeb696f756739e2ed5b9c3ef4f7551ce023ff2b (diff)
*Merge.
--HG-- branch : trunk
Diffstat (limited to 'src/shared/SystemConfig.h')
-rw-r--r--src/shared/SystemConfig.h22
1 files changed, 20 insertions, 2 deletions
diff --git a/src/shared/SystemConfig.h b/src/shared/SystemConfig.h
index 262aa9e6355..aeb38891c11 100644
--- a/src/shared/SystemConfig.h
+++ b/src/shared/SystemConfig.h
@@ -25,9 +25,27 @@
#define TRINITY_SYSTEMCONFIG_H
#include "Platform/Define.h"
+#include "revision.h" //-----here u are ------ _REVISION is the magic key
-// THIS IS TEMP :)
-#define _FULLVERSION "Trinity"
+
+#define _PACKAGENAME "TrinityCore "
+#define _CODENAME "YUME"
+
+#if TRINITY_ENDIAN == TRINITY_BIGENDIAN
+# define _ENDIAN_STRING "big-endian"
+#else
+# define _ENDIAN_STRING "little-endian"
+#endif
+
+#if PLATFORM == PLATFORM_WINDOWS
+# ifdef _WIN64
+# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " (Win64," _ENDIAN_STRING ")"
+# else
+# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " (Win32," _ENDIAN_STRING ")"
+# endif
+#else
+# define _FULLVERSION _PACKAGENAME "Rev: " _REVISION " (Unix," _ENDIAN_STRING ")"
+#endif
#define DEFAULT_PLAYER_LIMIT 100
#define DEFAULT_WORLDSERVER_PORT 8085 //8129