1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

now the server builds

This commit is contained in:
Perttu Ahola 2011-04-04 05:25:55 +03:00
parent 023fc5b771
commit a9f89fb3fb
2 changed files with 11 additions and 2 deletions

View file

@ -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
*/