Drop SDL2/ prefix on includes

pkg-config, cmake, all demos and tests define the path with SDL2/
already included.
This commit is contained in:
Michał Janiszewski authored and Aaron van Geffen committed 2019-01-06 17:29:29 +01:00
1 parent 0328355f9e
commit ecfbf60cc4
22 files changed
+23 -23

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL.h>
#include <functional>
#include <map>
#include <openrct2/interface/Cursors.h>
+1 -1
View File
@@ -9,7 +9,7 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL.h>
#include <stdexcept>
#include <string>
+1 -1
View File
@@ -12,7 +12,7 @@
#include "UiContext.h"
#include "interface/InGameConsole.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <openrct2-ui/interface/Window.h>
#include <openrct2/common.h>
+2 -2
View File
@@ -22,8 +22,8 @@
// Then the rest
# include "UiContext.h"
# include <SDL2/SDL.h>
# include <SDL2/SDL_syswm.h>
# include <SDL.h>
# include <SDL_syswm.h>
# include <algorithm>
# include <openrct2/common.h>
# include <openrct2/core/Path.hpp>
+1 -1
View File
@@ -19,7 +19,7 @@
#include "interface/Theme.h"
#include "title/TitleSequencePlayer.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <chrono>
#include <cmath>
+1 -1
View File
@@ -10,7 +10,7 @@
#include "AudioContext.h"
#include "AudioFormat.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <cmath>
#include <openrct2/audio/AudioChannel.h>
+1 -1
View File
@@ -11,7 +11,7 @@
#include "../SDLException.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <openrct2/audio/AudioContext.h>
#include <openrct2/common.h>
#include <openrct2/core/String.hpp>
+1 -1
View File
@@ -9,7 +9,7 @@
#pragma once
#include <SDL2/SDL.h>
#include <SDL.h>
#include <openrct2/common.h>
namespace OpenRCT2::Audio
+1 -1
View File
@@ -10,7 +10,7 @@
#include "AudioContext.h"
#include "AudioFormat.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <iterator>
#include <list>
+1 -1
View File
@@ -10,7 +10,7 @@
#include "AudioContext.h"
#include "AudioFormat.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <openrct2/audio/AudioSource.h>
#include <openrct2/common.h>
+1 -1
View File
@@ -10,7 +10,7 @@
#include "AudioContext.h"
#include "AudioFormat.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <openrct2/audio/AudioMixer.h>
#include <openrct2/audio/AudioSource.h>
+1 -1
View File
@@ -9,7 +9,7 @@
#include "BitmapReader.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <cstring>
#include <openrct2/core/Imaging.h>
@@ -9,7 +9,7 @@
#include "DrawingEngineFactory.hpp"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <cmath>
#include <openrct2/Game.h>
#include <openrct2/common.h>
@@ -9,7 +9,7 @@
#include "DrawingEngineFactory.hpp"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <openrct2/Game.h>
#include <openrct2/common.h>
@@ -13,7 +13,7 @@
#include "GLSLTypes.h"
#include "OpenGLShaderProgram.h"
#include <SDL2/SDL_pixels.h>
#include <SDL_pixels.h>
#include <vector>
class DrawRectShader final : public OpenGLShaderProgram
@@ -17,7 +17,7 @@
# include "OpenGLAPIProc.h"
# undef OPENGL_PROC
# include <SDL2/SDL_video.h>
# include <SDL_video.h>
# include <openrct2/core/Console.hpp>
static const char* TryLoadAllProcAddresses()
@@ -41,7 +41,7 @@
#endif
#include <SDL2/SDL_opengl.h>
#include <SDL_opengl.h>
// OpenRCT2: SDL_opengl.h includes windows.h, which defines the CreateWindow macro and causes conflicts
#undef CreateWindow
@@ -21,7 +21,7 @@
# include "TextureCache.h"
# include "TransparencyDepth.h"
# include <SDL2/SDL.h>
# include <SDL.h>
# include <algorithm>
# include <cmath>
# include <openrct2-ui/interface/Window.h>
@@ -11,7 +11,7 @@
# include "OpenGLFramebuffer.h"
# include <SDL2/SDL_video.h>
# include <SDL_video.h>
# include <algorithm>
# include <memory>
# include <openrct2/common.h>
@@ -12,7 +12,7 @@
#include "GLSLTypes.h"
#include "OpenGLAPI.h"
#include <SDL2/SDL_pixels.h>
#include <SDL_pixels.h>
#include <algorithm>
#include <array>
#include <openrct2/common.h>
+1 -1
View File
@@ -13,7 +13,7 @@
#include "../interface/InGameConsole.h"
#include "KeyboardShortcuts.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <cctype>
#include <openrct2-ui/windows/Window.h>
#include <openrct2/Context.h>
+1 -1
View File
@@ -9,7 +9,7 @@
#include "KeyboardShortcuts.h"
#include <SDL2/SDL.h>
#include <SDL.h>
#include <algorithm>
#include <openrct2/PlatformEnvironment.h>
#include <openrct2/common.h>