1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-17 01:32:21 +02:00

* Compilation fix (missing includes, do not remove)

* New settings.txt file (needed for kingdom overview to work)
* Last remainings of h3m format: hero placeholders parsing
* Minor improvements
This commit is contained in:
Michał W. Urbańczyk
2010-02-01 17:07:46 +00:00
parent 9c404c5c14
commit 94fa59cf45
19 changed files with 186 additions and 52 deletions

View File

@ -866,6 +866,9 @@ void SComponent::init(Etype Type, int Subtype, int Val)
subtitle = oss.str();
}
break;
case flag:
subtitle = CGI->generaltexth->capColors[Subtype];
break;
}
type = Type;
subtype = Subtype;
@ -933,6 +936,8 @@ SDL_Surface * SComponent::getImg()
break;
case creature:
return graphics->bigImgs[subtype];
case flag:
return graphics->flags->ourImages[subtype].bitmap;
}
return NULL;
}