2001-05-05 20:12:30 +02:00
|
|
|
/**********************/
|
|
|
|
/*** JellyFish Legs ***/
|
|
|
|
/**********************/
|
|
|
|
|
|
|
|
#ifndef __FX_FX_JELLYFISH_LEGS_HEADER__
|
|
|
|
#define __FX_FX_JELLYFISH_LEGS_HEADER__
|
|
|
|
|
|
|
|
#include "fx/fx.h"
|
|
|
|
|
|
|
|
/*****************************************************************************/
|
|
|
|
class CFXJellyFishLegs : public CFX
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
2001-05-30 22:36:44 +02:00
|
|
|
virtual void init(DVECTOR const &Pos);
|
2001-05-05 20:12:30 +02:00
|
|
|
virtual void think(int _frames);
|
|
|
|
virtual void render();
|
|
|
|
|
2001-05-30 22:36:44 +02:00
|
|
|
void Setup(int XOfs,int YOfs,bool XFlip);
|
2001-06-11 21:32:41 +02:00
|
|
|
void setScale( s16 newScale ) {Scale = newScale;}
|
2001-05-11 02:54:52 +02:00
|
|
|
|
2001-05-05 20:12:30 +02:00
|
|
|
protected:
|
2001-05-30 22:36:44 +02:00
|
|
|
DVECTOR Ofs;
|
2001-05-05 20:12:30 +02:00
|
|
|
|
2001-05-30 22:36:44 +02:00
|
|
|
int Angle,AngleInc;
|
|
|
|
bool XFlip;
|
2001-06-11 21:32:41 +02:00
|
|
|
s16 Scale;
|
2001-05-05 20:12:30 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|