1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-27 00:41:08 +02:00

* partial implementation of hero crossover

* minor fixes to resolution handling
* other minor fixes and changes
This commit is contained in:
mateuszb
2010-08-28 14:52:20 +00:00
parent 4d171bd53c
commit fc79b9b6cf
11 changed files with 142 additions and 19 deletions

View File

@ -383,6 +383,13 @@ void config::CConfigHandler::init()
tlog1 << "Cannot parse config/settings.txt file!\n";
else if(!info.full)
tlog2 << "Not entire config/settings.txt parsed!\n";
//fixing screenx / screeny if set to 0x0
if (cc.screenx == 0 && cc.screeny == 0)
{
cc.screenx = cc.resx;
cc.screeny = cc.resy;
}
}
GUIOptions * config::CConfigHandler::go()