This commit is contained in:
parent
0b2fe9ef7b
commit
acf969998b
7 changed files with 72 additions and 143 deletions
|
@ -1,35 +1,25 @@
|
|||
/**********************/
|
||||
/*** JellyFish Legs ***/
|
||||
/**********************/
|
||||
/*************/
|
||||
/*** Steam ***/
|
||||
/*************/
|
||||
|
||||
#ifndef __FX_FX_CLOUD_HEADER__
|
||||
#define __FX_FX_CLOUD_HEADER__
|
||||
#ifndef __FX_FX_STEAM_HEADER__
|
||||
#define __FX_FX_STEAM_HEADER__
|
||||
|
||||
#include "fx/fx.h"
|
||||
#include "fx/fxcloud.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
class CFXCloud : public CFX
|
||||
class CFXSteam : public CFXCloud
|
||||
{
|
||||
public:
|
||||
struct sList
|
||||
{
|
||||
DVECTOR Ofs;
|
||||
};
|
||||
enum
|
||||
{
|
||||
MAX_TRAIL = 16
|
||||
};
|
||||
|
||||
virtual void init(DVECTOR const &Pos);
|
||||
virtual void shutdown();
|
||||
virtual void think(int _frames);
|
||||
virtual void render();
|
||||
|
||||
void SetSize(int Size);
|
||||
protected:
|
||||
sList List[MAX_TRAIL];
|
||||
int ListCount;
|
||||
int HeadIdx;
|
||||
int Angle;
|
||||
int Life;
|
||||
DVECTOR Vel;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue