SBSPSS/source/enemy/nsshark.h

62 lines
1.2 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__
2001-06-30 17:39:43 +02:00
#ifndef __ENEMY_NBOSS_H__
#include "enemy\nboss.h"
#endif
2001-06-27 20:28:21 +02:00
2001-07-03 22:49:30 +02:00
#ifndef __PLAYER_PLAYER_H__
#include "player\player.h"
#endif
2001-06-27 20:28:21 +02:00
2001-06-30 17:39:43 +02:00
class CNpcSubSharkEnemy : public CNpcBossEnemy
2001-04-20 20:40:52 +02:00
{
public:
2001-07-04 00:17:20 +02:00
void postInit();
2001-06-16 17:43:04 +02:00
void render();
2001-08-03 21:30:35 +02:00
virtual void renderOnMapScreen( DVECTOR drawPos );
2001-07-04 00:17:20 +02:00
void shutdown();
2001-04-20 20:40:52 +02:00
protected:
2001-06-21 17:51:28 +02:00
//virtual void processClose( int _frames );
2001-07-04 16:26:36 +02:00
s32 getFrameShift( int _frames );
void processMovement( int _frames );
void processShot( int _frames );
void collidedWith(CThing *_thisThing);
void setupWaypoints( sThingActor *ThisActor );
2001-04-20 20:40:52 +02:00
enum NPC_SUB_SHARK_STATE
{
SUB_SHARK_MINE_1 = 0,
2001-07-04 21:51:22 +02:00
SUB_SHARK_GOTO_CHARGE = 1,
2001-06-21 17:51:28 +02:00
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-21 17:51:28 +02:00
DVECTOR m_targetPos;
2001-07-03 22:49:30 +02:00
u8 m_carryPlayer;
PLAYER_MODE m_oldPlayerMode;
2001-04-20 20:40:52 +02:00
};
#endif