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

wyświetlanie obiektów na mapie (wymaga dokończenia), drobne poprawki

This commit is contained in:
mateuszb
2007-07-02 11:23:42 +00:00
parent 30aa7499ef
commit 9ff9557ed2
9 changed files with 63 additions and 41 deletions

View File

@@ -5,13 +5,16 @@
#include "CSemiDefHandler.h"
#include "CGameInfo.h"
const unsigned int Woff = 4; //width of map's frame
const unsigned int Hoff = 4;
class CMapHandler
{
public:
CAmbarCendamo * reader;
SDL_Surface *** terrainBitmap;
SDL_Surface *** undTerrainBitmap; // used only if there is underground level
SDL_Surface * terrainRect(int x, int y, int dx, int dy, int level=0);
SDL_Surface * terrainRect(int x, int y, int dx, int dy, int level=0, unsigned char anim=0);
SDL_Surface * terrBitmap(int x, int y);
SDL_Surface * undTerrBitmap(int x, int y);
CSemiDefHandler * fullHide;