SBSPSS/source/fx/fxzzzz.h

38 lines
558 B
C
Raw Normal View History

2001-07-05 17:56:39 +02:00
/**********************/
/*** ZZZZ (for FMA) ***/
/**********************/
2001-07-05 16:52:09 +02:00
2001-07-05 17:56:39 +02:00
#ifndef __FX_FX_ZZZZ_HEADER__
#define __FX_FX_ZZZZ_HEADER__
2001-07-05 16:52:09 +02:00
#include "fx/fx.h"
/*****************************************************************************/
2001-07-05 17:56:39 +02:00
class CFXZZZZ : public CFX
2001-07-05 16:52:09 +02:00
{
public:
2001-07-05 17:56:39 +02:00
enum
{
Z_COUNT=8,
};
struct sZ
{
DVECTOR Ofs;
s16 TablePos;
s16 Life;
};
2001-07-05 16:52:09 +02:00
void init(DVECTOR const &Pos);
void think(int _frames);
void render();
2001-07-05 17:56:39 +02:00
void killFX() {DieFlag=1;}
2001-07-05 16:52:09 +02:00
protected:
2001-07-05 17:56:39 +02:00
sZ Z[Z_COUNT];
s16 Count;
u8 DieFlag;
2001-07-05 16:52:09 +02:00
};
#endif