This commit is contained in:
parent
d2971296b8
commit
7478d3483b
88 changed files with 260 additions and 260 deletions
|
@ -24,8 +24,8 @@ public:
|
|||
virtual void postInit();
|
||||
void setHeading( s32 xPos, s32 yPos );
|
||||
protected:
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual bool processSensor();
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
|
||||
s32 m_fireHeading;
|
||||
};
|
||||
|
@ -33,7 +33,7 @@ protected:
|
|||
class CNpcAnemone1Enemy : public CNpcAnemoneEnemy
|
||||
{
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
void processClose( int _frames );
|
||||
};
|
||||
|
||||
class CNpcAnemone2Enemy : public CNpcAnemoneEnemy
|
||||
|
@ -41,12 +41,12 @@ class CNpcAnemone2Enemy : public CNpcAnemoneEnemy
|
|||
public:
|
||||
void postInit();
|
||||
void shutdown();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
virtual void processShotDeathStart( int _frames );
|
||||
virtual void processShotDeathEnd( int _frames );
|
||||
void processClose( int _frames );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
void processShotDeathStart( int _frames );
|
||||
void processShotDeathEnd( int _frames );
|
||||
|
||||
u16 m_scaleX, m_scaleY;
|
||||
|
||||
|
@ -62,7 +62,7 @@ protected:
|
|||
class CNpcAnemone3Enemy : public CNpcAnemoneEnemy
|
||||
{
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
void processClose( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -19,7 +19,7 @@ class CNpcBallBlobEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
DVECTOR m_velocity;
|
||||
};
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
class CNpcBoogerMonsterEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
virtual void postInit();
|
||||
virtual void shutdown();
|
||||
protected:
|
||||
virtual void addHealthMeter();
|
||||
void addHealthMeter();
|
||||
|
||||
bool m_meterOn;
|
||||
CFXNRGBar *m_energyBar;
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
class CNpcButterflyBackgroundEnemy : public CNpcSmallJellyfishBackgroundEnemy
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
virtual int getFrameCount() {return( FRM_BUTTERFLY_FLAP04 - FRM_BUTTERFLY_FLAP01 + 1 );}
|
||||
virtual u8 canBeCaughtByNet() {return( false );}
|
||||
void render();
|
||||
int getFrameCount() {return( FRM_BUTTERFLY_FLAP04 - FRM_BUTTERFLY_FLAP01 + 1 );}
|
||||
u8 canBeCaughtByNet() {return( false );}
|
||||
protected:
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -19,9 +19,9 @@ class CNpcClamEnemy : public CNpcEnemy
|
|||
public:
|
||||
u8 canCollideWithEnemy() {return( false );}
|
||||
protected:
|
||||
virtual void processUserCollision( CThing *thisThing );
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual bool processSensor();
|
||||
void processUserCollision( CThing *thisThing );
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
};
|
||||
|
||||
class CNpcJumpingClamEnemy : public CNpcClamEnemy
|
||||
|
@ -29,8 +29,8 @@ class CNpcJumpingClamEnemy : public CNpcClamEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
virtual void setupWaypoints( sThingActor *ThisActor );
|
||||
void processClose( int _frames );
|
||||
void setupWaypoints( sThingActor *ThisActor );
|
||||
|
||||
s32 m_maxExtension;
|
||||
};
|
||||
|
@ -39,14 +39,14 @@ class CNpcStaticClamEnemy : public CNpcClamEnemy
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual u8 hasBeenAttacked() {return( false );}
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
u8 hasBeenAttacked() {return( false );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual s32 getFrameShift( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processCollision();
|
||||
virtual void processAnimFrames( int _frames );
|
||||
s32 getFrameShift( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
void processClose( int _frames );
|
||||
void processCollision();
|
||||
void processAnimFrames( int _frames );
|
||||
|
||||
s32 m_isStunned;
|
||||
};
|
||||
|
|
|
@ -29,17 +29,17 @@ public:
|
|||
void render();
|
||||
void shutdown();
|
||||
protected:
|
||||
virtual void processTimer( int _frames );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processStandardIronDogfishAttack( int _frames );
|
||||
void processWalkToUser( int _frames, int speed );
|
||||
virtual void processCollision();
|
||||
virtual void processAttackCollision();
|
||||
virtual void hasBeenSteamed( DVECTOR &steamPos );
|
||||
virtual void processShotDeathEnd( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processCollision();
|
||||
void processAttackCollision();
|
||||
void hasBeenSteamed( DVECTOR &steamPos );
|
||||
void processShotDeathEnd( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
enum NPC_IRON_DOGFISH_STATE
|
||||
{
|
||||
|
|
|
@ -19,9 +19,9 @@ class CNpcDustDevilEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual s32 getFrameShift( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
s32 getFrameShift( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -17,17 +17,17 @@
|
|||
class CNpcEyeballEnemy : public CNpcEnemy
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
void render();
|
||||
void postInit();
|
||||
void shutdown();
|
||||
virtual int getFrameCount() {return( 1 );}
|
||||
virtual void processEvent( GAME_EVENT evt, CThing *sourceThing );
|
||||
int getFrameCount() {return( 1 );}
|
||||
void processEvent( GAME_EVENT evt, CThing *sourceThing );
|
||||
protected:
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processShotDeathStart( int _frames );
|
||||
virtual void processShotDeathEnd( int _frames );
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processShotDeathStart( int _frames );
|
||||
void processShotDeathEnd( int _frames );
|
||||
|
||||
s32 m_fireHeading;
|
||||
|
||||
|
|
|
@ -22,17 +22,17 @@
|
|||
class CNpcFlyingDutchmanEnemy : public CNpcBossEnemy
|
||||
{
|
||||
public:
|
||||
virtual void think( int _frames );
|
||||
void think( int _frames );
|
||||
void postInit();
|
||||
void render();
|
||||
void shutdown();
|
||||
virtual u8 hasBeenAttacked();
|
||||
u8 hasBeenAttacked();
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processShotRecoil( int _frames );
|
||||
virtual void processShotDeathEnd( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processShotRecoil( int _frames );
|
||||
void processShotDeathEnd( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
enum NPC_FLYING_DUTCHMAN_STATE
|
||||
{
|
||||
|
|
|
@ -19,7 +19,7 @@ class CNpcFishFolk : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -18,9 +18,9 @@ class CNpcFlamingSkullEnemy : public CNpcEnemy
|
|||
{
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
|
||||
s32 m_fireHeading;
|
||||
|
||||
|
|
|
@ -19,8 +19,8 @@ class CNpcGhostPirateEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -23,9 +23,9 @@ class CNpcHermitCrabEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
|
||||
s32 m_jumpBase;
|
||||
|
||||
|
|
|
@ -30,12 +30,12 @@ public:
|
|||
void postInit();
|
||||
void render();
|
||||
void shutdown();
|
||||
virtual void setupWaypoints( sThingActor *ThisActor );
|
||||
void setupWaypoints( sThingActor *ThisActor );
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processShot( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processShot( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
//void spawnJellyfish( int _frames );
|
||||
//virtual void processUserCollision( CThing *thisThing );
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
class CNpcBabyOctopusEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
class CNpcPricklyBugEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,7 +26,7 @@ class CNpcSmallJellyfishProjectileEnemy : public CNpcSmallJellyfishEnemy
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void think(int _frames);
|
||||
void think(int _frames);
|
||||
protected:
|
||||
s32 m_lifetime;
|
||||
};
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
class CNpcPuffaFishEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
|
||||
enum NPC_PUFFA_FISH_STATE
|
||||
{
|
||||
|
|
|
@ -22,10 +22,10 @@ class CNpcShellEnemy : public CNpcEnemy
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
virtual int getFrameCount() {return( 1 );}
|
||||
virtual int getFrame() {return( m_shellType );}
|
||||
virtual u8 hasBeenAttacked() {return( false );}
|
||||
void render();
|
||||
int getFrameCount() {return( 1 );}
|
||||
int getFrame() {return( m_shellType );}
|
||||
u8 hasBeenAttacked() {return( false );}
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
class CNpcSharkManEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -22,9 +22,9 @@ class CNpcSmallJellyfish2BackgroundEnemy : public CNpcSmallJellyfishBackgroundEn
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -24,12 +24,12 @@ public:
|
|||
virtual void render();
|
||||
virtual void postInit();
|
||||
void shutdown();
|
||||
virtual void setTargetHeading( s16 newTargetHeading ) {m_targetHeading = newTargetHeading;}
|
||||
virtual u8 hasBeenAttacked();
|
||||
void setTargetHeading( s16 newTargetHeading ) {m_targetHeading = newTargetHeading;}
|
||||
u8 hasBeenAttacked();
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processUserCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
void processMovement( int _frames );
|
||||
void processUserCollision( CThing *thisThing );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
s16 m_targetHeading;
|
||||
|
|
|
@ -26,12 +26,12 @@ class CNpcSmallJellyfishEnemy : public CNpcEnemy
|
|||
{
|
||||
public:
|
||||
virtual void postInit();
|
||||
void render();
|
||||
virtual void render();
|
||||
int getFrameCount() {return( FRM_JELLYFISH1_SWIM7 - FRM_JELLYFISH1_SWIM1 + 1 );}
|
||||
u8 canCollideWithEnemy() {return( false );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
bool processSensor();
|
||||
virtual bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
void fireAsProjectile( s16 heading );
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
class CNpcSkeletalFishEnemy : public CNpcEnemy
|
||||
{
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual s32 getFrameShift( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
s32 getFrameShift( int _frames );
|
||||
|
||||
s32 m_chargeTime;
|
||||
|
||||
|
|
|
@ -26,17 +26,17 @@
|
|||
class CNpcSubSharkEnemy : public CNpcBossEnemy
|
||||
{
|
||||
public:
|
||||
virtual void think( int _frames );
|
||||
void think( int _frames );
|
||||
void postInit();
|
||||
void render();
|
||||
void shutdown();
|
||||
protected:
|
||||
//virtual void processClose( int _frames );
|
||||
virtual s32 getFrameShift( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processShot( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
virtual void setupWaypoints( sThingActor *ThisActor );
|
||||
s32 getFrameShift( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processShot( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
void setupWaypoints( sThingActor *ThisActor );
|
||||
|
||||
enum NPC_SUB_SHARK_STATE
|
||||
{
|
||||
|
|
|
@ -58,20 +58,20 @@ class CNpcSeaSnakeEnemy : public CNpcBossEnemy
|
|||
public:
|
||||
void postInit();
|
||||
void shutdown();
|
||||
virtual void render();
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
void render();
|
||||
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
protected:
|
||||
virtual s32 getFrameShift( int _frames );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processShot( int _frames );
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual void processUserCollision( CThing *thisThing );
|
||||
s32 getFrameShift( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processShot( int _frames );
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
void processUserCollision( CThing *thisThing );
|
||||
u8 processPathMove( int _frames, s32 *moveX, s32 *moveY, s32 *moveVel, s32 *moveDist );
|
||||
u8 isSnakeStopped();
|
||||
void moveEntireSnake( DVECTOR newPos );
|
||||
virtual void addHealthMeter();
|
||||
void addHealthMeter();
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -19,10 +19,10 @@ class CNpcSkullStomperEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
};
|
||||
|
||||
#endif
|
|
@ -53,15 +53,15 @@ class CNpcParasiticWormEnemy : public CNpcEnemy
|
|||
public:
|
||||
void postInit();
|
||||
void shutdown();
|
||||
virtual void render();
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
void render();
|
||||
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processShotDeathEnd( int _frames );
|
||||
bool processSensor();
|
||||
void processClose( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processShotDeathEnd( int _frames );
|
||||
//void resetParasiticWormHeadToTail();
|
||||
virtual void processEnemyCollision( CThing *thisThing );
|
||||
void processEnemyCollision( CThing *thisThing );
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcKrustyFriend : public CNpcFriend
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void startConderversation();
|
||||
void startConderversation();
|
||||
|
||||
FileEquate m_conversation;
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcPatrickFriend : public CNpcFriend
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void startConderversation();
|
||||
void startConderversation();
|
||||
|
||||
FileEquate m_conversation;
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcSandyFriend : public CNpcFriend
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void startConderversation();
|
||||
void startConderversation();
|
||||
|
||||
FileEquate m_conversation;
|
||||
};
|
||||
|
|
|
@ -21,10 +21,10 @@
|
|||
class CNpcSquidwardFriend : public CNpcFriend
|
||||
{
|
||||
public:
|
||||
virtual void think(int _frames);
|
||||
void think(int _frames);
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void startConderversation();
|
||||
void startConderversation();
|
||||
|
||||
FileEquate m_conversation;
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
DVECTOR m_lastWaypoint;
|
||||
|
||||
|
|
|
@ -22,10 +22,10 @@ class CNpcBoatHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
u8 m_reversed;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcBouncingRockHazard : public CNpcBouncingBarrelHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
virtual void trigger();
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void trigger();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
u8 m_isTriggered;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcBigWheelHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
bool alwaysThink() {return(true);}
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s16 m_rotation;
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcCircularSawHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
class CNpcConveyorSwitchHazard : public CNpcHazard
|
||||
{
|
||||
public:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void init();
|
||||
virtual void render();
|
||||
virtual void trigger();
|
||||
void render();
|
||||
void trigger();
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing) {}
|
||||
void collidedWith(CThing *_thisThing) {}
|
||||
|
||||
u8 m_reversed;
|
||||
DVECTOR m_conveyorPos;
|
||||
|
|
|
@ -22,12 +22,12 @@ class CNpcFallingHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s32 m_movementTimer;
|
||||
u8 m_bounceFinish;
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcFanHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
|
|
|
@ -22,10 +22,10 @@ class CNpcFlyTrapHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s16 m_rotation;
|
||||
u8 m_shut;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
class CNpcInertHazard : public CNpcHazard
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
};
|
||||
|
||||
#endif
|
|
@ -22,7 +22,7 @@ class CNpcLogHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcMasherHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void setGraphic( sThingHazard *ThisHazard );
|
||||
void setGraphic( sThingHazard *ThisHazard );
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcMowerHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@ class CNpcPendulumHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_length;
|
||||
|
|
|
@ -31,8 +31,8 @@ public:
|
|||
bool alwaysThink() {return(true);}
|
||||
//virtual void render();
|
||||
protected:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
DVECTOR m_triggerPos;
|
||||
CNpcTrapdoorPlatform *m_platform;
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcRockShardHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual CRECT const *getThinkBBox();
|
||||
CRECT const *getThinkBBox();
|
||||
// virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
protected:
|
||||
void processMovement( int _frames );
|
||||
|
|
|
@ -22,13 +22,13 @@ class CNpcRisingWeightHazard : public CNpcHazard
|
|||
{
|
||||
public:
|
||||
void init();
|
||||
virtual void render();
|
||||
void render();
|
||||
DVECTOR const &getWheelPos() {return( m_wheelPos );}
|
||||
void setTriggered() {m_triggered = true;}
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_maxExtension;
|
||||
DVECTOR m_wheelPos;
|
||||
|
|
|
@ -28,11 +28,11 @@ public:
|
|||
void init();
|
||||
DVECTOR const &getWheelPos() {return( m_wheelPos );}
|
||||
void linkToWeight( CNpcRisingWeightHazard *weight ) {m_weight = weight;}
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void render();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
DVECTOR m_wheelPos;
|
||||
CNpcRisingWeightHazard *m_weight;
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
void init();
|
||||
bool alwaysThink() {return(true);}
|
||||
protected:
|
||||
virtual void processTimer( int _frames );
|
||||
void processTimer( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
enum SPIKES_STATE
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcSwordfishHazard : public CNpcFireballHazard
|
|||
{
|
||||
public:
|
||||
void render();
|
||||
virtual void setWaypoints( sThingHazard *ThisHazard );
|
||||
void setWaypoints( sThingHazard *ThisHazard );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -25,7 +25,7 @@ public:
|
|||
void render();
|
||||
void init();
|
||||
void shutdown();
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
protected:
|
||||
DVECTOR Pos;
|
||||
};
|
||||
|
@ -36,7 +36,7 @@ public:
|
|||
void postInit();
|
||||
void render();
|
||||
void shutdown();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
|
|
@ -22,10 +22,10 @@ class CNpcGeyserPlatformGenerator : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void setTargetType( NPC_PLATFORM_UNIT_TYPE targetType ) {m_targetType = targetType;}
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void think( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void think( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
NPC_PLATFORM_UNIT_TYPE m_targetType;
|
||||
};
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcBobbingPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
enum NPC_BOB_STATE
|
||||
{
|
||||
|
|
|
@ -22,8 +22,8 @@ class CNpcBouncePlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void think( int _frames );
|
||||
virtual void render();
|
||||
void think( int _frames );
|
||||
void render();
|
||||
protected:
|
||||
s32 m_vertScale;
|
||||
s32 m_vertVelocity;
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
class CNpcBranchPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
virtual void postInit();
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void postInit();
|
||||
void render();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_angularVelocity;
|
||||
u8 m_reversed;
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcBubbleTubePlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processTimer( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
|
||||
u8 m_isActivated;
|
||||
u8 m_returning;
|
||||
|
|
|
@ -23,10 +23,10 @@ class CNpcBigWheelPlatform : public CNpcPlatform
|
|||
public:
|
||||
bool alwaysThink() {return(true);}
|
||||
void postInit();
|
||||
virtual int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
|
||||
int getHeightFromPlatformAtPosition(int _x,int _y, int offsetX = 0, int offsetY = 0);
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -21,13 +21,13 @@
|
|||
class CNpcCartPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
virtual void postInit();
|
||||
virtual void render();
|
||||
virtual u8 isCart() {return( true );}
|
||||
virtual void jump();
|
||||
void postInit();
|
||||
void render();
|
||||
u8 isCart() {return( true );}
|
||||
void jump();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processMovement( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s32 m_carSpeed;
|
||||
u8 m_isActivated;
|
||||
|
|
|
@ -22,9 +22,9 @@ class CNpcCollapsingBubblePlatform : public CNpcBubblePlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void processLifetime( int _frames );
|
||||
void processLifetime( int _frames );
|
||||
u8 m_startCollapse;
|
||||
};
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcCircularPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -22,8 +22,8 @@ class CNpcClamPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void render();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
//void setBBox();
|
||||
};
|
||||
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcConveyorPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
void render();
|
||||
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void processMovement( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
u8 m_spinFinish;
|
||||
s16 m_rotation;
|
||||
|
@ -35,10 +35,10 @@ protected:
|
|||
class CNpcConveyorPlatformGenerator : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void think( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void think( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
};
|
||||
|
||||
#endif
|
|
@ -21,7 +21,7 @@
|
|||
class CNpcDropPlatform : public CNpcPlatform
|
||||
{
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -24,15 +24,15 @@ public:
|
|||
void setMaster( u8 isMaster );
|
||||
void setOtherPlatform( CNpcDualPlatform *other );
|
||||
void setMovement( DVECTOR move );
|
||||
virtual u8 canDrop();
|
||||
u8 canDrop();
|
||||
void setLineBase( DVECTOR base ) {m_lineBase = base;}
|
||||
DVECTOR getLineBase() {return( m_lineBase );}
|
||||
virtual void render();
|
||||
void render();
|
||||
void setThinkArea( CRECT &newArea );
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
u8 m_isMaster;
|
||||
CNpcDualPlatform *m_otherPlatform;
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcFallingPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -23,10 +23,10 @@ class CNpcFallingNoRespawnPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
bool alwaysThink() {return(true);}
|
||||
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
||||
protected:
|
||||
virtual void render();
|
||||
virtual void processMovement( int _frames );
|
||||
void render();
|
||||
void processMovement( int _frames );
|
||||
|
||||
u8 m_spinFinish;
|
||||
s16 m_rotation;
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcFallingPlatformGenerator : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void setTargetType( NPC_PLATFORM_UNIT_TYPE targetType ) {m_targetType = targetType;}
|
||||
virtual void render();
|
||||
void render();
|
||||
bool alwaysThink() {return(true);}
|
||||
protected:
|
||||
virtual void think( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void think( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
NPC_PLATFORM_UNIT_TYPE m_targetType;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcFishHookPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
virtual void postInit();
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox();
|
||||
void render();
|
||||
CRECT const *getThinkBBox();
|
||||
protected:
|
||||
virtual void processLifetime( int _frames );
|
||||
virtual void processMovement( int _frames );
|
||||
void processLifetime( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
u8 m_isMoving;
|
||||
u8 m_isResetting;
|
||||
|
|
|
@ -23,8 +23,8 @@ class CNpcGeyserBubblePlatform : public CNpcBubblePlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processLifetime( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processLifetime( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -23,8 +23,8 @@ class CNpcGeyserPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processTimer( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
|
||||
bool m_isFiring;
|
||||
|
||||
|
|
|
@ -22,9 +22,9 @@ class CNpcJellyfishPlatform : public CNpcLinearPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void think( int _frames );
|
||||
void think( int _frames );
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s32 m_vertScale;
|
||||
u8 m_dipCount;
|
||||
|
|
|
@ -24,8 +24,8 @@ public:
|
|||
void postInit();
|
||||
bool alwaysThink() {return(true);}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_length;
|
||||
s32 m_maxExtension;
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcLeafPlatform : public CNpcPlatform
|
|||
public:
|
||||
void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
u8 m_isActivated;
|
||||
};
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcLiftPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
protected:
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processTimer( int _frames );
|
||||
void collidedWith(CThing *_thisThing);
|
||||
void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
|
||||
u8 m_isActivated;
|
||||
u8 m_returning;
|
||||
|
|
|
@ -23,7 +23,7 @@ class CNpcLinearPlatform : public CNpcPlatform
|
|||
public:
|
||||
virtual void postInit();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -22,10 +22,10 @@ class CNpcPendulumPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_length;
|
||||
s32 m_maxExtension;
|
||||
|
|
|
@ -21,9 +21,9 @@
|
|||
class CNpcPlayerBubblePlatform : public CNpcBubblePlatform
|
||||
{
|
||||
public:
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void processLifetime( int _frames );
|
||||
void processLifetime( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -22,9 +22,9 @@ class CNpcRaftPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
u8 m_isActivated;
|
||||
u8 m_isSinking;
|
||||
|
|
|
@ -22,11 +22,11 @@ class CNpcRisingBridgePlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void trigger();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void trigger();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_maxExtension;
|
||||
u8 m_triggered;
|
||||
|
|
|
@ -22,7 +22,7 @@ class CNpcRetractingPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
void render();
|
||||
protected:
|
||||
void processTimer( int _frames );
|
||||
|
||||
|
|
|
@ -21,12 +21,12 @@
|
|||
class CNpcSteerableBarrelPlatform : public CNpcPlatform
|
||||
{
|
||||
public:
|
||||
virtual void render();
|
||||
void render();
|
||||
void postInit();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
void collidedWith(CThing *_thisThing);
|
||||
|
||||
s16 m_rotation;
|
||||
s32 m_currentSpeed;
|
||||
|
|
|
@ -22,10 +22,10 @@ class CNpcSeesawPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void render();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
|
||||
s32 m_angularVelocity;
|
||||
s32 m_currentAngle;
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
class CNpcSteerableOildrumPlatform : public CNpcSteerableBarrelPlatform
|
||||
{
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
void processMovement( int _frames );
|
||||
};
|
||||
|
||||
#endif
|
|
@ -26,10 +26,10 @@ class CNpcSteamSwitchPlatform : public CNpcPlatform
|
|||
{
|
||||
public:
|
||||
void postInit();
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
protected:
|
||||
virtual void processMovement( int _frames );
|
||||
virtual void processTimer( int _frames );
|
||||
void processMovement( int _frames );
|
||||
void processTimer( int _frames );
|
||||
|
||||
enum NPC_STEAM_SWITCH_STATE
|
||||
{
|
||||
|
|
|
@ -24,11 +24,11 @@ public:
|
|||
void postInit();
|
||||
DVECTOR const &getTriggerPos() {return( m_triggerPos );}
|
||||
void setTriggered() {m_triggered = true;}
|
||||
virtual void render();
|
||||
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
void render();
|
||||
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
||||
protected:
|
||||
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
virtual void processMovement( int _frames );
|
||||
void setWaypoints( sThingPlatform *ThisPlatform );
|
||||
void processMovement( int _frames );
|
||||
|
||||
DVECTOR m_triggerPos;
|
||||
u8 m_triggered;
|
||||
|
|
Loading…
Add table
Reference in a new issue