2001-04-23 18:59:35 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pcbubble.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PCBUBBLE_H__
|
|
|
|
#define __PLATFORM_PCBUBBLE_H__
|
|
|
|
|
2001-07-03 20:32:04 +02:00
|
|
|
#ifndef __PLATFORM_PBUBBLE_H__
|
|
|
|
#include "platform\pbubble.h"
|
2001-04-23 18:59:35 +02:00
|
|
|
#endif
|
|
|
|
|
2001-07-03 20:32:04 +02:00
|
|
|
class CNpcCollapsingBubblePlatform : public CNpcBubblePlatform
|
2001-04-23 18:59:35 +02:00
|
|
|
{
|
2001-06-01 20:36:50 +02:00
|
|
|
public:
|
2001-07-04 00:17:20 +02:00
|
|
|
void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-06-01 20:36:50 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void processLifetime( int _frames );
|
2001-06-29 17:25:28 +02:00
|
|
|
u8 m_startCollapse;
|
2001-06-01 20:36:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
class CNpcCollapsingAcridPlatform : public CNpcCollapsingBubblePlatform
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void render();
|
2001-04-23 18:59:35 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|