1
0
forked from 0ad/0ad

Fix building without precompiled headers.

Broken in several recent diffs.
This also fixes (very) old missing standard headers.

Differential Revision: https://code.wildfiregames.com/D3110
This was SVN commit r24200.
This commit is contained in:
wraitii 2020-11-18 11:35:36 +00:00
parent 0f2b00326f
commit 935af751b9
12 changed files with 14 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include "TextureManager.h"
#include <condition_variable>
#include <deque>
#include <mutex>
#include <thread>

View File

@ -34,6 +34,7 @@
#include "scriptinterface/ScriptInterface.h"
#include <map>
#include <set>
#include <unordered_set>
#include <vector>

View File

@ -20,6 +20,7 @@
#include "CGUISetting.h"
#include "gui/CGUI.h"
#include "ps/CLogger.h"
template<typename T>

View File

@ -25,6 +25,7 @@
#include "lib/external_libraries/libsdl.h"
#include "maths/Vector2D.h"
#include "ps/Hotkey.h"
#include "ps/CLogger.h"
#include "scriptinterface/ScriptConversions.h"
#include <string>

View File

@ -29,6 +29,9 @@
#include "ps/ConfigDB.h"
#include "ps/Profiler2.h"
#include <deque>
#include <stack>
#if !CONFIG2_GLES
class CProfiler2GPU_base

View File

@ -32,6 +32,7 @@
#include "ps/Pyrogenesis.h"
#include <condition_variable>
#include <deque>
#include <fstream>
#include <mutex>
#include <string>

View File

@ -22,6 +22,7 @@
#include "graphics/Entity.h"
#include "maths/Vector2D.h"
#include "ps/utf16string.h"
#include "ps/CLogger.h"
#include "ps/CStr.h"
#define FAIL(msg) STMT(LOGERROR(msg); return false)

View File

@ -53,7 +53,6 @@ class ScriptInterface;
struct ScriptInterface_impl;
class ScriptContext;
// Using a global object for the context is a workaround until Simulation, AI, etc,
// use their own threads and also their own contexts.
extern thread_local shared_ptr<ScriptContext> g_ScriptContext;

View File

@ -20,7 +20,9 @@
#include "simulation2/system/Interface.h"
#include "lib/file/vfs/vfs_path.h"
#include "maths/FixedVector3D.h"
#include "simulation2/helpers/Player.h"
/**
* Interface to the engine's sound system.

View File

@ -20,6 +20,7 @@
#include "maths/Fixed.h"
#include "ps/Errors.h"
#include "scriptinterface/ScriptTypes.h"
ERROR_GROUP(Serialize);
ERROR_TYPE(Serialize, OutOfBounds);

View File

@ -24,6 +24,7 @@
#include "ps/CStr.h"
#include "ps/Filesystem.h"
#include "ps/XML/Xeromyces.h"
#include "scriptinterface/ScriptInterface.h"
#include <sstream>

View File

@ -38,6 +38,7 @@
#include "ps/Profiler2.h"
#include "scriptinterface/ScriptEngine.h"
#include "scriptinterface/ScriptContext.h"
#include "scriptinterface/ScriptInterface.h"
class LeakReporter : public CxxTest::GlobalFixture
{