SBSPSS/source/fx/fxsmoke.h

41 lines
677 B
C
Raw Normal View History

2001-07-02 21:29:20 +02:00
/*************/
/*** Smoke ***/
/*************/
2001-07-02 19:27:49 +02:00
2001-07-02 21:29:20 +02:00
#ifndef __FX_FX_SMOKE_HEADER__
#define __FX_FX_SMOKE_HEADER__
2001-07-02 19:27:49 +02:00
#include "fx/fx.h"
/*****************************************************************************/
2001-07-02 21:29:20 +02:00
class CFXSmoke : public CFX
{
public:
2001-07-04 20:19:13 +02:00
/*virtual*/ void init(DVECTOR const &Pos);
/*virtual*/ void think(int _frames);
2001-07-02 21:29:20 +02:00
void setRate(int R) {Rate=R;}
protected:
int Rate;
int CurrentRate;
};
2001-07-02 19:27:49 +02:00
class CFXSmokePuff : public CFX
{
public:
2001-07-04 20:19:13 +02:00
/*virtual*/ void init(DVECTOR const &Pos);
/*virtual*/ void think(int _frames);
/*virtual*/ void render();
2001-07-02 19:27:49 +02:00
protected:
POLY_FT4 *Frame;
2001-07-02 21:29:20 +02:00
int CurrentScale,ScaleInc;
int CurrentAngle,AngleInc;
2001-07-02 19:27:49 +02:00
};
#endif