summaryrefslogtreecommitdiff
path: root/src/nodedef.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-16 09:36:19 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:46 +0200
commit50d63e4b0ac15ded5a9fb684586a88a91366d067 (patch)
tree291dcdfe499cf98e0fbfc0960077f3877a52419d /src/nodedef.h
parent6a417c538f0af9e611d6f94cfb12d36f51982db8 (diff)
downloadminetest-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.h5
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