1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-17 04:25:26 +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

@@ -188,14 +188,6 @@ struct alignas(u32) MapNode
param2 = p;
}
/*!
* Returns the color of the node.
*
* \param f content features of this node
* \param color output, contains the node's color.
*/
void getColor(const ContentFeatures &f, video::SColor *color) const;
inline void setLight(LightBank bank, u8 a_light, ContentLightingFlags f) noexcept
{
// If node doesn't contain light data, ignore this