This commit is contained in:
Paul 2001-08-03 19:30:35 +00:00
parent e9c1ea4e90
commit 4559c0a192
8 changed files with 20 additions and 8 deletions

View File

@ -27,6 +27,8 @@ public:
virtual void postInit();
virtual void shutdown();
void think( int _frames );
virtual void renderOnMapScreen( DVECTOR drawPos ) {;}
protected:
void addHealthMeter();
virtual void processShot( int _frames );

View File

@ -27,7 +27,7 @@ class CNpcIronDogfishEnemy : public CNpcBossEnemy
public:
void postInit();
void render();
void renderOnMapScreen( DVECTOR drawPos );
virtual void renderOnMapScreen( DVECTOR drawPos );
void shutdown();
protected:
void processTimer( int _frames );

View File

@ -25,7 +25,7 @@ public:
void think( int _frames );
void postInit();
void render();
void renderOnMapScreen( DVECTOR drawPos );
virtual void renderOnMapScreen( DVECTOR drawPos );
void shutdown();
u8 hasBeenAttacked();
protected:

View File

@ -29,7 +29,7 @@ class CNpcMotherJellyfishEnemy : public CNpcBossEnemy
public:
void postInit();
void render();
void renderOnMapScreen( DVECTOR drawPos );
virtual void renderOnMapScreen( DVECTOR drawPos );
void shutdown();
void setupWaypoints( sThingActor *ThisActor );
protected:

View File

@ -28,7 +28,7 @@ class CNpcSubSharkEnemy : public CNpcBossEnemy
public:
void postInit();
void render();
void renderOnMapScreen( DVECTOR drawPos );
virtual void renderOnMapScreen( DVECTOR drawPos );
void shutdown();
protected:
//virtual void processClose( int _frames );

View File

@ -59,7 +59,7 @@ public:
void postInit();
void shutdown();
void render();
void renderOnMapScreen( DVECTOR drawPos );
virtual void renderOnMapScreen( DVECTOR drawPos );
int checkCollisionAgainst(CThing *_thisThing, int _frames);
protected:
s32 getFrameShift( int _frames );

View File

@ -46,6 +46,10 @@
#include "gfx/actor.h"
#endif
#ifndef __ENEMY_NBOSS_H__
#include "enemy\nboss.h"
#endif
/* Std Lib
------- */
@ -98,7 +102,6 @@ extern CThing *g_bossThing;
Params:
Returns:
---------------------------------------------------------------------- */
int forcelevel=0;
void CBossText::init()
{
m_scalableFontBank=new ("font") ScalableFontBank();
@ -239,8 +242,7 @@ void CBossText::render()
// Boss gfx
DVECTOR bossPoss;
bossPoss=pos;
// g_bossThing;
((CNpcBossEnemy*)g_bossThing)->renderOnMapScreen(bossPoss);
}
else
{

View File

@ -737,6 +737,14 @@ SOURCE=..\..\..\source\fx\fxzzzz.h
# PROP Default_Filter ""
# Begin Source File
SOURCE=..\..\..\source\game\bosstext.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\source\game\bosstext.h
# End Source File
# Begin Source File
SOURCE=..\..\..\source\game\convo.cpp
# End Source File
# Begin Source File