diff options
| author | Japa | 2010-06-23 07:27:17 +0000 |
|---|---|---|
| committer | Japa | 2010-06-23 07:27:17 +0000 |
| commit | ccf3c8c845742534f0cae1135835b4cd40fe1079 (patch) | |
| tree | 4a014a6704166d4bf520012b192d4ff5776c4c73 /VegetationConfiguration.h | |
| parent | d1a624de4a674c5735e43fb1b543a7fa6410e0c3 (diff) | |
| download | stonesense-ccf3c8c845742534f0cae1135835b4cd40fe1079.tar.gz stonesense-ccf3c8c845742534f0cae1135835b4cd40fe1079.tar.bz2 stonesense-ccf3c8c845742534f0cae1135835b4cd40fe1079.tar.xz | |
made the tree sprites object oriented
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 a399b6e..ed92acc 100644 --- a/VegetationConfiguration.h +++ b/VegetationConfiguration.h @@ -1,20 +1,20 @@ #pragma once
#include "dfhack/depends/tinyxml/tinyxml.h"
-
+#include "SpriteObjects.h"
class VegetationConfiguration
{
public:
int gameID;
bool live;
bool grown;
- t_SpriteWithOffset sprite;
+ c_sprite sprite;
VegetationConfiguration(){}
- VegetationConfiguration(int gameID, t_SpriteWithOffset &sprite, bool live, bool grown);
+ VegetationConfiguration(int gameID, c_sprite &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);
+c_sprite getVegetationSprite(vector<VegetationConfiguration>& vegetationConfigs,int index,bool live,bool grown);
|
