Difference for main/menu.c from version 1.3 to 1.4


version 1.3 version 1.4
Line 851
 
Line 851
   
 extern int last_drawn_cockpit[2];  extern int last_drawn_cockpit[2];
 //added 05/27/99 Matt Mueller - in game fullscreen changing  //added 05/27/99 Matt Mueller - in game fullscreen changing
 #ifdef SDL_VIDEO  #ifdef __SDL__
 extern int sdl_video_flags;  extern int sdl_video_flags;
 #include <SDL/SDL_video.h>  #include <SDL/SDL_video.h>
 #endif  #endif
Line 862
 
Line 862
  newmenu_item m[8];   newmenu_item m[8];
  int modes[8];   int modes[8];
  int i=0, mc=0;   int i=0, mc=0;
 #ifdef SDL_VIDEO  #ifdef __SDL__
  int fullscreenc;   int fullscreenc;
 #endif  #endif
  //end edit -MM   //end edit -MM
Line 891
 
Line 891
 // m[mc].type = NM_TYPE_CHECK; m[mc].text = "No Doublebuffer"; m[mc].value = use_double_buffer;  // m[mc].type = NM_TYPE_CHECK; m[mc].text = "No Doublebuffer"; m[mc].value = use_double_buffer;
   
  //added 05/27/99 Matt Mueller - ingame fullscreen changing   //added 05/27/99 Matt Mueller - ingame fullscreen changing
 #ifdef SDL_VIDEO  #ifdef __SDL__
  fullscreenc=mc;m[mc].type = NM_TYPE_CHECK; m[mc].text = "Fullscreen"; m[mc].value = (sdl_video_flags & SDL_FULLSCREEN)?1:0;mc++;   fullscreenc=mc;m[mc].type = NM_TYPE_CHECK; m[mc].text = "Fullscreen"; m[mc].value = (sdl_video_flags & SDL_FULLSCREEN)?1:0;mc++;
 #endif  #endif
  //end addition -MM   //end addition -MM
Line 900
 
Line 900
    i=newmenu_do1( NULL, "Screen Resolution", mc, m, &change_res_poll, i);     i=newmenu_do1( NULL, "Screen Resolution", mc, m, &change_res_poll, i);
   
   //added 05/27/99 Matt Mueller - ingame fullscreen changing    //added 05/27/99 Matt Mueller - ingame fullscreen changing
 #ifdef SDL_VIDEO  #ifdef __SDL__
    if (m[fullscreenc].value != (sdl_video_flags & SDL_FULLSCREEN)?1:0){     if (m[fullscreenc].value != (sdl_video_flags & SDL_FULLSCREEN)?1:0){
     if (m[fullscreenc].value)      if (m[fullscreenc].value)
     sdl_video_flags|=SDL_FULLSCREEN;      sdl_video_flags|=SDL_FULLSCREEN;

Legend:
line(s) removed in v.1.3 
line(s) changed
 line(s) added in v.1.4