diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-09-26 15:10:02 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-09-26 15:10:02 +0300 |
commit | 061d4b420206c67fb346d75fb6bcaf4aa8147ca8 (patch) | |
tree | 3f17c19e529baf3a6ae13479b7805fbe5cdf46ba /src/mapnode.h | |
parent | b9e680d06cf56b7c8b41a6b5626a3b94304adf42 (diff) | |
parent | 2ecd53ce09d8f20a06b057c24924a010fa2eefde (diff) | |
download | minetest-061d4b420206c67fb346d75fb6bcaf4aa8147ca8.tar.gz minetest-061d4b420206c67fb346d75fb6bcaf4aa8147ca8.tar.bz2 minetest-061d4b420206c67fb346d75fb6bcaf4aa8147ca8.zip |
Merge branch 'view_bobbing_and_vielded_tool'
Diffstat (limited to 'src/mapnode.h')
-rw-r--r-- | src/mapnode.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapnode.h b/src/mapnode.h index 3ad67aaf6..19dfb2802 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -160,6 +160,8 @@ struct ContentFeatures u8 liquid_viscosity; // Used currently for flowing liquids u8 vertex_alpha; + // Post effect color, drawn when the camera is inside the node. + video::SColor post_effect_color; // Special irrlicht material, used sometimes video::SMaterial *special_material; AtlasPointer *special_atlas; @@ -197,6 +199,7 @@ struct ContentFeatures liquid_alternative_source = CONTENT_IGNORE; liquid_viscosity = 0; vertex_alpha = 255; + post_effect_color = video::SColor(0, 0, 0, 0); special_material = NULL; special_atlas = NULL; light_source = 0; |