2001-05-16 21:06:02 +02:00
|
|
|
/********************/
|
|
|
|
/*** Falling Tile ***/
|
|
|
|
/********************/
|
2001-05-16 16:53:09 +02:00
|
|
|
|
2001-05-16 21:06:02 +02:00
|
|
|
#ifndef __FX_FX_FALLING_TILE_HEADER__
|
|
|
|
#define __FX_FX_FALLING_TILE_HEADER__
|
2001-05-16 16:53:09 +02:00
|
|
|
|
|
|
|
#include "fx/fx.h"
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
2001-05-16 21:06:02 +02:00
|
|
|
class CFXFallingTile : public CFX
|
2001-05-16 16:53:09 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2001-05-16 21:06:02 +02:00
|
|
|
virtual void init(DVECTOR const &Pos);
|
2001-05-16 16:53:09 +02:00
|
|
|
virtual void shutdown();
|
|
|
|
virtual void think(int _frames);
|
|
|
|
virtual void render();
|
2001-05-16 21:06:02 +02:00
|
|
|
void SetTile(int T) {Tile=T;}
|
2001-05-16 16:53:09 +02:00
|
|
|
protected:
|
|
|
|
|
2001-05-16 21:06:02 +02:00
|
|
|
u16 Tile;
|
|
|
|
u16 Life;
|
|
|
|
DVECTOR Velocity;
|
2001-05-16 16:53:09 +02:00
|
|
|
|
2001-05-16 21:06:02 +02:00
|
|
|
sTile3d *TileBank3d;
|
|
|
|
sTri *TriList;
|
|
|
|
sQuad *QuadList;
|
|
|
|
sVtx *VtxList;
|
2001-05-16 16:53:09 +02:00
|
|
|
|
|
|
|
};
|
2001-05-16 21:06:02 +02:00
|
|
|
|
2001-05-16 16:53:09 +02:00
|
|
|
#endif
|