projects
/
oweals
/
minetest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Node definition manager refactor (#7016)
[oweals/minetest.git]
/
src
/
content_mapblock.h
diff --git
a/src/content_mapblock.h
b/src/content_mapblock.h
index 3d196aa99f174f3e202e434dbc5dc3ba045ff830..7b90ce4b9081cb4c28502058e8444b5863ce6763 100644
(file)
--- a/
src/content_mapblock.h
+++ b/
src/content_mapblock.h
@@
-49,7
+49,7
@@
public:
MeshMakeData *data;
MeshCollector *collector;
MeshMakeData *data;
MeshCollector *collector;
-
I
NodeDefManager *nodedef;
+
const
NodeDefManager *nodedef;
scene::IMeshManipulator *meshmanip;
// options
scene::IMeshManipulator *meshmanip;
// options
@@
-92,6
+92,7
@@
public:
// liquid-specific
bool top_is_same_liquid;
// liquid-specific
bool top_is_same_liquid;
+ bool draw_liquid_bottom;
TileSpec tile_liquid;
TileSpec tile_liquid_top;
content_t c_flowing;
TileSpec tile_liquid;
TileSpec tile_liquid_top;
content_t c_flowing;
@@
-112,6
+113,7
@@
public:
f32 getCornerLevel(int i, int k);
void drawLiquidSides();
void drawLiquidTop();
f32 getCornerLevel(int i, int k);
void drawLiquidSides();
void drawLiquidTop();
+ void drawLiquidBottom();
// raillike-specific
// name of the group that enables connecting to raillike nodes of different kind
// raillike-specific
// name of the group that enables connecting to raillike nodes of different kind