version 1.28 | | version 1.29 |
---|
| | |
* 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 |
* | | * |
| | |
//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; |
| | |
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; |