diff options
| author | Japa | 2011-01-22 05:05:13 +0000 |
|---|---|---|
| committer | Japa | 2011-01-22 05:05:13 +0000 |
| commit | 3e627f73cdbf1073f56bfc2aee5def4f3ba2678f (patch) | |
| tree | b30bc7eefef25cc61d73ae14b2a26eff00d08683 /VegetationConfiguration.h | |
| parent | b17f42822cd3d0766e32f46dea58e36102f8a23e (diff) | |
| download | stonesense-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.h | 8 |
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);
|
