diff --git a/source/level/layertile3d.cpp b/source/level/layertile3d.cpp new file mode 100644 index 000000000..12fa96604 --- /dev/null +++ b/source/level/layertile3d.cpp @@ -0,0 +1,46 @@ +/*******************************/ +/*** Action Tile Layer Class ***/ +/*******************************/ + +#include "system\global.h" +#include +#include "utils\utils.h" +#include "gfx\prim.h" + + +#include "LayerTile.h" +#include "LayerAction.h" + + +/*****************************************************************************/ +/*****************************************************************************/ +/*****************************************************************************/ +CLayerAction::CLayerAction(sLayerHdr *Hdr,sTile *TileList,sTri *TriList,sQuad *QuadList,sVtx *VtxList) : CLayerTile(Hdr,TileList,TriList,QuadList,VtxList) +{ +} + +/*****************************************************************************/ +CLayerAction::~CLayerAction() +{ +} + + +/*****************************************************************************/ +/*****************************************************************************/ +/*****************************************************************************/ +void CLayerAction::init(VECTOR &MapPos,int Shift,int Width,int Height) +{ + CLayerTile::init(MapPos,Shift); +} + +/*****************************************************************************/ +void CLayerAction::shutdown() +{ +} + +/*****************************************************************************/ +void CLayerAction::render() +{ +// CLayerTile::render(); + CLayerTile::render3d(); +} diff --git a/source/level/layertile3d.h b/source/level/layertile3d.h new file mode 100644 index 000000000..6527baf40 --- /dev/null +++ b/source/level/layertile3d.h @@ -0,0 +1,28 @@ +/*******************************/ +/*** Action Tile Layer Class ***/ +/*******************************/ + +#ifndef __LAYER_ACTION_H__ +#define __LAYER_ACTION_H__ + + +/*****************************************************************************/ +class CLayerAction : public CLayerTile +{ +public: + CLayerAction(sLayerHdr *Hdr,sTile *TileList,sTri *TriList,sQuad *QuadList,sVtx *VtxList); + ~CLayerAction(); + + void init(VECTOR &MapPos,int Shift,int Width,int Height); + void shutdown(); + void render(); + +protected: + +}; + + + +/*****************************************************************************/ + +#endif \ No newline at end of file