mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-22 18:31:59 -05:00
Add missing includes
This commit is contained in:
parent
2b859c7099
commit
e2da19f0f7
36 changed files with 50 additions and 2 deletions
|
@ -14,6 +14,7 @@
|
|||
#include "audio/AudioContext.h"
|
||||
#include "drawing/BitmapReader.h"
|
||||
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
#include <openrct2/PlatformEnvironment.h>
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include <SDL.h>
|
||||
#include <cstdint>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/audio/AudioChannel.h>
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#include <SDL.h>
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/common.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <openrct2/core/FileSystem.hpp>
|
||||
#include <openrct2/localisation/StringIds.h>
|
||||
#include <optional>
|
||||
|
|
|
@ -11,9 +11,11 @@
|
|||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
|
||||
# include <memory>
|
||||
# include <openrct2/drawing/Image.h>
|
||||
# include <openrct2/drawing/ImageId.hpp>
|
||||
# include <openrct2/scripting/Duktape.hpp>
|
||||
# include <openrct2/scripting/Plugin.h>
|
||||
# include <openrct2/scripting/ScriptEngine.h>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
|
||||
# include "../interface/Window.h"
|
||||
|
||||
# include <memory>
|
||||
# include <optional>
|
||||
# include <string_view>
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
#ifdef ENABLE_SCRIPTING
|
||||
|
||||
# include <memory>
|
||||
# include <openrct2/Context.h>
|
||||
# include <openrct2/Game.h>
|
||||
# include <openrct2/OpenRCT2.h>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
*****************************************************************************/
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
#include <openrct2-ui/windows/Window.h>
|
||||
#include <openrct2/Context.h>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include <cmath>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <openrct2-ui/interface/Dropdown.h>
|
||||
#include <openrct2-ui/interface/Viewport.h>
|
||||
#include <openrct2-ui/interface/Widget.h>
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include "drawing/Drawing.h"
|
||||
#include "sprites.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
#define BACKROUND_COLOUR_DARK PALETTE_INDEX_10
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace OpenRCT2::Audio
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
#include "../ride/RideTypes.h"
|
||||
#include "AudioMixer.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
class AudioObject;
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include "IDrawingContext.h"
|
||||
#include "IDrawingEngine.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace OpenRCT2
|
||||
{
|
||||
namespace Ui
|
||||
|
|
|
@ -59,6 +59,9 @@
|
|||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
#include "NetworkUser.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <memory>
|
||||
|
||||
#ifndef DISABLE_NETWORK
|
||||
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
#include "WaterObject.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
||||
struct IFileDataRetriever
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
#include "../common.h"
|
||||
#include "../object/Object.h"
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
struct IObjectRepository;
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
#include "../ride/RideTypes.h"
|
||||
#include "../world/Location.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
struct Peep;
|
||||
struct Guest;
|
||||
struct TileElement;
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
# include <SDL.h>
|
||||
# include <jni.h>
|
||||
# include <memory>
|
||||
|
||||
AndroidClassLoader::~AndroidClassLoader()
|
||||
{
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
|
||||
struct IObjectManager;
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
#include "../rct2/RCT2.h"
|
||||
#include "../world/Map.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
struct Ride;
|
||||
|
||||
#define TRACK_PREVIEW_IMAGE_SIZE (370 * 217)
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
|
|
@ -52,7 +52,9 @@
|
|||
# include "bindings/world/ScTileElement.hpp"
|
||||
|
||||
# include <iostream>
|
||||
# include <memory>
|
||||
# include <stdexcept>
|
||||
# include <string>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
using namespace OpenRCT2::Scripting;
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
# include "ScPeep.hpp"
|
||||
|
||||
# include <memory>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
{
|
||||
class ScPatrolArea
|
||||
|
|
|
@ -16,6 +16,8 @@
|
|||
# include "ScPlayerGroup.hpp"
|
||||
# include "ScSocket.hpp"
|
||||
|
||||
# include <memory>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
{
|
||||
class ScNetwork
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
# include "../../ScriptEngine.h"
|
||||
|
||||
# include <algorithm>
|
||||
# include <memory>
|
||||
# include <vector>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
# include "../../Duktape.hpp"
|
||||
# include "../../ScriptEngine.h"
|
||||
|
||||
# include <memory>
|
||||
# include <optional>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
# include "../../Duktape.hpp"
|
||||
|
||||
# include <cstdint>
|
||||
# include <memory>
|
||||
|
||||
namespace OpenRCT2::Scripting
|
||||
{
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
# include <cstdio>
|
||||
# include <cstring>
|
||||
# include <memory>
|
||||
# include <utility>
|
||||
# include <vector>
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
#include "../interface/Window.h"
|
||||
#include "../windows/Intent.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
|
|
|
@ -26,10 +26,11 @@
|
|||
#include "../util/Util.h"
|
||||
#include "../windows/Intent.h"
|
||||
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
#include <algorithm>
|
||||
#include <iterator>
|
||||
#include <memory>
|
||||
|
||||
using namespace OpenRCT2::Audio;
|
||||
|
||||
constexpr int32_t MAX_THUNDER_INSTANCES = 2;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "openrct2/localisation/Formatting.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
#include <openrct2/config/Config.h>
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "openrct2/scenario/Scenario.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
|
@ -13,6 +14,8 @@
|
|||
#include <openrct2/platform/Platform.h>
|
||||
#include <openrct2/world/Footpath.h>
|
||||
#include <openrct2/world/Map.h>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
||||
using namespace OpenRCT2;
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "TestData.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/GameState.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "TestData.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
#include "TestData.h"
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
#include <openrct2/Context.h>
|
||||
#include <openrct2/Game.h>
|
||||
#include <openrct2/OpenRCT2.h>
|
||||
|
|
Loading…
Reference in a new issue