diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-04 14:22:35 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:13 +0200 |
commit | 07ed57476f56c54e781ab33467d3373d976d24b1 (patch) | |
tree | 5643802c01133f963cf440c7486691c31dc31d89 /src/nodedef.h | |
parent | 0b21618a054fbfa9f4b5e99a5044f2b2dd1d642b (diff) | |
download | minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.gz minetest-07ed57476f56c54e781ab33467d3373d976d24b1.tar.bz2 minetest-07ed57476f56c54e781ab33467d3373d976d24b1.zip |
itemgroup.h and ItemGroupList typedef
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index 5196e0233..c875e0b75 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #ifndef SERVER #include "tile.h" #endif +#include "itemgroup.h" class IItemDefManager; class ITextureSource; class IGameDef; @@ -148,7 +149,7 @@ struct ContentFeatures */ std::string name; // "" = undefined node - std::map<std::string, int> groups; // Same as in itemdef + ItemGroupList groups; // Same as in itemdef // Visual definition enum NodeDrawType drawtype; |