Changeset View
Changeset View
Standalone View
Standalone View
source/rlinterface/RLInterface.cpp
Show All 17 Lines | |||||
// Pull in the headers from the default precompiled header, | // Pull in the headers from the default precompiled header, | ||||
// even if rlinterface doesn't use precompiled headers. | // even if rlinterface doesn't use precompiled headers. | ||||
#include "lib/precompiled.h" | #include "lib/precompiled.h" | ||||
#include "rlinterface/RLInterface.h" | #include "rlinterface/RLInterface.h" | ||||
#include "gui/GUIManager.h" | #include "gui/GUIManager.h" | ||||
#include "ps/Game.h" | #include "ps/Game.h" | ||||
#include "ps/GameSetup/GameSetup.h" | |||||
#include "ps/Loader.h" | #include "ps/Loader.h" | ||||
#include "ps/CLogger.h" | #include "ps/CLogger.h" | ||||
#include "simulation2/components/ICmpAIInterface.h" | #include "simulation2/components/ICmpAIInterface.h" | ||||
#include "simulation2/components/ICmpTemplateManager.h" | #include "simulation2/components/ICmpTemplateManager.h" | ||||
#include "simulation2/Simulation2.h" | #include "simulation2/Simulation2.h" | ||||
#include "simulation2/system/LocalTurnManager.h" | #include "simulation2/system/LocalTurnManager.h" | ||||
#include "third_party/mongoose/mongoose.h" | #include "third_party/mongoose/mongoose.h" | ||||
#include <queue> | |||||
#include <tuple> | |||||
#include <sstream> | #include <sstream> | ||||
// Globally accessible pointer to the RL Interface. | // Globally accessible pointer to the RL Interface. | ||||
RLInterface* g_RLInterface = nullptr; | RLInterface* g_RLInterface = nullptr; | ||||
// Interactions with the game engine (g_Game) must be done in the main | // Interactions with the game engine (g_Game) must be done in the main | ||||
// thread as there are specific checks for this. We will pass our commands | // thread as there are specific checks for this. We will pass our commands | ||||
// to the main thread to be applied | // to the main thread to be applied | ||||
▲ Show 20 Lines • Show All 347 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator