mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
* started making creature info window
* callback for buttons/lists based on boost::function * new file AdventureMapButton.cpp - update your project files
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#pragma once
|
||||
#include "CPlayerInterface.h"
|
||||
|
||||
template <typename T> class AdventureMapButton;
|
||||
class AdventureMapButton;
|
||||
struct SDL_Surface;
|
||||
class CGHeroInstance;
|
||||
class CDefHandler;
|
||||
@@ -91,10 +91,10 @@ class CHeroWindow: public IActivable, public IShowable, public virtual CIntObjec
|
||||
CDefHandler * skillpics, *flags;
|
||||
|
||||
//buttons
|
||||
AdventureMapButton<CHeroWindow> * quitButton, * dismissButton, * questlogButton, //general
|
||||
AdventureMapButton * quitButton, * dismissButton, * questlogButton, //general
|
||||
* gar1button, * gar2button, * gar3button, //garrison / formation handling
|
||||
* leftArtRoll, * rightArtRoll;
|
||||
AdventureMapButton<CGarrisonInt> * gar4button; //splitting
|
||||
AdventureMapButton * gar4button; //splitting
|
||||
//std::vector< AdventureMapButton<CHeroWindow> * > heroList; //list of heroes
|
||||
std::vector<LClickableAreaHero *> heroListMi; //new better list of heroes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user