| version 1.18 |  | version 1.19 | 
|---|
|  |  |  | 
| * main() for Inferno |  | * main() for Inferno | 
| * |  | * | 
| * $Log$ |  | * $Log$ | 
|  |  | * Revision 1.19  1999/12/08 01:03:51  donut | 
|  |  | * allow runtime selection of tmap routines | 
|  |  | * | 
| * Revision 1.18  1999/11/21 13:00:08  donut |  | * Revision 1.18  1999/11/21 13:00:08  donut | 
| * Changed screen_mode format.  Now directly encodes res into a 32bit int, rather than using arbitrary values. |  | * Changed screen_mode format.  Now directly encodes res into a 32bit int, rather than using arbitrary values. | 
| * |  | * | 
|  |  |  | 
| #include "altsound.h" |  | #include "altsound.h" | 
| //end this section addition - VR |  | //end this section addition - VR | 
|  |  |  | 
|  |  | #include "../texmap/scanline.h" //for select_tmap -MM | 
|  |  |  | 
| #ifdef __MSDOS__ |  | #ifdef __MSDOS__ | 
| #include <conio.h> |  | #include <conio.h> | 
| #else |  | #else | 
|  |  |  | 
| printf( "  -font640 <f>    %s\n", "font to use for res 640x* and above (default pc6x8.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( "  -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( "  -font1024 <f>    %s\n", "font to use for res 1024x* and above (default pc8x16.fnt)"); | 
|  |  | printf( "  -tmap <t>       %s\n","select texmapper to use (c,fp,i386,pent,ppro)"); | 
| printf( "\n\n"); |  | printf( "\n\n"); | 
|  |  |  | 
| printf( " System options:\n"); |  | printf( " System options:\n"); | 
|  |  |  | 
| cfile_use_alternate_hogdir(Args[t+1]); |  | cfile_use_alternate_hogdir(Args[t+1]); | 
| else |  | else | 
| cfile_use_alternate_hogdir(""); |  | cfile_use_alternate_hogdir(""); | 
|  |  |  | 
|  |  | if ((t=FindArg("-tmap"))){ | 
|  |  | select_tmap(Args[t+1]); | 
|  |  | }else | 
|  |  | select_tmap(NULL); | 
|  |  |  | 
| //added 8/6/98 by Victor Rachels to have init cockpit |  | //added 8/6/98 by Victor Rachels to have init cockpit | 
| if ((t=FindArg("-cockpit"))){ |  | if ((t=FindArg("-cockpit"))){ |