2001-05-23 18:01:00 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
prbridge.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PRBRIDGE_H__
|
|
|
|
#define __PLATFORM_PRBRIDGE_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcRisingBridgePlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
|
|
|
virtual void trigger();
|
2001-06-25 23:10:18 +02:00
|
|
|
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-05-23 18:01:00 +02:00
|
|
|
protected:
|
|
|
|
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
|
|
|
virtual void processMovement( int _frames );
|
|
|
|
|
|
|
|
s32 m_maxExtension;
|
|
|
|
u8 m_triggered;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|