mirror of
https://github.com/rt64/rt64.git
synced 2025-02-06 00:40:01 +00:00
Fix build errors.
This commit is contained in:
parent
33fd9fd88d
commit
df28e32ab5
@ -494,6 +494,9 @@ namespace RT64 {
|
|||||||
case SDL_SCANCODE_F4:
|
case SDL_SCANCODE_F4:
|
||||||
processDeveloperShortcut(DeveloperShortcut::Replacements);
|
processDeveloperShortcut(DeveloperShortcut::Replacements);
|
||||||
return true;
|
return true;
|
||||||
|
default:
|
||||||
|
// Don't filter the key event.
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,16 +23,7 @@ namespace RT64 {
|
|||||||
ApplicationWindow *ApplicationWindow::HookedApplicationWindow = nullptr;
|
ApplicationWindow *ApplicationWindow::HookedApplicationWindow = nullptr;
|
||||||
|
|
||||||
ApplicationWindow::ApplicationWindow() {
|
ApplicationWindow::ApplicationWindow() {
|
||||||
windowHandle = {};
|
// Empty.
|
||||||
sdlEventFilterUserdata = nullptr;
|
|
||||||
sdlEventFilterStored = false;
|
|
||||||
fullScreen = false;
|
|
||||||
lastMaximizedState = false;
|
|
||||||
# ifdef _WIN32
|
|
||||||
windowHook = nullptr;
|
|
||||||
windowMenu = nullptr;
|
|
||||||
# endif
|
|
||||||
usingSdl = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ApplicationWindow::~ApplicationWindow() {
|
ApplicationWindow::~ApplicationWindow() {
|
||||||
|
@ -31,12 +31,12 @@ namespace RT64 {
|
|||||||
# endif
|
# endif
|
||||||
};
|
};
|
||||||
|
|
||||||
RenderWindow windowHandle;
|
RenderWindow windowHandle = {};
|
||||||
Listener *listener;
|
Listener *listener;
|
||||||
uint32_t refreshRate = 0;
|
uint32_t refreshRate = 0;
|
||||||
bool fullScreen;
|
bool fullScreen = false;
|
||||||
bool lastMaximizedState;
|
bool lastMaximizedState = false;
|
||||||
bool usingSdl;
|
bool usingSdl = false;
|
||||||
int32_t windowLeft = INT32_MAX;
|
int32_t windowLeft = INT32_MAX;
|
||||||
int32_t windowTop = INT32_MAX;
|
int32_t windowTop = INT32_MAX;
|
||||||
SDL_EventFilter sdlEventFilterStored = nullptr;
|
SDL_EventFilter sdlEventFilterStored = nullptr;
|
||||||
@ -44,9 +44,9 @@ namespace RT64 {
|
|||||||
bool sdlEventFilterInstalled = false;
|
bool sdlEventFilterInstalled = false;
|
||||||
|
|
||||||
# ifdef _WIN32
|
# ifdef _WIN32
|
||||||
HHOOK windowHook;
|
HHOOK windowHook = nullptr;
|
||||||
HMENU windowMenu;
|
HMENU windowMenu = nullptr;
|
||||||
RECT lastWindowRect;
|
RECT lastWindowRect = {};
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
ApplicationWindow();
|
ApplicationWindow();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user