mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
now the server builds
This commit is contained in:
parent
023fc5b771
commit
a9f89fb3fb
2 changed files with 11 additions and 2 deletions
|
@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include "light.h"
|
||||
#include <sstream>
|
||||
|
||||
#ifndef SERVER
|
||||
void MeshMakeData::fill(u32 daynight_ratio, MapBlock *block)
|
||||
{
|
||||
m_daynight_ratio = daynight_ratio;
|
||||
|
@ -80,6 +81,7 @@ void MeshMakeData::fill(u32 daynight_ratio, MapBlock *block)
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
Parameters must consist of air and !air.
|
||||
|
@ -1273,6 +1275,7 @@ scene::SMesh* makeMapBlockMesh(MeshMakeData *data)
|
|||
//std::cout<<"added "<<fastfaces.getSize()<<" faces."<<std::endl;
|
||||
}
|
||||
|
||||
#endif // !SERVER
|
||||
|
||||
/*
|
||||
MapBlock
|
||||
|
@ -1381,6 +1384,8 @@ MapNode MapBlock::getNodeParentNoEx(v3s16 p)
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef SERVER
|
||||
|
||||
#if 1
|
||||
void MapBlock::updateMesh(u32 daynight_ratio)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue