From 18d0247548a1dcc4624c0274e789df64b62f6399 Mon Sep 17 00:00:00 2001 From: Daveo Date: Thu, 14 Dec 2000 16:01:49 +0000 Subject: [PATCH] --- source/level/layertile3d.cpp | 46 ++++++++++++++++++++++++++++++++++++ source/level/layertile3d.h | 28 ++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 source/level/layertile3d.cpp create mode 100644 source/level/layertile3d.h 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