mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +03:00
Merge pull request #59 from WPMGPRoSToTeMa/versionprinting
ReHLDS API version print by "version" command
This commit is contained in:
commit
7d7d5a7fea
@ -2426,6 +2426,7 @@ void Host_Changelevel2_f(void)
|
|||||||
void Host_Version_f(void)
|
void Host_Version_f(void)
|
||||||
{
|
{
|
||||||
Con_Printf("Protocol version %i\nExe version %s (%s)\n", PROTOCOL_VERSION, gpszVersionString, gpszProductString);
|
Con_Printf("Protocol version %i\nExe version %s (%s)\n", PROTOCOL_VERSION, gpszVersionString, gpszProductString);
|
||||||
|
Con_Printf("ReHLDS API version %i.%i\n", REHLDS_API_VERSION_MAJOR, REHLDS_API_VERSION_MINOR);
|
||||||
#ifdef REHLDS_FIXES
|
#ifdef REHLDS_FIXES
|
||||||
Con_Printf("Exe build: " __TIME__ " " __DATE__ " (%i)\n", build_number());
|
Con_Printf("Exe build: " __TIME__ " " __DATE__ " (%i)\n", build_number());
|
||||||
#else // REHLDS_FIXES
|
#else // REHLDS_FIXES
|
||||||
|
Loading…
Reference in New Issue
Block a user