summaryrefslogtreecommitdiff
path: root/Block.h
diff options
context:
space:
mode:
authorJapa Illo2012-02-20 09:37:46 +0530
committerJapa Illo2012-02-20 09:37:46 +0530
commitf5316b07d137a1b4807298e284b5d238825a1de6 (patch)
treef7a7d356108be3991e148fab8ea116c6c2e9872e /Block.h
parentb37199937ee7684da08ff36e6486ae2987d3bbb6 (diff)
downloadstonesense-f5316b07d137a1b4807298e284b5d238825a1de6.tar.gz
stonesense-f5316b07d137a1b4807298e284b5d238825a1de6.tar.bz2
stonesense-f5316b07d137a1b4807298e284b5d238825a1de6.tar.xz
Added effects back. Still need work to scale properly.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'Block.h')
-rw-r--r--Block.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/Block.h b/Block.h
index c3cdde2..65e2e4b 100644
--- a/Block.h
+++ b/Block.h
@@ -6,6 +6,11 @@
#include "TileTypes.h"
class WorldSegment;
+struct Effect
+{
+ DFHack::t_matglossPair matt;
+ int16_t density;
+};
class Block
{
@@ -86,18 +91,18 @@ public:
} blockeffects;
//individual effects
- /*int16_t eff_miasma;
- int16_t eff_water;
- int16_t eff_water2;
- int16_t eff_blood;
- int16_t eff_dust;
- int16_t eff_magma;
- int16_t eff_smoke;
- int16_t eff_dragonfire;
- int16_t eff_fire;
- int16_t eff_boiling;
- int16_t eff_webing;
- int16_t eff_oceanwave;*/
+ Effect Eff_Steam;
+ Effect Eff_Mist;
+ Effect Eff_MaterialDust;
+ Effect Eff_MagmaMist;
+ Effect Eff_Smoke;
+ Effect Eff_Dragonfire;
+ Effect Eff_Fire;
+ Effect Eff_Web;
+ Effect Eff_MaterialGas;
+ Effect Eff_MaterialVapor;
+ Effect Eff_OceanWave;
+ Effect Eff_SeaFoam;
struct {
DFHack::Simple::Buildings::t_building info;
std::vector<c_sprite> sprites;