diff options
| author | Kris Parker | 2009-11-30 17:25:17 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-30 17:25:17 +0000 |
| commit | 44a8e64fe1919db3f44886f1146b4fa82760705f (patch) | |
| tree | 956d1328df26d31755b33b4e8ea170d2d1990a74 /ContentLoader.h | |
| parent | 947848a2a346ed907a041fc70b68eaff82efcccf (diff) | |
| download | stonesense-44a8e64fe1919db3f44886f1146b4fa82760705f.tar.gz stonesense-44a8e64fe1919db3f44886f1146b4fa82760705f.tar.bz2 stonesense-44a8e64fe1919db3f44886f1146b4fa82760705f.tar.xz | |
Vegetation config loaded (not used yet)
Diffstat (limited to 'ContentLoader.h')
| -rw-r--r-- | ContentLoader.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ContentLoader.h b/ContentLoader.h index 80f912f..9d18021 100644 --- a/ContentLoader.h +++ b/ContentLoader.h @@ -2,6 +2,7 @@ #include "dfhack/library/tinyxml/tinyxml.h"
#include "BuildingConfiguration.h"
#include "CreatureConfiguration.h"
+#include "VegetationConfiguration.h"
#include "GroundMaterialConfiguration.h"
class ContentLoader{
@@ -11,6 +12,8 @@ private: bool parseBuildingContent( TiXmlElement* elemRoot, char* homefolder );
bool parseCreatureContent( TiXmlElement* elemRoot, char* homefolder );
bool parseTerrainContent ( TiXmlElement* elemRoot, char* homefolder );
+ bool parseTreeContent( TiXmlElement* elemRoot, char* homefolder );
+ bool parseShrubContent( TiXmlElement* elemRoot, char* homefolder );
bool translationComplete;
public:
@@ -23,9 +26,13 @@ public: vector<BuildingConfiguration> buildingConfigs;
vector<CreatureConfiguration> creatureConfigs;
+ vector<VegetationConfiguration> treeConfigs;
+ vector<VegetationConfiguration> shrubConfigs;
vector<GroundMaterialConfiguration*> groundConfigs;
vector<t_matgloss> creatureNameStrings;
+ vector<t_matgloss> woodNameStrings;
+ vector<t_matgloss> plantNameStrings;
vector<string> buildingNameStrings;
vector<preparseGroundMaterialConfiguration> unparsedGroundConfigs;
};
|
