diff options
| author | Japa | 2011-02-25 04:04:22 +0000 |
|---|---|---|
| committer | Japa | 2011-02-25 04:04:22 +0000 |
| commit | a09db4ce3b65f033257ed8b2c819358d7e7f9e28 (patch) | |
| tree | 61831f82c8efec825291b3d3e1dbe71c5bfa90e1 /ContentLoader.h | |
| parent | 82e9e689d9b205286b5088d2407a3a014e7aeb99 (diff) | |
| download | stonesense-a09db4ce3b65f033257ed8b2c819358d7e7f9e28.tar.gz stonesense-a09db4ce3b65f033257ed8b2c819358d7e7f9e28.tar.bz2 stonesense-a09db4ce3b65f033257ed8b2c819358d7e7f9e28.tar.xz | |
Got custom workshops to, well... work.
Diffstat (limited to 'ContentLoader.h')
| -rw-r--r-- | ContentLoader.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ContentLoader.h b/ContentLoader.h index dcf4165..c9c4c36 100644 --- a/ContentLoader.h +++ b/ContentLoader.h @@ -13,6 +13,7 @@ private: bool parseContentIndexFile( char* filepath );
bool parseContentXMLFile( char* filepath );
bool parseBuildingContent( TiXmlElement* elemRoot );
+ bool parseCustomBuildingContent( TiXmlElement* elemRoot );
bool parseCreatureContent( TiXmlElement* elemRoot );
bool parseTerrainContent ( TiXmlElement* elemRoot );
bool parseTreeContent( TiXmlElement* elemRoot );
@@ -32,6 +33,7 @@ public: bool reload_configs();
vector<BuildingConfiguration> buildingConfigs;
+ vector<BuildingConfiguration> customBuildingConfigs;
vector<vector<CreatureConfiguration>*> creatureConfigs;
vector<VegetationConfiguration> treeConfigs;
vector<VegetationConfiguration> shrubConfigs;
@@ -44,6 +46,7 @@ public: vector<string> classIdStrings;
vector<string> professionStrings;
+ std::map <uint32_t, std::string> custom_workshop_types;
VersionInfo *MemInfo;
DFHack::Buildings * Bld;
DFHack::Materials * Mats;
|
