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