diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-02-28 19:45:23 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-10 11:28:12 +0200 |
commit | 562ac3bce9fae076562bd2e92e7d330c296ac1b0 (patch) | |
tree | 4b9421f1fd0a22a69cfa6320cc30f41f0f68af8a /src/nodedef.h | |
parent | f21291211caaaa22ee5673adf46615dd46a36285 (diff) | |
download | minetest-562ac3bce9fae076562bd2e92e7d330c296ac1b0.tar.gz minetest-562ac3bce9fae076562bd2e92e7d330c296ac1b0.tar.bz2 minetest-562ac3bce9fae076562bd2e92e7d330c296ac1b0.zip |
Digging time groups WIP
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 9524385cf..5196e0233 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -23,12 +23,11 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "common_irrlicht.h" #include <string> #include <iostream> -#include <set> +#include <map> #include "mapnode.h" #ifndef SERVER #include "tile.h" #endif -#include "materials.h" // MaterialProperties class IItemDefManager; class ITextureSource; class IGameDef; @@ -149,6 +148,7 @@ struct ContentFeatures */ std::string name; // "" = undefined node + std::map<std::string, int> groups; // Same as in itemdef // Visual definition enum NodeDrawType drawtype; @@ -194,7 +194,6 @@ struct ContentFeatures u8 light_source; u32 damage_per_second; NodeBox selection_box; - MaterialProperties material; // Compatibility with old maps // Set to true if paramtype used to be 'facedir_simple' bool legacy_facedir_simple; |