summaryrefslogtreecommitdiff
path: root/VegetationConfiguration.h
diff options
context:
space:
mode:
authorJapa2011-01-22 05:05:13 +0000
committerJapa2011-01-22 05:05:13 +0000
commit3e627f73cdbf1073f56bfc2aee5def4f3ba2678f (patch)
treeb30bc7eefef25cc61d73ae14b2a26eff00d08683 /VegetationConfiguration.h
parentb17f42822cd3d0766e32f46dea58e36102f8a23e (diff)
downloadstonesense-3e627f73cdbf1073f56bfc2aee5def4f3ba2678f.tar.gz
stonesense-3e627f73cdbf1073f56bfc2aee5def4f3ba2678f.tar.bz2
stonesense-3e627f73cdbf1073f56bfc2aee5def4f3ba2678f.tar.xz
Got meself some wide and tall trees working
Diffstat (limited to 'VegetationConfiguration.h')
-rw-r--r--VegetationConfiguration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/VegetationConfiguration.h b/VegetationConfiguration.h
index 93a8ddd..22150b7 100644
--- a/VegetationConfiguration.h
+++ b/VegetationConfiguration.h
@@ -1,20 +1,20 @@
#pragma once
#include "dfhack/depends/tinyxml/tinyxml.h"
-#include "SpriteObjects.h"
+#include "BlockTree.h"
class VegetationConfiguration
{
public:
int gameID;
bool live;
bool grown;
- c_sprite sprite;
+ c_block_tree tree;
VegetationConfiguration(){}
- VegetationConfiguration(int gameID, c_sprite &sprite, bool live, bool grown);
+ VegetationConfiguration(int gameID, c_block_tree &tree, bool live, bool grown);
~VegetationConfiguration(void);
};
bool addSingleVegetationConfig( TiXmlElement* elemRoot, vector<VegetationConfiguration>* vegetationConfigs, vector<t_matgloss>& plantNames );
-c_sprite * getVegetationSprite(vector<VegetationConfiguration>& vegetationConfigs,int index,bool live,bool grown);
+c_block_tree * getVegetationTree(vector<VegetationConfiguration>& vegetationConfigs,int index,bool live,bool grown);