mirror of https://github.com/OpenRCT2/OpenRCT2.git
Merge pull request #8549 from janisozaur/sdl2-prefix
Drop SDL2/ prefix on includes
This commit is contained in:
commit
39b59b1185
|
@ -101,7 +101,7 @@
|
|||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<IncludePath>$(SolutionDir)src;$(SolutionDir)lib\$(Platform)\include;$(IncludePath)</IncludePath>
|
||||
<IncludePath>$(SolutionDir)src;$(SolutionDir)lib\$(Platform)\include;$(SolutionDir)lib\$(Platform)\include\SDL2;$(IncludePath)</IncludePath>
|
||||
<LibraryPath Condition="'$(Configuration)'=='Debug'">$(SolutionDir)lib\$(Platform)\debug\lib;$(LibraryPath)</LibraryPath>
|
||||
<LibraryPath Condition="'$(Configuration)'!='Debug'">$(SolutionDir)lib\$(Platform)\lib;$(LibraryPath)</LibraryPath>
|
||||
<LinkIncremental />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <openrct2/interface/Cursors.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <openrct2/common.h>
|
||||
|
||||
namespace OpenRCT2::Audio
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "AudioContext.h"
|
||||
#include "AudioFormat.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <list>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "KeyboardShortcuts.h"
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <algorithm>
|
||||
#include <openrct2/PlatformEnvironment.h>
|
||||
#include <openrct2/common.h>
|
||||
|
|
Loading…
Reference in New Issue