This commit is contained in:
Paul 2001-02-13 22:36:06 +00:00
parent 59da144698
commit 8c09a0d3f5
2 changed files with 10 additions and 1 deletions

View file

@ -34,13 +34,18 @@ void CLayerCollision::shutdown()
/*****************************************************************************/
#ifdef __SHOW_COLLISION__
#include "gfx\prim.h"
#ifdef __USER_paul__
#include "pad\pads.h"
#if defined (__USER_paul__) || (__USER_art__)
int showCollision=true;
#else
int showCollision=false;
#endif
void CLayerCollision::render(DVECTOR &MapPos)
{
if(PadGetDown(0)&PAD_TRIANGLE)
{
showCollision=!showCollision;
}
if(showCollision)
{
int x,y;