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

Implemented stack experience/commander experience display for window

This commit is contained in:
Ivan Savenko
2014-07-04 12:48:09 +03:00
parent e4e9d71143
commit 20f7071d11
4 changed files with 91 additions and 7 deletions

View File

@ -427,7 +427,18 @@ CGeneralTextHandler::CGeneralTextHandler()
{
CLegacyConfigParser parser("DATA/ZCREXP.TXT");
parser.endLine();//header
do
for (size_t iter=0; iter<325; iter++)
{
parser.readString(); //ignore 1st column with description
zcrexp.push_back(parser.readString());
parser.endLine();
}
// line 325 - some weird formatting here
zcrexp.push_back(parser.readString());
parser.readString();
parser.endLine();
do // rest of file can be read normally
{
parser.readString(); //ignore 1st column with description
zcrexp.push_back(parser.readString());