mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	- First part of objects configuration
- split objects into 3 files (for now) - integrated object class handler into mod handler
This commit is contained in:
		| @@ -355,10 +355,11 @@ CContentHandler::CContentHandler() | ||||
| 	handlers.insert(std::make_pair("artifacts", ContentTypeHandler(VLC->arth, "artifact"))); | ||||
| 	handlers.insert(std::make_pair("creatures", ContentTypeHandler(VLC->creh, "creature"))); | ||||
| 	handlers.insert(std::make_pair("factions", ContentTypeHandler(VLC->townh, "faction"))); | ||||
| 	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("spells", ContentTypeHandler(VLC->spellh, "spell"))); | ||||
|  | ||||
| 	//TODO: bonuses, something else? | ||||
| 	//TODO: any other types of moddables? | ||||
| } | ||||
|  | ||||
| bool CContentHandler::preloadModData(std::string modName, JsonNode modConfig, bool validate) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user