version 1.6 | | version 1.7 |
---|
| | |
| | |
void d1x_options_menu() | | void d1x_options_menu() |
{ | | { |
newmenu_item m[12]; | | newmenu_item m[14]; |
int i=0; | | int i=0; |
int opt=0; | | int opt=0; |
int inputs,checks,commands; | | int inputs,checks,commands; |
| | |
char smaxfps[4]; | | char smaxfps[4]; |
char shudmaxnumdisp[4]; | | char shudmaxnumdisp[4]; |
char thogdir[64]; | | char thogdir[64]; |
| | extern int gr_message_color_level; |
| | |
sprintf(thogdir,AltHogDir); | | sprintf(thogdir,AltHogDir); |
sprintf(smaxfps,"%d",maxfps); | | sprintf(smaxfps,"%d",maxfps); |
| | |
m[opt].type = NM_TYPE_INPUT; m[opt].text = thogdir; m[opt].text_len=64; opt++; | | m[opt].type = NM_TYPE_INPUT; m[opt].text = thogdir; m[opt].text_len=64; opt++; |
m[opt].type = NM_TYPE_TEXT; m[opt].text = "Hud Messages lines (1-80):"; opt++; | | m[opt].type = NM_TYPE_TEXT; m[opt].text = "Hud Messages lines (1-80):"; opt++; |
m[opt].type = NM_TYPE_INPUT; m[opt].text = shudmaxnumdisp; m[opt].text_len=3; opt++; | | m[opt].type = NM_TYPE_INPUT; m[opt].text = shudmaxnumdisp; m[opt].text_len=3; opt++; |
| | m[opt].type = NM_TYPE_SLIDER; m[opt].text = "Message colorization level"; m[opt].value=gr_message_color_level;m[opt].min_value=0;m[opt].max_value=3; opt++; |
checks=opt; | | checks=opt; |
#ifdef __MSDOS__ | | #ifdef __MSDOS__ |
m[opt].type = NM_TYPE_CHECK; m[opt].text = "Joy is sidewinder"; m[opt].value=Joy_is_Sidewinder; opt++; | | m[opt].type = NM_TYPE_CHECK; m[opt].text = "Joy is sidewinder"; m[opt].value=Joy_is_Sidewinder; opt++; |
| | |
// i=(inputs+4);//??? | | // i=(inputs+4);//??? |
} | | } |
} | | } |
| | gr_message_color_level=m[inputs+5].value; |
| | |
sprintf(shudmaxnumdisp,"%d",HUD_max_num_disp); | | sprintf(shudmaxnumdisp,"%d",HUD_max_num_disp); |
sprintf(smaxfps,"%d",maxfps); | | sprintf(smaxfps,"%d",maxfps); |