Generates the HG Revision number.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user