diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-16 09:36:19 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:46 +0200 |
commit | 50d63e4b0ac15ded5a9fb684586a88a91366d067 (patch) | |
tree | 291dcdfe499cf98e0fbfc0960077f3877a52419d /src/nodedef.h | |
parent | 6a417c538f0af9e611d6f94cfb12d36f51982db8 (diff) | |
download | minetest-50d63e4b0ac15ded5a9fb684586a88a91366d067.tar.gz minetest-50d63e4b0ac15ded5a9fb684586a88a91366d067.tar.bz2 minetest-50d63e4b0ac15ded5a9fb684586a88a91366d067.zip |
Add name field to ContentFeatures
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index b29f21734..a29626b10 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -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 |