SBSPSS/source/enemy/nsshark.h

54 lines
1.1 KiB
C
Raw Normal View History

2001-04-20 20:40:52 +02:00
/*=========================================================================
nsshark.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NSSHARK_H__
#define __ENEMY_NSSHARK_H__
class CNpcSubSharkEnemy : public CNpcEnemy
{
public:
2001-06-20 21:39:00 +02:00
virtual void think( int _frames );
2001-04-20 20:40:52 +02:00
virtual void postInit();
2001-06-16 17:43:04 +02:00
void render();
virtual void shutdown();
2001-04-20 20:40:52 +02:00
protected:
2001-06-21 17:51:28 +02:00
//virtual void processClose( int _frames );
virtual s32 getFrameShift( int _frames );
2001-04-20 20:40:52 +02:00
virtual void processMovement( int _frames );
2001-06-11 23:49:49 +02:00
virtual void processShot( int _frames );
2001-06-20 21:39:00 +02:00
virtual void collidedWith(CThing *_thisThing);
2001-06-21 17:51:28 +02:00
virtual void setupWaypoints( sThingActor *ThisActor );
2001-04-20 20:40:52 +02:00
enum NPC_SUB_SHARK_STATE
{
SUB_SHARK_MINE_1 = 0,
SUB_SHARK_MINE_2 = 1,
2001-06-21 17:51:28 +02:00
SUB_SHARK_GOTO_CHARGE,
SUB_SHARK_DROP,
SUB_SHARK_START_CHARGE,
SUB_SHARK_CHARGE,
SUB_SHARK_END_CHARGE,
2001-04-20 20:40:52 +02:00
};
enum
{
NPC_SUB_SHARK_HIGH_SPEED = 6,
};
2001-05-16 21:04:40 +02:00
u8 m_salvoCount;
2001-06-16 17:43:04 +02:00
bool m_meterOn;
2001-06-20 21:39:00 +02:00
s32 m_invulnerableTimer;
2001-06-21 17:51:28 +02:00
DVECTOR m_targetPos;
2001-04-20 20:40:52 +02:00
};
#endif