diff options
| author | Japa | 2010-04-09 14:24:27 +0000 |
|---|---|---|
| committer | Japa | 2010-04-09 14:24:27 +0000 |
| commit | 114df922d3073bd296b38cf522997f520fb17850 (patch) | |
| tree | c4cf372825118c3663cd77e18c69a6c3b59d070f /VegetationConfiguration.h | |
| parent | 81aefc8e03ff3f647494012e18bcdc8f33f4de42 (diff) | |
| download | stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.gz stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.bz2 stonesense-114df922d3073bd296b38cf522997f520fb17850.tar.xz | |
updated trunk to the new graphics engine, and the latest DFhack
Diffstat (limited to 'VegetationConfiguration.h')
| -rw-r--r-- | VegetationConfiguration.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/VegetationConfiguration.h b/VegetationConfiguration.h new file mode 100644 index 0000000..a399b6e --- /dev/null +++ b/VegetationConfiguration.h @@ -0,0 +1,20 @@ +#pragma once
+
+#include "dfhack/depends/tinyxml/tinyxml.h"
+
+class VegetationConfiguration
+{
+public:
+ int gameID;
+ bool live;
+ bool grown;
+ t_SpriteWithOffset sprite;
+
+ VegetationConfiguration(){}
+ VegetationConfiguration(int gameID, t_SpriteWithOffset &sprite, bool live, bool grown);
+ ~VegetationConfiguration(void);
+};
+
+
+bool addSingleVegetationConfig( TiXmlElement* elemRoot, vector<VegetationConfiguration>* vegetationConfigs, vector<t_matgloss>& plantNames );
+t_SpriteWithOffset getVegetationSprite(vector<VegetationConfiguration>& vegetationConfigs,int index,bool live,bool grown);
|
