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:
parent
f169c0479c
commit
9bc5ea655b
3 changed files with 75 additions and 46 deletions
25
src/stubs.c
25
src/stubs.c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue