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:
|
|
|
|
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:
|
|
|
|
virtual void processClose( int _frames );
|
|
|
|
virtual void processMovement( int _frames );
|
2001-06-11 23:49:49 +02:00
|
|
|
virtual void processShot( int _frames );
|
2001-04-20 20:40:52 +02:00
|
|
|
|
|
|
|
enum NPC_SUB_SHARK_STATE
|
|
|
|
{
|
|
|
|
SUB_SHARK_MINE_1 = 0,
|
|
|
|
SUB_SHARK_MINE_2 = 1,
|
|
|
|
SUB_SHARK_CYCLE,
|
|
|
|
SUB_SHARK_SWALLOW,
|
|
|
|
};
|
|
|
|
|
|
|
|
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-04-20 20:40:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|