This commit is contained in:
parent
e24c93004d
commit
b9fa255cd3
5 changed files with 145 additions and 96 deletions
|
@ -26,6 +26,8 @@ virtual void shutdown();
|
|||
int getHeightFromGround(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)]);}
|
||||
|
||||
#ifdef __SHOW_COLLISION__
|
||||
void render(DVECTOR &MapPos);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue