|
@ -131,19 +131,23 @@ private: |
|
|
virtual void render(); |
|
|
virtual void render(); |
|
|
virtual void exit(); |
|
|
virtual void exit(); |
|
|
virtual void handleEvent(const WindowResizedEvent& event); |
|
|
virtual void handleEvent(const WindowResizedEvent& event); |
|
|
|
|
|
virtual void handleEvent(const GamepadConnectedEvent& event); |
|
|
|
|
|
virtual void handleEvent(const GamepadDisconnectedEvent& event); |
|
|
|
|
|
|
|
|
|
|
|
void setupDebugging(); |
|
|
void setupLocalization(); |
|
|
void setupLocalization(); |
|
|
void setupWindow(); |
|
|
void setupWindow(); |
|
|
void setupGraphics(); |
|
|
void setupGraphics(); |
|
|
void setupUI(); |
|
|
void setupUI(); |
|
|
void setupControls(); |
|
|
void setupControls(); |
|
|
void setupGameplay(); |
|
|
void setupGameplay(); |
|
|
void setupDebugging(); |
|
|
|
|
|
|
|
|
|
|
|
void resetSettings(); |
|
|
void resetSettings(); |
|
|
void loadSettings(); |
|
|
void loadSettings(); |
|
|
void saveSettings(); |
|
|
void saveSettings(); |
|
|
void loadStrings(); |
|
|
void loadStrings(); |
|
|
|
|
|
void loadControlProfile(); |
|
|
|
|
|
void saveControlProfile(); |
|
|
|
|
|
|
|
|
void resizeUI(int w, int h); |
|
|
void resizeUI(int w, int h); |
|
|
void restringUI(); |
|
|
void restringUI(); |
|
@ -245,6 +249,9 @@ public: |
|
|
ControlSet debugControls; |
|
|
ControlSet debugControls; |
|
|
Control toggleWireframeControl; |
|
|
Control toggleWireframeControl; |
|
|
|
|
|
|
|
|
|
|
|
// Map of control names
|
|
|
|
|
|
std::map<std::string, Control*> controlNameMap; |
|
|
|
|
|
|
|
|
// Logic
|
|
|
// Logic
|
|
|
float time; |
|
|
float time; |
|
|
float timestep; |
|
|
float timestep; |
|
|