SBSPSS/source/level/layercollision.cpp
2001-02-02 19:16:49 +00:00

34 lines
916 B
C++

/******************************/
/*** Collision Layer Class ***/
/******************************/
#include "system\global.h"
#include <DStructs.h>
#include "utils\utils.h"
#include "LayerCollision.h"
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
CLayerCollision::CLayerCollision(sLayerHdr *Hdr)
{
LayerHdr=Hdr;
Map=(u8*)MakePtr(Hdr,sizeof(sLayerHdr));
MapWidth=LayerHdr->Width;
MapHeight=LayerHdr->Height;
printf("COLLISION LAYER = %i %i\n",MapWidth,MapHeight);
}
/*****************************************************************************/
CLayerCollision::~CLayerCollision()
{
}
/*****************************************************************************/
void CLayerCollision::shutdown()
{
}