X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fmapnode.h;h=19dfb28025c199d5e0cb23aa46fff5d6dcb6ce13;hb=fc92da432401051a8cc17618941625aec6b12d20;hp=4c2b9285336d5d40cd887afaab35ebf1d68dc6f4;hpb=5415256a529eca1317b835ceea54a6ee6633cb97;p=dragonfireclient.git diff --git a/src/mapnode.h b/src/mapnode.h index 4c2b92853..19dfb2802 100644 --- a/src/mapnode.h +++ b/src/mapnode.h @@ -121,6 +121,7 @@ struct ContentFeatures bool light_propagates; bool sunlight_propagates; u8 solidness; // Used when choosing which face is drawn + u8 visual_solidness; // When solidness=0, this tells how it looks like // This is used for collision detection. // Also for general solidness queries. bool walkable; @@ -159,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; @@ -181,6 +184,7 @@ struct ContentFeatures light_propagates = false; sunlight_propagates = false; solidness = 2; + visual_solidness = 0; walkable = true; pointable = true; diggable = true; @@ -195,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;