Integrated defaultMods into mod system
This commit is contained in:
1 parent
2353137c74
commit
383387ef29
67 files changed
+508
-365
No files matched your search
+4
-1
@@ -12,6 +12,7 @@
|
||||
#include "RoadHandler.h"
|
||||
#include "CModHandler.h"
|
||||
#include "CGeneralTextHandler.h"
|
||||
#include "GameSettings.h"
|
||||
|
||||
VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
@@ -50,8 +51,10 @@ const std::vector<std::string> & RoadTypeHandler::getTypeNames() const
|
||||
return typeNames;
|
||||
}
|
||||
|
||||
std::vector<JsonNode> RoadTypeHandler::loadLegacyData(size_t dataSize)
|
||||
std::vector<JsonNode> RoadTypeHandler::loadLegacyData()
|
||||
{
|
||||
size_t dataSize = VLC->settings()->getInteger(EGameSettings::TEXTS_ROAD);
|
||||
|
||||
objects.resize(dataSize);
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user