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

* small improvements

* probably working getting visitable objects at certain position (to be tested)
This commit is contained in:
mateuszb
2007-10-26 17:55:33 +00:00
parent b07b1ec7dc
commit c18e4573f1
5 changed files with 57 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ public:
int getCost(int3 & a, int3 & b, const CHeroInstance * hero);
std::vector< std::string > getObjDescriptions(int3 pos); //returns desriptions of objects blocking given position
std::vector< CObjectInstance * > getVisitableObjs(int3 pos); //returns vector of visitable objects at certain position
void init();
SDL_Surface * terrainRect(int x, int y, int dx, int dy, int level=0, unsigned char anim=0, PseudoV< PseudoV< PseudoV<unsigned char> > > & visibilityMap = CGI->mh->visibility);
SDL_Surface * terrBitmap(int x, int y);