This commit is contained in:
parent
a8fee4fc4b
commit
a7322aa222
11 changed files with 197 additions and 251 deletions
|
@ -1,13 +1,27 @@
|
|||
/***********************/
|
||||
/*** Anim Base Class ***/
|
||||
/***********************/
|
||||
/*************/
|
||||
/*** Smoke ***/
|
||||
/*************/
|
||||
|
||||
#ifndef __FX_FX_SMOKE_PUFF_HEADER__
|
||||
#define __FX_FX_SMOKE_PUFF_HEADER__
|
||||
#ifndef __FX_FX_SMOKE_HEADER__
|
||||
#define __FX_FX_SMOKE_HEADER__
|
||||
|
||||
#include "fx/fx.h"
|
||||
|
||||
/*****************************************************************************/
|
||||
class CFXSmoke : public CFX
|
||||
{
|
||||
public:
|
||||
|
||||
virtual void init(DVECTOR const &Pos);
|
||||
virtual void think(int _frames);
|
||||
|
||||
void setRate(int R) {Rate=R;}
|
||||
|
||||
protected:
|
||||
int Rate;
|
||||
int CurrentRate;
|
||||
};
|
||||
|
||||
class CFXSmokePuff : public CFX
|
||||
{
|
||||
public:
|
||||
|
@ -19,9 +33,8 @@ virtual void render();
|
|||
protected:
|
||||
POLY_FT4 *Frame;
|
||||
|
||||
s32 CurrentScale;
|
||||
s32 CurrentAngle;
|
||||
s16 RGBDec;
|
||||
int CurrentScale,ScaleInc;
|
||||
int CurrentAngle,AngleInc;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue