2001-05-18 22:54:43 +02:00
|
|
|
/*************/
|
|
|
|
/*** Steam ***/
|
|
|
|
/*************/
|
2001-05-18 16:17:13 +02:00
|
|
|
|
2001-05-18 22:54:43 +02:00
|
|
|
#ifndef __FX_FX_STEAM_HEADER__
|
|
|
|
#define __FX_FX_STEAM_HEADER__
|
2001-05-18 16:17:13 +02:00
|
|
|
|
|
|
|
#include "fx/fx.h"
|
2001-06-08 15:35:08 +02:00
|
|
|
#include "fx/fxbasetrail.h"
|
2001-05-18 16:17:13 +02:00
|
|
|
|
|
|
|
/*****************************************************************************/
|
2001-05-23 22:00:25 +02:00
|
|
|
class CFXSteam : public CFXBaseTrail
|
2001-05-18 16:17:13 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void init(DVECTOR const &Pos);
|
2001-06-14 23:17:10 +02:00
|
|
|
|
2001-05-18 16:17:13 +02:00
|
|
|
virtual void think(int _frames);
|
2001-05-31 22:07:48 +02:00
|
|
|
virtual void killFX();
|
2001-05-18 16:17:13 +02:00
|
|
|
|
2001-05-18 22:54:43 +02:00
|
|
|
void SetSize(int Size);
|
2001-06-08 15:35:08 +02:00
|
|
|
void SetVel(DVECTOR const &Velocity);
|
|
|
|
void SetHorizontal(bool newHorizontal) {IsHorizontal=newHorizontal;}
|
2001-05-21 20:11:30 +02:00
|
|
|
|
2001-05-18 16:17:13 +02:00
|
|
|
protected:
|
2001-05-21 20:11:30 +02:00
|
|
|
DVECTOR BaseVel;
|
2001-05-22 17:11:52 +02:00
|
|
|
s16 ScaleInc;
|
|
|
|
s16 ShadeDec;
|
2001-05-31 22:07:48 +02:00
|
|
|
bool DieOut;
|
2001-06-08 15:35:08 +02:00
|
|
|
bool IsHorizontal;
|
2001-05-22 17:11:52 +02:00
|
|
|
|
2001-05-18 16:17:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|