This commit is contained in:
Charles 2001-06-15 21:24:14 +00:00
parent f3c69806b7
commit 87d561c4ab
19 changed files with 331 additions and 65 deletions

View file

@ -25,18 +25,16 @@ public:
void render();
virtual void shutdown();
virtual void setupWaypoints( sThingActor *ThisActor );
virtual u8 canBeCaughtByNet();
virtual void caughtWithNet();
protected:
virtual void processClose( int _frames );
virtual void processMovement( int _frames );
virtual void processShot( int _frames );
void spawnJellyfish( int _frames );
//void spawnJellyfish( int _frames );
//virtual void processUserCollision( CThing *thisThing );
enum NPC_MOTHER_JELLYFISH_STATE
{
MOTHER_JELLYFISH_RETURN_TO_START_1 = 0,
/*MOTHER_JELLYFISH_RETURN_TO_START_1 = 0,
MOTHER_JELLYFISH_CYCLE_1 = 1,
MOTHER_JELLYFISH_ATTACK_PLAYER_SPAWN_1,
MOTHER_JELLYFISH_RETURN_TO_START_2,
@ -44,17 +42,23 @@ protected:
MOTHER_JELLYFISH_ATTACK_PLAYER_SPAWN_2,
MOTHER_JELLYFISH_RETURN_TO_START_3,
MOTHER_JELLYFISH_CYCLE_3,
MOTHER_JELLYFISH_ATTACK_PLAYER_SHOCK,
MOTHER_JELLYFISH_ATTACK_PLAYER_SHOCK,*/
MOTHER_JELLYFISH_CYCLE = 0,
MOTHER_JELLYFISH_ATTACK_PLAYER = 1,
};
int m_jellyfishCount;
s32 m_spawnTimer;
s32 m_pulsateTimer;
s32 m_cycleWidth;
s32 m_halfCycleWidth;
bool m_meterOn;
s16 m_renderScale;
CFXJellyFishLegs *legs[4];
DVECTOR legsPos[4];
DVECTOR targetPos;
};
#endif