1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

* Turrets, keep and turret covers can be now be placed by altering wall_pos.txt

* Fixed recruitment slider bug
* Fixed #271
* Improved color management
This commit is contained in:
beegee1
2011-04-30 19:52:35 +00:00
parent e494171de3
commit 36d29424f0
10 changed files with 166 additions and 67 deletions

View File

@@ -394,12 +394,15 @@ void Graphics::loadWallPositions()
const int MAX_BUF = 2000;
char buf[MAX_BUF+1];
// skip the first three lines because they are comment lines
inp.getline(buf, MAX_BUF);
inp.getline(buf, MAX_BUF);
inp.getline(buf, MAX_BUF);
std::string dump;
for(int g=0; g<ARRAY_COUNT(wallPositions); ++g)
{
inp >> dump;
for(int b=0; b<12; ++b)
for(int b = 0; b < 20; ++b)
{
Point pt;
inp >> pt.x;