1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* mostly done town infobox

* town daily income is properly calculated
* minor not done stuff
This commit is contained in:
Michał W. Urbańczyk
2008-02-18 21:14:28 +00:00
parent 3844c45441
commit e46d411643
10 changed files with 129 additions and 11 deletions

View File

@@ -148,6 +148,15 @@ public:
void close();
CSelWindow(){};
};
class CRClickPopup : public IShowable, public ClickableR
{
virtual void activate()=0;
virtual void deactivate()=0;
virtual void close()=0;
virtual void show()=0;
};
class SComponent : public ClickableR
{
public:
@@ -257,12 +266,13 @@ public:
std::vector<TimeInterested*> timeinterested;
std::vector<IShowable*> objsToBlit;
SDL_Surface * hInfo;
SDL_Surface * hInfo, *tInfo;
std::vector<std::pair<int, int> > slotsPos;
CDefEssential *luck22, *luck30, *luck42, *luck82,
*morale22, *morale30, *morale42, *morale82;
*morale22, *morale30, *morale42, *morale82,
*halls, *forts, *bigTownPic;
std::map<int,SDL_Surface*> heroWins;
//std::map<int,SDL_Surface*> townWins;
std::map<int,SDL_Surface*> townWins;
//overloaded funcs from Interface
void yourTurn();