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

* fixed some issues with hero moving; actualizing hero position is still broken :(

This commit is contained in:
mateuszb
2007-10-03 19:56:08 +00:00
parent 7b3c270dfc
commit d530bd057d
6 changed files with 19 additions and 12 deletions

View File

@@ -22,7 +22,7 @@ protected:
int player;
public:
bool moveHero(int ID, int3 destPoint, int idtype=0);//idtype: 0-position in vector; 1-ID of hero
bool moveHero(int ID, int3 destPoint, int idtype=0, unsigned char posType=0);//idtype: 0-position in vector; 1-ID of hero
int howManyTowns();
const CTownInstance * getTownInfo(int val, bool mode); //mode = 0 -> val = serial; mode = 1 -> val = ID