Made the version command print which external libraries were disabled.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3315 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
696b1365d6
commit
a976ac2428
1 changed files with 29 additions and 0 deletions
|
@ -3033,6 +3033,35 @@ void COM_Version_f (void)
|
|||
Con_Printf("Unknown Microsoft C++ compiler: %i %i\n",_MSC_VER, _MSC_FULL_VER);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
//print out which libraries are disabled
|
||||
#ifndef AVAIL_ZLIB
|
||||
Con_Printf("zlib disabled\n");
|
||||
#endif
|
||||
|
||||
//but print client ones only if we're not dedicated
|
||||
#ifndef SERVERONLY
|
||||
#ifndef AVAIL_PNGLIB
|
||||
Con_Printf("libpng disabled\n");
|
||||
#endif
|
||||
#ifndef AVAIL_JPEGLIB
|
||||
Con_Printf("libjpeg disabled\n");
|
||||
#endif
|
||||
#ifndef AVAIL_OGGVORBIS
|
||||
Con_Printf("libvorbis disabled\n");
|
||||
#endif
|
||||
#ifndef AVAIL_FREETYPE
|
||||
Con_Printf("freetype2 disabled\n");
|
||||
#endif
|
||||
#ifdef _WIN32
|
||||
#ifndef AVAIL_DINPUT
|
||||
Con_Printf("dinput disabled\n");
|
||||
#endif
|
||||
#ifndef AVAIL_DSOUND
|
||||
Con_Printf("dsound disabled\n");
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue