Difference for main/game.c from version 1.5 to 1.6


version 1.5 version 1.6
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.6  1999/08/23 18:04:55  donut
    * added hotkeys for reschange and d1x menu
    *
  * Revision 1.5  1999/08/14 15:49:51  donut   * Revision 1.5  1999/08/14 15:49:51  donut
  * moved MENU_SCREEN_MODE to main/screens.h so that it can be used for the startup screen mode in inferno.c   * moved MENU_SCREEN_MODE to main/screens.h so that it can be used for the startup screen mode in inferno.c
  *   *
Line 422
 
Line 425
 #include "vlcnfire.h"  #include "vlcnfire.h"
 //end this section addition  //end this section addition
   
   //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>
   extern void change_res();
   extern void d1x_options_menu();
   #endif
   //end addition -MM
   
   
   
Line 3729
 
Line 3740
  case KEY_MINUS: shrink_window(); break;   case KEY_MINUS: shrink_window(); break;
                                 case KEY_SHIFTED+KEY_EQUAL:                                  case KEY_SHIFTED+KEY_EQUAL:
  case KEY_EQUAL: grow_window(); break;   case KEY_EQUAL: grow_window(); break;
   
    //added 8/23/99 by Matt Mueller for hot key res/fullscreen changing, and menu access
    case KEY_ALTED+KEY_SHIFTED+KEY_PADDIVIDE:
    d1x_options_menu();
    break;
    case KEY_ALTED+KEY_SHIFTED+KEY_PADMULTIPLY:
    change_res();
    break;
    case KEY_ALTED+KEY_SHIFTED+KEY_PADMINUS:
    //lower res
    //should we just cycle through the list that is displayed in the res change menu?
    // what if their card/X/etc can't handle that mode? hrm.
    //well, the quick access to the menu is good enough for now.
    break;
    case KEY_ALTED+KEY_SHIFTED+KEY_PADPLUS:
    //increase res
    break;
    case KEY_ALTED+KEY_SHIFTED+KEY_PADENTER:
   #ifdef SDL_VIDEO
    hud_message(MSGC_GAME_FEEDBACK, "toggling fullscreen mode %s",sdl_video_flags&SDL_FULLSCREEN?"off":"on" );
    sdl_video_flags^=SDL_FULLSCREEN;
    grd_curscreen->sc_mode=0;//hack to get it to reset screen mode
   #else
    hud_message(MSGC_GAME_FEEDBACK, "fullscreen toggle not supported by this target");
   #endif
    break;
    //end addition -MM
   
                                 //added 11/01/98 Matt Mueller                                  //added 11/01/98 Matt Mueller
                                 case KEY_CTRLED+KEY_ALTED+KEY_LAPOSTRO:                                  case KEY_CTRLED+KEY_ALTED+KEY_LAPOSTRO:

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