mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 22:37:06 +00:00
[6800] Added revision number output.
* Changed genrevision to use * instead of unknown when some info can not be found * Added the git_id tool which is used to generate changes to revision_nr.h and the commit message
This commit is contained in:
parent
b681f5ac1a
commit
cfd9ccdaaf
12 changed files with 460 additions and 14 deletions
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
#ifndef _VERSION
|
||||
#if PLATFORM == PLATFORM_WINDOWS
|
||||
# define _VERSION(REVD,REVT,REV) "0.12.0-DEV" " (" REVD " " REVT " Revision " REV ")"
|
||||
# define _VERSION(REVD,REVT,REVN,REVH) "0.12.0-DEV" " (" REVD " " REVT " Revision " REVN " - " REVH ")"
|
||||
#else
|
||||
# define _VERSION(REVD,REVT,REV) "@VERSION@" " (" REVD " " REVT " Revision " REV ")"
|
||||
# define _VERSION(REVD,REVT,REVN,REVH) "@VERSION@" " (" REVD " " REVT " Revision " REVN " - " REVH ")"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
# define _REALMD_CONFIG SYSCONFDIR"realmd.conf"
|
||||
#endif
|
||||
|
||||
#define _FULLVERSION(REVD,REVT,REV) _PACKAGENAME "/" _VERSION(REVD,REVT,REV) " for " _ENDIAN_PLATFORM
|
||||
#define _FULLVERSION(REVD,REVT,REVN,REVH) _PACKAGENAME "/" _VERSION(REVD,REVT,REVN,REVH) " for " _ENDIAN_PLATFORM
|
||||
|
||||
#define DEFAULT_PLAYER_LIMIT 100
|
||||
#define DEFAULT_WORLDSERVER_PORT 8085 //8129
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue