/*========================================================================= nsshark.h Author: CRB Created: Project: Spongebob Purpose: Copyright (c) 2000 Climax Development Ltd ===========================================================================*/ #ifndef __ENEMY_NSSHARK_H__ #define __ENEMY_NSSHARK_H__ #ifndef __ENEMY_NBOSS_H__ #include "enemy\nboss.h" #endif #ifndef __PLAYER_PLAYER_H__ #include "player\player.h" #endif class CNpcSubSharkEnemy : public CNpcBossEnemy { public: void think( int _frames ); void postInit(); void render(); void shutdown(); protected: //virtual void processClose( int _frames ); s32 getFrameShift( int _frames ); void processMovement( int _frames ); void processShot( int _frames ); void collidedWith(CThing *_thisThing); void setupWaypoints( sThingActor *ThisActor ); enum NPC_SUB_SHARK_STATE { SUB_SHARK_MINE_1 = 0, SUB_SHARK_MINE_2 = 1, SUB_SHARK_GOTO_CHARGE, SUB_SHARK_DROP, SUB_SHARK_START_CHARGE, SUB_SHARK_CHARGE, SUB_SHARK_END_CHARGE, }; enum { NPC_SUB_SHARK_HIGH_SPEED = 6, }; u8 m_salvoCount; s32 m_invulnerableTimer; DVECTOR m_targetPos; u8 m_carryPlayer; PLAYER_MODE m_oldPlayerMode; }; #endif