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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user