This commit is contained in:
Daveo 2000-12-14 16:01:49 +00:00
parent 557df97386
commit 18d0247548
2 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,46 @@
/*******************************/
/*** Action Tile Layer Class ***/
/*******************************/
#include "system\global.h"
#include <DStructs.h>
#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();
}

View file

@ -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