mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Buildings in town (tylko zamek, trzeba inaczej sortować, jeden budynek źle trafiony)
This commit is contained in:
@@ -2,10 +2,14 @@
|
||||
#include "global.h"
|
||||
#include "SDL.h"
|
||||
#include "CPlayerInterface.h"
|
||||
#include "boost/tuple/tuple.hpp"
|
||||
class CGTownInstance;
|
||||
class CTownHandler;
|
||||
struct Structure;
|
||||
template <typename T> class AdventureMapButton;
|
||||
class CBuildingRect : public MotionInterested, public ClickableL, public ClickableR, public TimeInterested
|
||||
class CBuildingRect : public MotionInterested, public ClickableL, public ClickableR//, public TimeInterested
|
||||
{
|
||||
|
||||
void activate();
|
||||
void deactivate();
|
||||
};
|
||||
@@ -22,6 +26,8 @@ public:
|
||||
|
||||
AdventureMapButton<CCastleInterface> * exit;
|
||||
|
||||
std::vector<boost::tuples::tuple<int,CDefHandler*,Structure*,SDL_Surface*,SDL_Surface*> *> buildings; //building id, building def, structure struct, border, filling
|
||||
|
||||
CCastleInterface(const CGTownInstance * Town, bool Activate=true);
|
||||
~CCastleInterface();
|
||||
void show();
|
||||
|
||||
Reference in New Issue
Block a user