Added ctrl+g mouse grab toggle and alt+enter fullscreen toggle.

Mouse now works during game.

Escape currently exits game (since there is no menu).
This commit is contained in:
Steven Fuller 2001-08-13 01:20:45 +00:00 committed by Patryk Obara
parent f169c0479c
commit 9bc5ea655b
3 changed files with 75 additions and 46 deletions

View file

@ -474,31 +474,6 @@ BOOL ChangeDirectDrawObject()
}
/* di_func.cpp */
unsigned char DebouncedGotAnyKey;
unsigned char DebouncedKeyboardInput[MAX_NUMBER_OF_INPUT_KEYS];
int GotJoystick;
int GotMouse;
int JoystickEnabled;
int MouseVelX;
int MouseVelY;
void DirectReadKeyboard()
{
// fprintf(stderr, "DirectReadKeyboard()\n");
}
void DirectReadMouse()
{
// fprintf(stderr, "DirectReadMouse()\n");
}
void ReadJoysticks()
{
// fprintf(stderr, "ReadJoysticks()\n");
}
/* dx_proj.cpp */
int use_mmx_math = 0;