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

@@ -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);