diff options
| author | Kris Parker | 2009-11-30 15:31:51 +0000 |
|---|---|---|
| committer | Kris Parker | 2009-11-30 15:31:51 +0000 |
| commit | 2c47a61e4f3407243204f87a2623fe5b19f564af (patch) | |
| tree | 194afd7156f63707610e011cf24008b777ca1a89 /VegetationConfiguration.h | |
| parent | def63bb205c1f06b77890c02d4b84ed870814c4c (diff) | |
| download | stonesense-2c47a61e4f3407243204f87a2623fe5b19f564af.tar.gz stonesense-2c47a61e4f3407243204f87a2623fe5b19f564af.tar.bz2 stonesense-2c47a61e4f3407243204f87a2623fe5b19f564af.tar.xz | |
Work in progress on reading plants, not compiled yet
Diffstat (limited to 'VegetationConfiguration.h')
| -rw-r--r-- | VegetationConfiguration.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/VegetationConfiguration.h b/VegetationConfiguration.h new file mode 100644 index 0000000..ab1a75e --- /dev/null +++ b/VegetationConfiguration.h @@ -0,0 +1,18 @@ +#pragma once
+
+#include "dfhack/library/tinyxml/tinyxml.h"
+
+class VegetationConfiguration
+{
+public:
+ int gameID;
+ bool live;
+ t_SpriteWithOffset sprite;
+
+ VegetationConfiguration(){}
+ VegetationConfiguration(char* gameID, t_SpriteWithOffset &sprite, bool live);
+ ~VegetationConfiguration(void);
+};
+
+
+bool addSingleVegetationConfig( TiXmlElement* elemRoot, vector<VegetationConfiguration>* vegetationConfigs, vector<t_matgloss>& plantNames );
|
