This commit is contained in:
parent
55e36f25d3
commit
7a43d05c5f
9 changed files with 15 additions and 23 deletions
|
@ -65,8 +65,8 @@ inline u8 Get(int X,int Y)
|
|||
void render(DVECTOR &MapPos);
|
||||
#endif
|
||||
|
||||
int getMapWidth() {return(MapWidth);}
|
||||
int getMapHeight() {return(MapHeight);}
|
||||
// int getMapWidth() {return(MapWidth);}
|
||||
// int getMapHeight() {return(MapHeight);}
|
||||
|
||||
protected:
|
||||
sLayerHdr *LayerHdr;
|
||||
|
|
|
@ -792,7 +792,7 @@ DVECTOR DP;
|
|||
// Note: relies on tiles not being top or bottom of map tho!!
|
||||
void CLevel::destroyMapTile(DVECTOR const &Pos)
|
||||
{
|
||||
int Width=CollisionLayer->getMapWidth();
|
||||
int Width=getMapWidth();
|
||||
DVECTOR MP=Pos;
|
||||
const int ColT=COLLISION_TYPE_DESTRUCTABLE_FLOOR;
|
||||
|
||||
|
@ -855,8 +855,8 @@ DVECTOR DP;
|
|||
/*****************************************************************************/
|
||||
void CLevel::CreateTileStore()
|
||||
{
|
||||
int MapW=CollisionLayer->getMapWidth();
|
||||
int MapH=CollisionLayer->getMapHeight();
|
||||
int MapW=getMapWidth();
|
||||
int MapH=getMapHeight();
|
||||
int X,Y;
|
||||
|
||||
m_TileStoreCount=0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue