Print build options at startup

This commit is contained in:
Yamagi Burmeister 2012-04-25 09:50:06 +00:00
parent a00ce8dee3
commit 38943b3573
2 changed files with 30 additions and 0 deletions

View file

@ -1096,6 +1096,19 @@ R_Init ( void *hinstance, void *hWnd )
r_turbsin [ j ] *= 0.5;
}
/* Options */
Com_Printf("Refresher build options:\n");
#ifdef RETEXTURE
Com_Printf(" + Retexturing support\n");
#else
Com_Printf(" - Retexturing support\n");
#endif
#ifdef X11GAMA
Com_Printf(" + Gamma via X11\n");
#else
Com_Printf(" - Gamma via X11\n");
#endif
ri.Con_Printf( PRINT_ALL, "Refresh: " REF_VERSION "\n" );
Draw_GetPalette();

View file

@ -55,6 +55,23 @@ main ( int argc, char **argv )
printf( "\nYamagi Quake II v%4.2f\n", VERSION);
printf( "=====================\n\n");
printf("Client build options:\n");
#ifdef CDA
printf(" + CD audio\n");
#else
printf(" - CD audio\n");
#endif
#ifdef OGG
printf(" + OGG/Vorbis\n");
#else
printf(" - OGG/Vorbis\n");
#endif
#ifdef ZIP
printf(" + Zip file support\n");
#else
printf(" - Zip file support\n");
#endif
printf("Platform: %s\n", BUILDSTRING);
printf("Architecture: %s\n", CPUSTRING);