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


version 1.6 version 1.7
Line 19
 
Line 19
  * Routines for menus.   * Routines for menus.
  *    *
  * $Log$   * $Log$
    * Revision 1.7  1999/11/22 11:18:16  donut
    * fix absurdly tall pilot selection type menus
    *
  * Revision 1.6  1999/11/21 13:54:19  donut   * Revision 1.6  1999/11/21 13:54:19  donut
  * moved the d1x version up/left somewhat   * moved the d1x version up/left somewhat
  *   *
Line 1778
 
Line 1781
 // w_h = 170 - 30 + 1 + 30;  // w_h = 170 - 30 + 1 + 30;
    
  w_w = GWIDTH - 180*GWIDTH/320 + 1 + 30;   w_w = GWIDTH - 180*GWIDTH/320 + 1 + 30;
  w_h = GHEIGHT - 60*GHEIGHT/200 + 1 + 30;   //w_h = GHEIGHT - 60*GHEIGHT/200 + 1 + 30;
    //NumFiles_displayed=(GHEIGHT-10)/font_height-4;//it works, but do we want it really?
    w_h=(NumFiles_displayed+3+1)*font_height+10;//scale height to font size, not screen size.
  blank_w = 120*GWIDTH/320;   blank_w = 120*GWIDTH/320;
   
    
  if ( w_w > GWIDTH ) w_w = GWIDTH;//was 320   if ( w_w > GWIDTH ) w_w = GWIDTH;//was 320
  if ( w_h > GHEIGHT ) w_h = GHEIGHT;//was 200   if ( w_h > GHEIGHT ) w_h = GHEIGHT;//was 200

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