1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-16 09:55:22 +02:00

Optimize CNodeDefManager::getIds

This commit is contained in:
kwolekr
2013-03-30 19:12:23 -04:00
parent 02d8df94a8
commit 414f0275cf
2 changed files with 39 additions and 0 deletions

View File

@@ -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,