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:
@@ -75,6 +75,7 @@ public:
|
||||
int getResourceAmount(int type);
|
||||
int howManyHeroes();
|
||||
const CGTownInstance * getTownInfo(int val, bool mode); //mode = 0 -> val = serial; mode = 1 -> val = ID
|
||||
std::vector < const CGTownInstance *> getTownsInfo(bool onlyOur=true);
|
||||
int howManyTowns();
|
||||
std::vector < std::string > getObjDescriptions(int3 pos); //returns descriptions of objects at pos in order from the lowest to the highest
|
||||
std::vector < const CGHeroInstance *> getHeroesInfo(bool onlyOur=true);
|
||||
|
||||
Reference in New Issue
Block a user