2001-04-23 20:58:30 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pcart.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PCART_H__
|
|
|
|
#define __PLATFORM_PCART_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcCartPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
2001-05-08 20:57:00 +02:00
|
|
|
virtual void render();
|
2001-06-12 01:12:58 +02:00
|
|
|
virtual u8 isCart() {return( true );}
|
|
|
|
virtual void jump();
|
2001-04-23 20:58:30 +02:00
|
|
|
protected:
|
|
|
|
virtual void processMovement( int _frames );
|
2001-06-12 15:45:45 +02:00
|
|
|
virtual void collidedWith(CThing *_thisThing);
|
2001-05-04 18:20:10 +02:00
|
|
|
|
|
|
|
s32 m_carSpeed;
|
2001-06-11 21:32:41 +02:00
|
|
|
u8 m_isActivated;
|
2001-06-12 01:12:58 +02:00
|
|
|
u8 m_inJump;
|
|
|
|
s32 m_vertSpeed;
|
2001-06-28 17:34:05 +02:00
|
|
|
u8 m_playerAttached;
|
2001-04-23 20:58:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|