1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00
This commit is contained in:
Perttu Ahola 2011-08-15 02:04:56 +03:00
parent c4b707bca2
commit 8f42a8be0c
11 changed files with 255 additions and 89 deletions

View file

@ -128,8 +128,8 @@ struct ContentFeatures
bool pointable;
// Player can dig these
bool diggable;
// Player can climb these
bool climbable;
// Player can climb these
bool climbable;
// Player can build on these
bool buildable_to;
// Whether the node has no liquid, source liquid or flowing liquid
@ -153,6 +153,11 @@ struct ContentFeatures
content_t liquid_alternative_flowing;
// If the content is liquid, this is the source version of the liquid.
content_t liquid_alternative_source;
// Used currently for flowing liquids
u8 vertex_alpha;
// Special irrlicht material, used sometimes
video::SMaterial *special_material;
AtlasPointer *special_atlas;
// Amount of light the node emits
u8 light_source;
@ -181,6 +186,10 @@ struct ContentFeatures
dug_item = "";
initial_metadata = NULL;
liquid_alternative_flowing = CONTENT_IGNORE;
liquid_alternative_source = CONTENT_IGNORE;
vertex_alpha = 255;
special_material = NULL;
special_atlas = NULL;
light_source = 0;
digging_properties.clear();
}