diff options
Diffstat (limited to 'src/mapblock.h')
-rw-r--r-- | src/mapblock.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mapblock.h b/src/mapblock.h index 87abf6a86..a77bf40c0 100644 --- a/src/mapblock.h +++ b/src/mapblock.h @@ -174,6 +174,8 @@ public: class MapBlock; +#ifndef SERVER + struct MeshMakeData { u32 m_daynight_ratio; @@ -188,11 +190,13 @@ struct MeshMakeData void fill(u32 daynight_ratio, MapBlock *block); }; +scene::SMesh* makeMapBlockMesh(MeshMakeData *data); + +#endif + u8 getFaceLight(u32 daynight_ratio, MapNode n, MapNode n2, v3s16 face_dir); -scene::SMesh* makeMapBlockMesh(MeshMakeData *data); - /* MapBlock itself */ |