2001-04-17 18:42:07 +02:00
|
|
|
/***********************/
|
|
|
|
/*** Layer Collision ***/
|
|
|
|
/***********************/
|
|
|
|
|
|
|
|
#ifndef __MKLEVEL_LAYER_COLLISION_HEADER__
|
|
|
|
#define __MKLEVEL_LAYER_COLLISION_HEADER__
|
|
|
|
|
|
|
|
#include "MkLevelLayer.h"
|
|
|
|
#include <List2d.h>
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
class CMkLevelLayerCollision: public CMkLevelLayer
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
CMkLevelLayerCollision(sExpLayerHdr *LayerHdr);
|
|
|
|
|
|
|
|
virtual void PreProcess(CMkLevel *Core);
|
|
|
|
virtual void Process(CMkLevel *Core);
|
2001-06-25 17:54:07 +02:00
|
|
|
virtual int Write(CMkLevel *Core,FILE *File,const char *LayerName);
|
2001-04-17 18:42:07 +02:00
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
CList2d<sExpColTile> Map;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
#endif
|