2001-04-24 16:31:13 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
ndustdev.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NDUSTDEV_H__
|
|
|
|
#define __ENEMY_NDUSTDEV_H__
|
|
|
|
|
|
|
|
class CNpcDustDevilEnemy : public CNpcEnemy
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-05 20:21:45 +02:00
|
|
|
void render();
|
|
|
|
u8 canCollideWithEnemy() {return( false );}
|
2001-04-24 16:31:13 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
s32 getFrameShift( int _frames );
|
|
|
|
void processMovement( int _frames );
|
|
|
|
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
2001-07-05 20:21:45 +02:00
|
|
|
|
|
|
|
s16 m_fadeVal;
|
|
|
|
u8 m_fadeOut;
|
2001-04-24 16:31:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|