Difference for main/menu.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 1012
 
Line 1012
   
 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;
Line 1020
 
Line 1020
  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);
Line 1053
 
Line 1054
      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++;
Line 1115
 
Line 1117
 //                   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);

Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7