version 1.6 | | version 1.7 |
---|
| | |
* main() for Inferno | | * main() for Inferno |
* | | * |
* $Log$ | | * $Log$ |
| | * Revision 1.7 1999/08/31 21:22:08 donut |
| | * added variable colorization level, and colorization for kill/join/quit messages |
| | * |
* Revision 1.6 1999/08/31 07:47:03 donut | | * Revision 1.6 1999/08/31 07:47:03 donut |
* added user configurable number of hud message lines (and moved some defines to hudmsg.h to remove redundancy in gauges.c) | | * added user configurable number of hud message lines (and moved some defines to hudmsg.h to remove redundancy in gauges.c) |
* | | * |
| | |
printf( " -hudlogstdout %s\n", "Log hud messages to stdout"); | | printf( " -hudlogstdout %s\n", "Log hud messages to stdout"); |
//end edit -MM | | //end edit -MM |
printf( " -hudlines <l> %s\n", "Number of hud messages to show"); | | printf( " -hudlines <l> %s\n", "Number of hud messages to show"); |
| | printf( " -msgcolorlevel <c> %s\n", "Level of colorization for hud messages (0-3)"); |
printf( " -nobans %s\n", "Don't use saved bans"); | | printf( " -nobans %s\n", "Don't use saved bans"); |
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"); |
| | |
ping_stats_on = 1; | | ping_stats_on = 1; |
#endif | | #endif |
| | |
| | |
| | if ((t=FindArg("-msgcolorlevel"))){ |
| | extern int gr_message_color_level; |
| | t=atoi(Args[t+1]); |
| | if(t>=0 && t<=3) |
| | gr_message_color_level = t; |
| | } |
| | |
if ((t=FindArg("-hudlines"))){ | | if ((t=FindArg("-hudlines"))){ |
t=atoi(Args[t+1]); | | t=atoi(Args[t+1]); |
if(t>0 && t<=HUD_MAX_NUM) | | if(t>0 && t<=HUD_MAX_NUM) |