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

* added #42 and #30

* one more file for AIs
This commit is contained in:
Michał W. Urbańczyk
2007-10-19 21:12:37 +00:00
parent e3937da8e3
commit 2286d37012
5 changed files with 124 additions and 27 deletions

View File

@@ -233,6 +233,7 @@ inline void delObjRect(const int & x, const int & y, const int & z, const int &
void CPlayerInterface::heroMoved(const HeroMoveDetails & details)
{
adventureInt->minimap.draw();
//initializing objects and performing first step of move
CObjectInstance * ho = details.ho; //object representing this hero
int3 hp = details.src;
@@ -831,8 +832,9 @@ SDL_Surface * CPlayerInterface::infoWin(void * specific) //specific=0 => draws i
}
else if (adventureInt->selection.type == TOWNI_TYPE)
{
//TODO: do it
return NULL;
char * buf = new char[10];
SDL_Surface * ret = copySurface(hInfo);
return ret;
}
else
return NULL;