2001-04-24 23:48:20 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
ppendulm.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PPENDULM_H__
|
|
|
|
#define __PLATFORM_PPENDULM_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcPendulumPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
2001-05-09 15:22:04 +02:00
|
|
|
virtual void render();
|
2001-06-19 22:07:57 +02:00
|
|
|
//virtual CRECT const *getThinkBBox();
|
2001-04-24 23:48:20 +02:00
|
|
|
protected:
|
2001-04-25 00:05:29 +02:00
|
|
|
virtual void setWaypoints( sThingPlatform *ThisPlatform );
|
2001-04-24 23:48:20 +02:00
|
|
|
virtual void processMovement( int _frames );
|
|
|
|
|
|
|
|
s32 m_length;
|
2001-04-26 18:07:25 +02:00
|
|
|
s32 m_maxExtension;
|
2001-05-09 15:22:04 +02:00
|
|
|
DVECTOR m_lineBase;
|
2001-04-24 23:48:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|