aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SDLContext.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-27 14:25:32 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-11-27 14:25:32 +0100
commit7070f22d86057eafca3b82321d4146958c14a33e (patch)
tree9355ce7728a5ab9a9dbf964461b854591e7018d9 /src/crepe/facade/SDLContext.h
parentad4de3ee60f699595bfd1950f88e5417fa29a0d5 (diff)
pr feedback
Diffstat (limited to 'src/crepe/facade/SDLContext.h')
-rw-r--r--src/crepe/facade/SDLContext.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h
index 3e0b073..9f18728 100644
--- a/src/crepe/facade/SDLContext.h
+++ b/src/crepe/facade/SDLContext.h
@@ -11,20 +11,16 @@
#include <string>
#include <utility>
-#include "../api/Event.h"
-#include "../api/KeyCodes.h"
-#include "../api/Sprite.h"
-#include "../api/Transform.h"
-#include "../api/Vector2.h"
+#include "api/Event.h"
+#include "api/KeyCodes.h"
+#include "api/Sprite.h"
+#include "api/Transform.h"
#include "api/Camera.h"
#include "types.h"
namespace crepe {
-// TODO: SDL_Keycode is defined in a header not distributed with crepe, which means this
-// typedef is unusable when crepe is packaged. Wouter will fix this later.
-//typedef SDL_Keycode CREPE_KEYCODES;
class LoopManager;
class InputSystem;
/**
@@ -93,7 +89,7 @@ private:
* @param sdlKey The SDL key code to convert.
* @return The corresponding `Keycode` value.
*/
- Keycode sdl_to_keycode(SDL_Keycode sdlKey);
+ Keycode sdl_to_keycode(SDL_Keycode sdl_key);
/**
* @brief Converts an SDL mouse button code to the custom MouseButton type.