1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2009-07-19 03:51:07 +00:00
parent 696b1365d6
commit a976ac2428

View file

@ -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
}