mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Add various flags to version string
This commit is contained in:
parent
ae14fd2f85
commit
a6dcd5555e
1 changed files with 62 additions and 2 deletions
|
@ -3421,10 +3421,70 @@ static void Command_ListWADS_f(void)
|
|||
static void Command_Version_f(void)
|
||||
{
|
||||
#ifdef DEVELOP
|
||||
CONS_Printf("Sonic Robo Blast 2 %s-%s (%s %s)\n", compbranch, comprevision, compdate, comptime);
|
||||
CONS_Printf("Sonic Robo Blast 2 %s-%s (%s %s) ", compbranch, comprevision, compdate, comptime);
|
||||
#else
|
||||
CONS_Printf("Sonic Robo Blast 2 %s (%s %s %s)\n", VERSIONSTRING, compdate, comptime, comprevision);
|
||||
CONS_Printf("Sonic Robo Blast 2 %s (%s %s %s) ", VERSIONSTRING, compdate, comptime, comprevision);
|
||||
#endif
|
||||
|
||||
// Base library
|
||||
#ifdef HAVE_SDL
|
||||
CONS_Printf("SDL ");
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
CONS_Printf("DD ");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// OS
|
||||
// Would be nice to use SDL_GetPlatform for this
|
||||
#ifdef _WIN32
|
||||
CONS_Printf("Windows ");
|
||||
#else
|
||||
#ifdef LINUX
|
||||
CONS_Printf("Linux ");
|
||||
#else
|
||||
#ifdef MACOSX
|
||||
CONS_Printf("macOS" );
|
||||
#else
|
||||
#ifdef UNIXCOMMON
|
||||
CONS_Printf("Unix (Common) ");
|
||||
#else
|
||||
CONS_Printf("Other OS ");
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Bitness
|
||||
#ifdef _WIN64
|
||||
CONS_Printf("x64 ");
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
CONS_Printf("x86 ");
|
||||
#else
|
||||
#ifdef NONX86
|
||||
CONS_Printf("Non-x86 ");
|
||||
#else
|
||||
#ifdef LINUX
|
||||
CONS_Printf("x86 ");
|
||||
#else
|
||||
CONS_Printf("Bits Unknown ");
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// No ASM?
|
||||
#ifdef NOASM
|
||||
CONS_Printf("\205NOASM \200");
|
||||
#endif
|
||||
|
||||
// Debug build
|
||||
#ifdef _DEBUG
|
||||
CONS_Printf("\205DEBUG \200");
|
||||
#endif
|
||||
|
||||
CONS_Printf("\n");
|
||||
}
|
||||
|
||||
#ifdef UPDATE_ALERT
|
||||
|
|
Loading…
Reference in a new issue