summaryrefslogtreecommitdiff
path: root/Block.h
diff options
context:
space:
mode:
authorJapa2011-04-03 11:55:02 +0000
committerJapa2011-04-03 11:55:02 +0000
commit1a3d5f667e2fb32014d1b8f603d7948ccb7a4c89 (patch)
tree69dc28900e5397a23019e7292551cc57e0a71372 /Block.h
parentb9c1e819ac4b10773e4caf4d7a2392d3839522c3 (diff)
downloadstonesense-1a3d5f667e2fb32014d1b8f603d7948ccb7a4c89.tar.gz
stonesense-1a3d5f667e2fb32014d1b8f603d7948ccb7a4c89.tar.bz2
stonesense-1a3d5f667e2fb32014d1b8f603d7948ccb7a4c89.tar.xz
Added engravings.
Diffstat (limited to 'Block.h')
-rw-r--r--Block.h44
1 files changed, 24 insertions, 20 deletions
diff --git a/Block.h b/Block.h
index 0dcb0e2..050f05c 100644
--- a/Block.h
+++ b/Block.h
@@ -62,32 +62,36 @@ public:
uint8_t grasslevel;
uint32_t grassmat;
+ uint8_t engraving_character;
+ flg_engraving engraving_flags;
+ uint8_t engraving_quality;
+
//vector<uint8_t> grasslevels;
//vector<uint32_t> grassmats;
- struct BlockEffects //size 40
- {
- uint16_t count;
- uint16_t type;
- t_matglossPair material;
- int16_t lifetime;
- int16_t x_direction;
- int16_t y_direction;
- uint8_t canCreateNew;//??
+ struct BlockEffects //size 40
+ {
+ uint16_t count;
+ uint16_t type;
+ t_matglossPair material;
+ int16_t lifetime;
+ int16_t x_direction;
+ int16_t y_direction;
+ uint8_t canCreateNew;//??
} 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_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;*/
struct {
t_building info;