2001-05-03 21:01:23 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pfallnor.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PFALLNOR_H__
|
|
|
|
#define __PLATFORM_PFALLNOR_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcFallingNoRespawnPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-06-29 16:19:28 +02:00
|
|
|
bool alwaysThink() {return(true);}
|
2001-07-04 16:26:36 +02:00
|
|
|
int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
2001-05-03 21:01:23 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void render();
|
|
|
|
void processMovement( int _frames );
|
2001-05-30 20:31:57 +02:00
|
|
|
|
|
|
|
u8 m_spinFinish;
|
|
|
|
s16 m_rotation;
|
|
|
|
u8 m_bounceDir;
|
2001-05-03 21:01:23 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|