1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

- VCMI will now read templates from mods

- Added partial schema for RMG template
This commit is contained in:
DjWarmonger
2015-05-26 18:19:41 +02:00
parent 4e25d74e74
commit 2e70d8a084
6 changed files with 80 additions and 2 deletions

View File

@ -385,6 +385,7 @@ CContentHandler::CContentHandler()
handlers.insert(std::make_pair("objects", ContentTypeHandler(VLC->objtypeh, "object")));
handlers.insert(std::make_pair("heroes", ContentTypeHandler(VLC->heroh, "hero")));
handlers.insert(std::make_pair("spells", ContentTypeHandler(VLC->spellh, "spell")));
handlers.insert(std::make_pair("templates", ContentTypeHandler((IHandlerBase *)VLC->tplh, "template")));
//TODO: any other types of moddables?
}