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