This commit is contained in:
parent
557df97386
commit
18d0247548
2 changed files with 74 additions and 0 deletions
46
source/level/layertile3d.cpp
Normal file
46
source/level/layertile3d.cpp
Normal 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();
|
||||||
|
}
|
28
source/level/layertile3d.h
Normal file
28
source/level/layertile3d.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue