1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* resolving #23 with adding it to callback

This commit is contained in:
mateuszb
2007-10-05 18:10:33 +00:00
parent df3b0f56d9
commit 49565e6b45
6 changed files with 49 additions and 1 deletions

View File

@@ -23,6 +23,7 @@ protected:
public:
bool moveHero(int ID, int3 destPoint, int idtype=0, unsigned char posType=0);//idtype: 0-position in vector; 1-ID of hero
std::vector < std::string > getObjDescriptions(int3 pos); //returns descriptions of objects at pos in order from the lowest to the highest
int howManyTowns();
const CTownInstance * getTownInfo(int val, bool mode); //mode = 0 -> val = serial; mode = 1 -> val = ID