1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-27 17:28:41 +00:00

Add name field to ContentFeatures

This commit is contained in:
Perttu Ahola 2011-11-16 09:36:19 +02:00
parent 6a417c538f
commit 50d63e4b0a
3 changed files with 49 additions and 10 deletions

View file

@ -138,13 +138,12 @@ struct ContentFeatures
// the texture atlas
std::set<std::string> used_texturenames;
// True if this actually contains non-default data
bool modified;
/*
Actual data
*/
std::string name; // "" = undefined node
// Visual definition
enum NodeDrawType drawtype;
float visual_scale; // Misc. scale parameter