2001-06-19 21:56:41 +02:00
|
|
|
/***********************/
|
|
|
|
/*** Anim Base Class ***/
|
|
|
|
/***********************/
|
|
|
|
|
2001-06-19 23:19:01 +02:00
|
|
|
#ifndef __FX_FX_GEYSER_HEADER__
|
|
|
|
#define __FX_FX_GEYSER_HEADER__
|
2001-06-19 21:56:41 +02:00
|
|
|
|
|
|
|
#include "fx/fx.h"
|
|
|
|
#include "fx/fxbaseAnim.h"
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
2001-06-19 23:19:01 +02:00
|
|
|
class CFXGeyser : public CFX
|
2001-06-19 21:56:41 +02:00
|
|
|
{
|
|
|
|
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-13 15:49:58 +02:00
|
|
|
void shutdown();
|
2001-06-19 21:56:41 +02:00
|
|
|
|
2001-06-19 23:35:02 +02:00
|
|
|
void setHeight(int H) {TargetHeight=H;}
|
|
|
|
|
2001-06-19 21:56:41 +02:00
|
|
|
protected:
|
2001-06-19 23:19:01 +02:00
|
|
|
s16 TargetHeight,Height;
|
|
|
|
u16 currentFrame;
|
2001-07-13 15:49:58 +02:00
|
|
|
int SoundId;
|
2001-06-19 21:56:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|