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

bugfixing:

- support for one more Russian localisation, fixes #1321
 - fixed icon for level 1 town hall, #1294
 - correct portraits for first heroes from mods, #1297 and probably #1298
And a lot of gcc compile fixes
This commit is contained in:
Ivan Savenko
2013-06-23 19:35:54 +00:00
parent 17403b544c
commit dd808ef5cc
19 changed files with 64 additions and 44 deletions

View File

@ -103,7 +103,7 @@ std::string CLegacyConfigParser::readString()
else
ret = extractNormalString();//string without quotes - copy till \t or \r
curr++;
curr++;
return ret;
}
@ -122,7 +122,7 @@ float CLegacyConfigParser::readNumber()
return result;
}
bool CLegacyConfigParser::isNextEntryEmpty()
bool CLegacyConfigParser::isNextEntryEmpty() const
{
char * nextSymbol = curr;
while (nextSymbol < end && *nextSymbol == ' ')
@ -136,7 +136,7 @@ bool CLegacyConfigParser::endLine()
while (curr < end && *curr != '\n')
readString();
curr++;
curr++;
return curr < end;
}