1
0
mirror of https://github.com/luanti-org/luanti.git synced 2026-01-13 12:45:29 +01:00

Move client code from nodedef.h/cpp (#16615)

This commit is contained in:
cx384
2025-11-08 21:49:01 +01:00
committed by GitHub
parent 232c833af4
commit 98295cf839
27 changed files with 880 additions and 789 deletions

View File

@@ -29,15 +29,6 @@ static const u8 rot_to_wallmounted[] = {
MapNode
*/
void MapNode::getColor(const ContentFeatures &f, video::SColor *color) const
{
if (f.palette) {
*color = (*f.palette)[param2];
return;
}
*color = f.color;
}
u8 MapNode::getFaceDir(const NodeDefManager *nodemgr,
bool allow_wallmounted) const
{