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 postInit();
virtual void shutdown(); virtual void shutdown();
void think( int _frames ); void think( int _frames );
virtual void renderOnMapScreen( DVECTOR drawPos ) {;}
protected: protected:
void addHealthMeter(); void addHealthMeter();
virtual void processShot( int _frames ); virtual void processShot( int _frames );

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -737,6 +737,14 @@ SOURCE=..\..\..\source\fx\fxzzzz.h
# PROP Default_Filter "" # PROP Default_Filter ""
# Begin Source File # 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 SOURCE=..\..\..\source\game\convo.cpp
# End Source File # End Source File
# Begin Source File # Begin Source File