|
@@ -500,6 +500,7 @@ CGeneralTextHandler::CGeneralTextHandler():
|
|
|
readToVector("core.overview", "DATA/OVERVIEW.TXT" );
|
|
|
readToVector("core.arraytxt", "DATA/ARRAYTXT.TXT" );
|
|
|
readToVector("core.priskill", "DATA/PRISKILL.TXT" );
|
|
|
+ readToVector("core.plcolors", "DATA/PLCOLORS.TXT" );
|
|
|
readToVector("core.jktext", "DATA/JKTEXT.TXT" );
|
|
|
readToVector("core.tvrninfo", "DATA/TVRNINFO.TXT" );
|
|
|
readToVector("core.turndur", "DATA/TURNDUR.TXT" );
|
|
@@ -554,20 +555,6 @@ CGeneralTextHandler::CGeneralTextHandler():
|
|
|
}
|
|
|
while (parser.endLine());
|
|
|
}
|
|
|
- {
|
|
|
- CLegacyConfigParser parser(TextPath::builtin("DATA/PLCOLORS.TXT"));
|
|
|
- size_t index = 0;
|
|
|
- do
|
|
|
- {
|
|
|
- std::string color = parser.readString();
|
|
|
-
|
|
|
- registerString("core", {"core.plcolors", index}, color);
|
|
|
- color[0] = toupper(color[0]);
|
|
|
- registerString("core", {"vcmi.capitalColors", index}, color);
|
|
|
- index += 1;
|
|
|
- }
|
|
|
- while (parser.endLine());
|
|
|
- }
|
|
|
{
|
|
|
CLegacyConfigParser parser(TextPath::builtin("DATA/SEERHUT.TXT"));
|
|
|
|