2001-04-23 20:18:19 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pfishhk.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PFISHHK_H__
|
|
|
|
#define __PLATFORM_PFISHHK_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcFishHookPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-04-25 22:04:25 +02:00
|
|
|
virtual void postInit();
|
2001-07-04 16:26:36 +02:00
|
|
|
void render();
|
|
|
|
CRECT const *getThinkBBox();
|
2001-07-16 23:53:59 +02:00
|
|
|
bool alwaysThink() {return(false);}
|
2001-04-23 20:18:19 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void processLifetime( int _frames );
|
|
|
|
void processMovement( int _frames );
|
2001-04-23 20:18:19 +02:00
|
|
|
|
2001-04-25 22:04:25 +02:00
|
|
|
u8 m_isMoving;
|
2001-05-14 17:14:39 +02:00
|
|
|
u8 m_isResetting;
|
2001-05-09 15:22:04 +02:00
|
|
|
DVECTOR m_lineBase;
|
2001-05-25 18:44:30 +02:00
|
|
|
s32 m_bobTimer;
|
2001-04-23 20:18:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|