Difference for main/game.c from version 1.28 to 1.29


version 1.28 version 1.29
Line 19
 
Line 19
  * Game loop for Inferno   * Game loop for Inferno
  *   *
  * $Log$   * $Log$
    * Revision 1.29  2002/07/08 01:04:41  donut
    * add alt+enter to toggle fullscreen (in addition to previous key combos)
    *
  * Revision 1.28  2002/04/24 05:51:51  donut   * Revision 1.28  2002/04/24 05:51:51  donut
  * crap.  test code slipped into last commit   * crap.  test code slipped into last commit
  *   *
Line 1345
 
Line 1348
  //added 2000/06/19 Matthew Mueller - hack to fix "infinite toggle" problem   //added 2000/06/19 Matthew Mueller - hack to fix "infinite toggle" problem
  //it seems to be that the screen mode change takes long enough that the key has already sent repeat codes, or that its unpress event gets dropped, etc.  This is a somewhat ugly fix, but it works.   //it seems to be that the screen mode change takes long enough that the key has already sent repeat codes, or that its unpress event gets dropped, etc.  This is a somewhat ugly fix, but it works.
  generic_key_handler(KEY_PADENTER,0);   generic_key_handler(KEY_PADENTER,0);
    generic_key_handler(KEY_ENTER,0);
  key_flush();   key_flush();
  //end addition -MM   //end addition -MM
  return i;   return i;
Line 1360
 
Line 1364
  i=arch_toggle_fullscreen_menu();   i=arch_toggle_fullscreen_menu();
   
  generic_key_handler(KEY_PADENTER,0);   generic_key_handler(KEY_PADENTER,0);
    generic_key_handler(KEY_ENTER,0);
  key_flush();   key_flush();
   
  return i;   return i;

Legend:
line(s) removed in v.1.28 
line(s) changed
 line(s) added in v.1.29