diff options
| author | Japa | 2010-09-08 17:47:38 +0000 |
|---|---|---|
| committer | Japa | 2010-09-08 17:47:38 +0000 |
| commit | 23600640529542241bea58737ee8a0fb6eb430d1 (patch) | |
| tree | 4785f442e6299d5d770257dbe7a161a64959fcca /ContentLoader.h | |
| parent | 6079281a49efb84bbae98f4b9fb8649e7a4ee754 (diff) | |
| download | stonesense-23600640529542241bea58737ee8a0fb6eb430d1.tar.gz stonesense-23600640529542241bea58737ee8a0fb6eb430d1.tar.bz2 stonesense-23600640529542241bea58737ee8a0fb6eb430d1.tar.xz | |
moved fluid drawing into XML files
Diffstat (limited to 'ContentLoader.h')
| -rw-r--r-- | ContentLoader.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ContentLoader.h b/ContentLoader.h index bab494b..1298f06 100644 --- a/ContentLoader.h +++ b/ContentLoader.h @@ -6,6 +6,7 @@ #include "GroundMaterialConfiguration.h"
#include "ColorConfiguration.h"
#include "commonTypes.h"
+#include "FluidConfiguration.h"
class ContentLoader{
private:
@@ -17,6 +18,7 @@ private: bool parseTreeContent( TiXmlElement* elemRoot );
bool parseShrubContent( TiXmlElement* elemRoot );
bool parseColorContent( TiXmlElement* elemRoot );
+ bool parseFluidContent( TiXmlElement* elemRoot );
void flushCreatureConfig();
bool translationComplete;
@@ -33,6 +35,8 @@ public: vector<TerrainConfiguration*> terrainFloorConfigs;
vector<TerrainConfiguration*> terrainBlockConfigs;
vector<ColorConfiguration> colorConfigs;
+ FluidConfiguration lava[7];
+ FluidConfiguration water[7];
vector<string> classIdStrings;
vector<string> professionStrings;
|
