Difference for main/game.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.8  1999/09/16 03:34:15  donut
    * cleaned up fullscreen toggle code to make it easy to add support to other targets later, and added -nosdlvidmodecheck
    *
  * Revision 1.7  1999/08/30 02:24:30  donut   * Revision 1.7  1999/08/30 02:24:30  donut
  * fixed undefined d1x_options_menu/change_res in non-SDL compiles   * fixed undefined d1x_options_menu/change_res in non-SDL compiles
  *   *
Line 429
 
Line 432
 //end this section addition  //end this section addition
   
 //added 8/23/99 by Matt Mueller for hot key res/fullscreen changing, and menu access  //added 8/23/99 by Matt Mueller for hot key res/fullscreen changing, and menu access
 #ifdef SDL_VIDEO  
 extern int sdl_video_flags;  
 #include <SDL/SDL_video.h>  
 #endif  
 extern void change_res();  extern void change_res();
 extern void d1x_options_menu();  extern void d1x_options_menu();
 //end addition -MM  //end addition -MM
Line 3761
 
Line 3760
  //increase res   //increase res
  break;   break;
  case KEY_ALTED+KEY_SHIFTED+KEY_PADENTER:   case KEY_ALTED+KEY_SHIFTED+KEY_PADENTER:
 #ifdef SDL_VIDEO  #ifdef GR_SUPPORTS_FULLSCREEN_TOGGLE
  hud_message(MSGC_GAME_FEEDBACK, "toggling fullscreen mode %s",sdl_video_flags&SDL_FULLSCREEN?"off":"on" );   hud_message(MSGC_GAME_FEEDBACK, "toggling fullscreen mode %s",gr_toggle_fullscreen()?"on":"off" );
  sdl_video_flags^=SDL_FULLSCREEN;  
  grd_curscreen->sc_mode=0;//hack to get it to reset screen mode  
 #else  #else
  hud_message(MSGC_GAME_FEEDBACK, "fullscreen toggle not supported by this target");   hud_message(MSGC_GAME_FEEDBACK, "fullscreen toggle not supported by this target");
 #endif  #endif

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