1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

- CMappedFileLoader class to remap WoG files to h3 names

- WoG should be optional, all remapped files are listed in WoG/config/wogFileOverrides.json
- fixed several cases of incorrect positioning of creatures in battles
- some missing sounds for battle effects
- negative luck support, disabled by default
- a bit hackish detection of WoG presence, VCMI should work on SoD-only installs
This commit is contained in:
Ivan Savenko
2013-05-04 13:14:23 +00:00
parent 298f862d86
commit 8be801a6dc
33 changed files with 338 additions and 176 deletions

View File

@ -163,7 +163,7 @@ CGeneralTextHandler::CGeneralTextHandler()
readToVector("DATA/RESTYPES.TXT", restypes);
readToVector("DATA/TERRNAME.TXT", terrainNames);
readToVector("DATA/RANDSIGN.TXT", randsign);
readToVector("DATA/ZCRGN1.TXT", creGens);
readToVector("DATA/CRGEN1.TXT", creGens);
readToVector("DATA/CRGEN4.TXT", creGens4);
readToVector("DATA/OVERVIEW.TXT", overview);
readToVector("DATA/ARRAYTXT.TXT", arraytxt);
@ -186,7 +186,7 @@ CGeneralTextHandler::CGeneralTextHandler()
while (parser.endLine());
}
{
CLegacyConfigParser parser("DATA/ZELP.TXT");
CLegacyConfigParser parser("DATA/HELP.TXT");
do
{
std::string first = parser.readString();