Difference for main/inferno.c from version 1.12 to 1.13


version 1.12 version 1.13
Line 18
 
Line 18
  * main() for Inferno     * main() for Inferno 
  *   *
  * $Log$   * $Log$
    * Revision 1.13  1999/10/08 04:26:01  donut
    * automap fix for high fps(including -niceautomap), -automap_gameres, and better -font* help
    *
  * Revision 1.12  1999/10/08 00:57:53  donut   * Revision 1.12  1999/10/08 00:57:53  donut
  * documented various ogl and -font command line switches   * documented various ogl and -font command line switches
  *   *
Line 929
 
Line 932
         printf( "  -notitles       %s\n", "Do not show titlescreens on startup");          printf( "  -notitles       %s\n", "Do not show titlescreens on startup");
         printf( "  -ini <file>     %s\n", "option file (alternate to command line)");          printf( "  -ini <file>     %s\n", "option file (alternate to command line)");
         printf( "  -nicefps        %s\n", "Free cpu while waiting for next frame");          printf( "  -nicefps        %s\n", "Free cpu while waiting for next frame");
           printf( "  -niceautomap    %s\n", "Free cpu while doing automap");
         printf( "  -automap<X>x<Y> %s\n", "Set automap resolution to <X> by <Y>");          printf( "  -automap<X>x<Y> %s\n", "Set automap resolution to <X> by <Y>");
           printf( "  -automap_gameres %s\n", "Set automap to use the same resolution as in game");
         printf( "  -ackmsg         %s\n", "Turn on packet acknowledgement debug msgs");          printf( "  -ackmsg         %s\n", "Turn on packet acknowledgement debug msgs");
  printf( "\n%s\n",TXT_PRESS_ANY_KEY3);   printf( "\n%s\n",TXT_PRESS_ANY_KEY3);
  getch();   getch();
Line 951
 
Line 956
         printf( "  -savebans       %s\n", "Automatically save new bans");          printf( "  -savebans       %s\n", "Automatically save new bans");
         printf( "  -pingstats      %s\n", "Show pingstats on hud");          printf( "  -pingstats      %s\n", "Show pingstats on hud");
         printf( "  -fastext        %s\n", "Fast external control");          printf( "  -fastext        %s\n", "Fast external control");
         printf( "  -font<X> <f>    %s\n", "specify font to use for res <X>x* and above");          printf( "  -font320 <f>    %s\n", "font to use for res 320x* and above (default font3-1.fnt)");
           printf( "  -font640 <f>    %s\n", "font to use for res 640x* and above (default pc6x8.fnt)");
           printf( "  -font800 <f>    %s\n", "font to use for res 800x* and above");
           printf( "  -font1024 <f>    %s\n", "font to use for res 1024x* and above (default pc8x16.fnt)");
         printf( "\n\n");          printf( "\n\n");
   
         printf( " System options:\n");          printf( " System options:\n");
Line 1172
 
Line 1180
         if ( FindArg( "-nicefps"))          if ( FindArg( "-nicefps"))
                 use_nice_fps = 1;                  use_nice_fps = 1;
 #endif  #endif
    if (FindArg( "-niceautomap"))
    nice_automap=1;
   
  if ( FindArg( "-fps" ))   if ( FindArg( "-fps" ))
  framerate_on = 1;   framerate_on = 1;
Line 1331
 
Line 1341
  MAPMODE(V,640,480);   MAPMODE(V,640,480);
  MAPMODE(V,800,600);   MAPMODE(V,800,600);
  MAPMODE(V,1024,768);   MAPMODE(V,1024,768);
  if (Inferno_verbose) printf( "automap using %ix%i ...\n",automap_width,automap_height );   if ((i=FindArg("-automap_gameres"))){
    if (i<argnum)
    automap_use_game_res=1;
    }
   
    if (Inferno_verbose) {
    if (automap_use_game_res)
    printf( "automap using game resolution ...\n");
    else
    printf( "automap using %ix%i ...\n",automap_width,automap_height );
    }
  }   }
 //end addition -MM  //end addition -MM
    

Legend:
line(s) removed in v.1.12 
line(s) changed
 line(s) added in v.1.13