2001-04-23 21:04:06 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pplayer.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PPLAYER_H__
|
|
|
|
#define __PLATFORM_PPLAYER_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcPlayerBubblePlatform : public CNpcPlatform
|
|
|
|
{
|
2001-05-29 18:55:15 +02:00
|
|
|
public:
|
|
|
|
virtual void postInit();
|
|
|
|
virtual void render();
|
|
|
|
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
|
2001-06-25 23:04:43 +02:00
|
|
|
virtual CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-05-29 18:55:15 +02:00
|
|
|
protected:
|
|
|
|
virtual void processLifetime( int _frames );
|
|
|
|
|
|
|
|
u8 m_pop;
|
2001-06-29 17:25:28 +02:00
|
|
|
s16 m_scale;
|
2001-04-23 21:04:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|