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>
|
||||
|
||||
|
||||
#ifdef __VERSION_debug__
|
||||
#define __SHOW_COLLISION__
|
||||
#endif
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
class CLayerCollision
|
||||
{
|
||||
|
@ -18,6 +24,11 @@ virtual void shutdown();
|
|||
|
||||
u8 Get(int X,int Y) {return(Map[X+(Y*MapWidth)]);}
|
||||
|
||||
#ifdef __SHOW_COLLISION__
|
||||
void render(DVECTOR &MapPos);
|
||||
#endif
|
||||
|
||||
|
||||
protected:
|
||||
sLayerHdr *LayerHdr;
|
||||
int MapWidth,MapHeight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue