This commit is contained in:
parent
294a09d2ff
commit
c03dc8b558
1 changed files with 11 additions and 0 deletions
|
@ -7,6 +7,12 @@
|
||||||
|
|
||||||
#include <dstructs.h>
|
#include <dstructs.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __VERSION_debug__
|
||||||
|
#define __SHOW_COLLISION__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
class CLayerCollision
|
class CLayerCollision
|
||||||
{
|
{
|
||||||
|
@ -18,6 +24,11 @@ virtual void shutdown();
|
||||||
|
|
||||||
u8 Get(int X,int Y) {return(Map[X+(Y*MapWidth)]);}
|
u8 Get(int X,int Y) {return(Map[X+(Y*MapWidth)]);}
|
||||||
|
|
||||||
|
#ifdef __SHOW_COLLISION__
|
||||||
|
void render(DVECTOR &MapPos);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
sLayerHdr *LayerHdr;
|
sLayerHdr *LayerHdr;
|
||||||
int MapWidth,MapHeight;
|
int MapWidth,MapHeight;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue