This commit is contained in:
parent
b033c27b2b
commit
c685da55e0
4 changed files with 173 additions and 44 deletions
|
@ -25,6 +25,7 @@ virtual void shutdown();
|
|||
u8 Get(int X,int Y) {return(Map[X+(Y*MapWidth)]&COLLISION_TILE_MASK);}
|
||||
int getHeightFromGround(int _x,int _y,int _maxHeight=32);
|
||||
int getHeightFromGroundNonSB(int _x,int _y,int _maxHeight=32);
|
||||
int getHeightFromGroundCart(int _x,int _y,int _maxHeight=32);
|
||||
int getCollisionBlock(int _x,int _y) {return Map[(_x>>4)+((_y>>4)*MapWidth)];}
|
||||
|
||||
u8 *getMapPtr(int _x,int _y) {return(&Map[(_x>>4)+((_y>>4)*MapWidth)]);}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue