summaryrefslogtreecommitdiff
path: root/VegetationConfiguration.h
diff options
context:
space:
mode:
authorKris Parker2009-11-30 15:31:51 +0000
committerKris Parker2009-11-30 15:31:51 +0000
commit2c47a61e4f3407243204f87a2623fe5b19f564af (patch)
tree194afd7156f63707610e011cf24008b777ca1a89 /VegetationConfiguration.h
parentdef63bb205c1f06b77890c02d4b84ed870814c4c (diff)
downloadstonesense-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.h18
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 );