2001-05-05 18:46:08 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
psbarrel.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PSBARREL_H__
|
|
|
|
#define __PLATFORM_PSBARREL_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcSteerableBarrelPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 16:26:36 +02:00
|
|
|
void render();
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-05-05 18:46:08 +02:00
|
|
|
protected:
|
|
|
|
virtual void processMovement( int _frames );
|
2001-07-04 16:26:36 +02:00
|
|
|
void collidedWith(CThing *_thisThing);
|
2001-05-05 18:46:08 +02:00
|
|
|
|
|
|
|
s16 m_rotation;
|
2001-05-31 22:54:55 +02:00
|
|
|
s32 m_currentSpeed;
|
|
|
|
s16 m_moveXHighRes;
|
2001-05-05 18:46:08 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|