Merge remote-tracking branch 'suokko/avoid_rebuilding_df_statics_if_core_h_changes' into develop

develop
lethosor 2019-10-04 00:06:25 -04:00
commit a26ed764f2
12 changed files with 21 additions and 1 deletions

@ -1,3 +1,4 @@
#include "Core.h"
#include "Internal.h"
#include "DataDefs.h"
#include "MiscUtils.h"

@ -1,5 +1,7 @@
#include <stddef.h>
#include <fstream>
#ifndef STATIC_FIELDS_GROUP
#include "DataDefs.h"
#endif

@ -26,6 +26,7 @@ distribution.
#include "TileTypes.h"
#include "Export.h"
#include <cassert>
#include <map>
using namespace DFHack;

@ -32,7 +32,6 @@ distribution.
#include <utility>
#include <vector>
#include "Core.h"
#include "BitArray.h"
// Stop some MS stupidity
@ -48,6 +47,7 @@ typedef struct lua_State lua_State;
namespace DFHack
{
class Core;
class virtual_class {};
enum identity_type {

@ -32,6 +32,10 @@ distribution.
#include "DataIdentity.h"
#include "LuaWrapper.h"
namespace DFHack {
class color_ostream;
}
namespace df {
// A very simple and stupid implementation of some stuff from boost
template<class U, class V> struct is_same_type { static const bool value = false; };

@ -24,6 +24,7 @@ distribution.
#pragma once
#include <deque>
#include <string>
#include <sstream>
#include <vector>

@ -30,6 +30,7 @@ distribution.
#include <map>
#include <type_traits>
#include "ColorText.h"
#include "DataDefs.h"
#include <lua.h>

@ -25,6 +25,8 @@ distribution.
#pragma once
#include <algorithm>
#include "Pragma.h"
#include "Export.h"

@ -53,6 +53,9 @@ namespace df
namespace DFHack
{
class color_ostream;
namespace Buildings
{
/**

@ -47,6 +47,8 @@ namespace df
namespace DFHack
{
class color_ostream;
namespace Job {
// Duplicate the job structure. It is not linked into any DF lists.
DFHACK_EXPORT df::job *cloneJobStruct(df::job *job, bool keepEverything=false);

@ -2,6 +2,7 @@
#include <modules/Gui.h>
#include "Core.h"
#include "DataDefs.h"
#include "df/biome_type.h"
#include "df/inorganic_raw.h"

@ -30,6 +30,8 @@
// protobuf
#include <google/protobuf/io/zero_copy_stream_impl.h>
#include <fstream>
using std::endl;
using namespace DFHack;
using namespace df::enums;