diff options
author | kwolekr <kwolekr@minetest.net> | 2013-03-30 19:12:23 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2013-03-30 19:14:42 -0400 |
commit | 414f0275cfa014423394cc9c37ecb0151c3bd46c (patch) | |
tree | 995e6d0fedf919d91088078c03c389d6d8f60f29 /src/nodedef.h | |
parent | 02d8df94a817a6a2bb1050954260905e6e91b5d5 (diff) | |
download | minetest-414f0275cfa014423394cc9c37ecb0151c3bd46c.tar.gz minetest-414f0275cfa014423394cc9c37ecb0151c3bd46c.tar.bz2 minetest-414f0275cfa014423394cc9c37ecb0151c3bd46c.zip |
Optimize CNodeDefManager::getIds
Diffstat (limited to 'src/nodedef.h')
-rw-r--r-- | src/nodedef.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nodedef.h b/src/nodedef.h index 4f07565d1..d846489ae 100644 --- a/src/nodedef.h +++ b/src/nodedef.h @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <string> #include <iostream> #include <map> +#include <list> #include "mapnode.h" #ifndef SERVER #include "tile.h" @@ -36,6 +37,8 @@ class IItemDefManager; class ITextureSource; class IGameDef; +typedef std::list<std::pair<content_t, int> > GroupItems; + enum ContentParamType { CPT_NONE, |