version 1.32 | | version 1.33 |
---|
| | |
* main() for Inferno | | * main() for Inferno |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.33 2002/04/24 06:44:07 donut |
| | * add -renderstats command line arg to activate RENDERSTATS |
| | * |
* Revision 1.32 2002/04/22 20:15:35 donut | | * Revision 1.32 2002/04/22 20:15:35 donut |
* add anisotropic texture filtering support | | * add anisotropic texture filtering support |
* | | * |
| | |
printf( " -hud <h> %s\n", "Set hud mode. 0=normal 1-3=new"); | | printf( " -hud <h> %s\n", "Set hud mode. 0=normal 1-3=new"); |
//end addition -MM | | //end addition -MM |
printf( " -fps %s\n", "Enable FPS indicator by default"); | | printf( " -fps %s\n", "Enable FPS indicator by default"); |
| | #ifdef OGL //currently only does anything on ogl build, so don't advertise othewise. |
| | printf( " -renderstats %s\n", "Enable renderstats info by default"); |
| | #endif |
printf( " -demo <f> %s\n", "Start playing demo <f>"); | | printf( " -demo <f> %s\n", "Start playing demo <f>"); |
printf( " -maxfps <n> %s\n", "Set maximum framerate (1-100)"); | | printf( " -maxfps <n> %s\n", "Set maximum framerate (1-100)"); |
printf( " -notitles %s\n", "Do not show titlescreens on startup"); | | printf( " -notitles %s\n", "Do not show titlescreens on startup"); |
| | |
| | |
if ( FindArg( "-fps" )) | | if ( FindArg( "-fps" )) |
framerate_on = 1; | | framerate_on = 1; |
| | |
| | if ( FindArg( "-renderstats" )) |
| | gr_renderstats = 1; |
| | |
if ((t = FindArg( "-demo" ))) { | | if ((t = FindArg( "-demo" ))) { |
strncpy(start_demo, Args[t + 1], 12); | | strncpy(start_demo, Args[t + 1], 12); |