1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-07 03:12:36 +01:00

Fix SDL2 #include paths

This commit is contained in:
Jannik Vogel 2016-08-08 17:27:17 +02:00
parent d92bbcdf0d
commit d2d8a97a09
9 changed files with 4 additions and 9 deletions

View File

@ -2,7 +2,7 @@
#define GAMEWINDOW_HPP #define GAMEWINDOW_HPP
#include <string> #include <string>
#include <SDL2/SDL.h> #include "SDL.h"
#include <glm/vec2.hpp> #include <glm/vec2.hpp>
#include <render/GameRenderer.hpp> #include <render/GameRenderer.hpp>

View File

@ -12,7 +12,7 @@
#include "GameConfig.hpp" #include "GameConfig.hpp"
#include "GameWindow.hpp" #include "GameWindow.hpp"
#include <SDL2/SDL.h> #include "SDL.h"
class PlayerController; class PlayerController;

View File

@ -5,7 +5,8 @@
#include <render/ViewCamera.hpp> #include <render/ViewCamera.hpp>
#include "MenuSystem.hpp" #include "MenuSystem.hpp"
#include <glm/gtc/quaternion.hpp> #include <glm/gtc/quaternion.hpp>
#include <SDL2/SDL.h> #include "SDL.h"
#include "SDL_events.h"
#include "GameWindow.hpp" #include "GameWindow.hpp"
class RWGame; class RWGame;

View File

@ -1,7 +1,6 @@
#ifndef _RWGAME_BENCHMARKSTATE_HPP_ #ifndef _RWGAME_BENCHMARKSTATE_HPP_
#define _RWGAME_BENCHMARKSTATE_HPP_ #define _RWGAME_BENCHMARKSTATE_HPP_
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class BenchmarkState : public State class BenchmarkState : public State

View File

@ -1,7 +1,6 @@
#ifndef DEBUGSTATE_HPP #ifndef DEBUGSTATE_HPP
#define DEBUGSTATE_HPP #define DEBUGSTATE_HPP
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class DebugState : public State class DebugState : public State

View File

@ -1,7 +1,6 @@
#ifndef INGAMESTATE_HPP #ifndef INGAMESTATE_HPP
#define INGAMESTATE_HPP #define INGAMESTATE_HPP
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class PlayerController; class PlayerController;

View File

@ -1,7 +1,6 @@
#ifndef LOADINGSTATE_HPP #ifndef LOADINGSTATE_HPP
#define LOADINGSTATE_HPP #define LOADINGSTATE_HPP
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class LoadingState : public State class LoadingState : public State

View File

@ -1,7 +1,6 @@
#ifndef MENUSTATE_HPP #ifndef MENUSTATE_HPP
#define MENUSTATE_HPP #define MENUSTATE_HPP
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class MenuState : public State class MenuState : public State

View File

@ -1,7 +1,6 @@
#ifndef PAUSESTATE_HPP #ifndef PAUSESTATE_HPP
#define PAUSESTATE_HPP #define PAUSESTATE_HPP
#include <SDL2/SDL_events.h>
#include "State.hpp" #include "State.hpp"
class PauseState : public State class PauseState : public State