mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
resource identifier
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "../entities/faction/CTownHandler.h"
|
||||
#include "../entities/hero/CHeroClassHandler.h"
|
||||
#include "../entities/hero/CHeroHandler.h"
|
||||
#include "../entities/ResourceTypeHandler.h"
|
||||
#include "../texts/CGeneralTextHandler.h"
|
||||
#include "../CBonusTypeHandler.h"
|
||||
#include "../CSkillHandler.h"
|
||||
@@ -259,6 +260,7 @@ void CContentHandler::init()
|
||||
#endif
|
||||
handlers.insert(std::make_pair("battlefields", ContentTypeHandler(LIBRARY->battlefieldsHandler.get(), "battlefield")));
|
||||
handlers.insert(std::make_pair("terrains", ContentTypeHandler(LIBRARY->terrainTypeHandler.get(), "terrain")));
|
||||
handlers.insert(std::make_pair("resources", ContentTypeHandler(LIBRARY->resourceTypeHandler.get(), "resources")));
|
||||
handlers.insert(std::make_pair("rivers", ContentTypeHandler(LIBRARY->riverTypeHandler.get(), "river")));
|
||||
handlers.insert(std::make_pair("roads", ContentTypeHandler(LIBRARY->roadTypeHandler.get(), "road")));
|
||||
handlers.insert(std::make_pair("obstacles", ContentTypeHandler(LIBRARY->obstacleHandler.get(), "obstacle")));
|
||||
|
||||
Reference in New Issue
Block a user