33 lines
679 B
C++
33 lines
679 B
C++
/**********************/
|
|
/*** JellyFish Legs ***/
|
|
/**********************/
|
|
|
|
#ifndef __FX_FX_JELLYFISH_LEGS_HEADER__
|
|
#define __FX_FX_JELLYFISH_LEGS_HEADER__
|
|
|
|
#include "fx/fx.h"
|
|
|
|
/*****************************************************************************/
|
|
class CFXJellyFishLegs : public CFX
|
|
{
|
|
public:
|
|
|
|
/*virtual */void init(DVECTOR const &Pos);
|
|
/*virtual */void think(int _frames);
|
|
/*virtual */void render();
|
|
void renderOnMapScreen( DVECTOR drawPos, int XOfs, int YOfs );
|
|
|
|
void Setup(int XOfs,int YOfs,bool XFlip);
|
|
void setScale( s16 newScale ) {Scale = newScale;}
|
|
|
|
protected:
|
|
DVECTOR Ofs;
|
|
|
|
int Angle,AngleInc;
|
|
bool XFlip;
|
|
s16 Scale;
|
|
|
|
};
|
|
|
|
#endif
|