SBSPSS/source/platform/pcart.h

44 lines
884 B
C
Raw Normal View History

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:
2001-07-04 16:26:36 +02:00
void postInit();
void render();
u8 isCart() {return( true );}
void jump();
2001-07-10 18:09:56 +02:00
bool alwaysThink() {return(true);}
2001-04-23 20:58:30 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processMovement( int _frames );
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-07-06 21:42:07 +02:00
u8 m_rebound;
2001-07-10 18:09:56 +02:00
u8 m_falling;
2001-07-06 21:42:07 +02:00
s32 m_reboundTimer;
2001-04-23 20:58:30 +02:00
};
#endif