2001-06-30 17:57:22 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
nboss.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NBOSS_H__
|
|
|
|
#define __ENEMY_NBOSS_H__
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NPC_H__
|
|
|
|
#include "enemy\npc.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "fx\fx.h"
|
|
|
|
#include "fx\fxnrgbar.h"
|
|
|
|
|
|
|
|
class CNpcBossEnemy : public CNpcEnemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
|
|
|
virtual void shutdown();
|
2001-08-02 18:26:54 +02:00
|
|
|
void think( int _frames );
|
2001-08-03 21:30:35 +02:00
|
|
|
virtual void renderOnMapScreen( DVECTOR drawPos ) {;}
|
2001-08-15 20:01:20 +02:00
|
|
|
bool allowOffMap() {return (true);}
|
2001-08-03 21:30:35 +02:00
|
|
|
|
2001-06-30 17:57:22 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void addHealthMeter();
|
2001-08-02 17:26:38 +02:00
|
|
|
virtual void processShot( int _frames );
|
2001-06-30 17:57:22 +02:00
|
|
|
|
|
|
|
bool m_meterOn;
|
|
|
|
CFXNRGBar *m_energyBar;
|
2001-08-02 18:26:54 +02:00
|
|
|
s32 m_invulnerableTimer;
|
2001-06-30 17:57:22 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|