From d2844264d91d58018ec7453fd77d82dd335c3199 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Tue, 27 Feb 2018 23:25:05 +0100 Subject: [PATCH] rwgame+tests: include SDL2 as "#include " --- rwgame/GameInput.hpp | 2 +- rwgame/State.hpp | 4 ++-- rwgame/main.cpp | 2 +- tests/test_Globals.hpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/rwgame/GameInput.hpp b/rwgame/GameInput.hpp index df0b1e23..fad14eb9 100644 --- a/rwgame/GameInput.hpp +++ b/rwgame/GameInput.hpp @@ -1,7 +1,7 @@ #ifndef RWGAME_GAMEINPUT_HPP #define RWGAME_GAMEINPUT_HPP #include "engine/GameState.hpp" -#include "SDL2/SDL.h" +#include namespace GameInput { void updateGameInputState(GameInputState* state, const SDL_Event& event); diff --git a/rwgame/State.hpp b/rwgame/State.hpp index 540ea1bc..2d7bbf79 100644 --- a/rwgame/State.hpp +++ b/rwgame/State.hpp @@ -3,8 +3,8 @@ #include #include "GameWindow.hpp" #include "MenuSystem.hpp" -#include "SDL.h" -#include "SDL_events.h" +#include +#include class RWGame; class GameWorld; diff --git a/rwgame/main.cpp b/rwgame/main.cpp index b7ef321b..f9d04d1f 100644 --- a/rwgame/main.cpp +++ b/rwgame/main.cpp @@ -1,7 +1,7 @@ #define SDL_MAIN_HANDLED #include #include "RWGame.hpp" -#include "SDL.h" +#include #include diff --git a/tests/test_Globals.hpp b/tests/test_Globals.hpp index 2a1f04cf..b7afc5b7 100644 --- a/tests/test_Globals.hpp +++ b/tests/test_Globals.hpp @@ -2,7 +2,7 @@ #define _TESTGLOBALS_HPP_ #include -#include +#include #include #include #include