version 1.26 | | version 1.27 |
---|
| | |
* main() for Inferno | | * main() for Inferno |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.27 2000/11/13 04:33:55 donut |
| | * add -rearviewtime argument |
| | * |
* Revision 1.26 2000/04/21 22:15:34 sekmu | | * Revision 1.26 2000/04/21 22:15:34 sekmu |
* ordered -? output | | * ordered -? output |
* | | * |
| | |
printf( " -automap_gameres %s\n", "Set automap to use the same resolution as in game"); | | printf( " -automap_gameres %s\n", "Set automap to use the same resolution as in game"); |
printf( " -menu<X>x<Y> %s\n", "Set menu resolution to <X> by <Y>"); | | printf( " -menu<X>x<Y> %s\n", "Set menu resolution to <X> by <Y>"); |
printf( " -menu_gameres %s\n", "Set menus to use the same resolution as in game"); | | printf( " -menu_gameres %s\n", "Set menus to use the same resolution as in game"); |
| | printf( " -rearviewtime t %s\n", "time holding rearview key to use toggle mode (default 0.25 seconds)"); |
| | |
printf( "\n%s\n",TXT_PRESS_ANY_KEY3); | | printf( "\n%s\n",TXT_PRESS_ANY_KEY3); |
getch(); | | getch(); |
| | |
Gauge_hud_mode = t; | | Gauge_hud_mode = t; |
} | | } |
//end addition -MM | | //end addition -MM |
| | if ((t=FindArg("-rearviewtime"))){ |
| | float f=atof(Args[t+1]); |
| | Rear_view_leave_time=f*f1_0; |
| | } |
| | mprintf((0,"Rear_view_leave_time=0x%x (%f sec)\n",Rear_view_leave_time,Rear_view_leave_time/(float)f1_0)); |
#ifdef NETWORK | | #ifdef NETWORK |
if (FindArg("-pingstats")) | | if (FindArg("-pingstats")) |
ping_stats_on = 1; | | ping_stats_on = 1; |