SBSPSS/source/platform/psswitch.h

46 lines
952 B
C
Raw Normal View History

2001-06-05 23:21:23 +02:00
/*=========================================================================
psswitch.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PSSWITCH_H__
#define __PLATFORM_PSSWITCH_H__
#ifndef __PLATFORM_PLATFORM_H__
#include "platform\platform.h"
#endif
2001-06-06 15:27:46 +02:00
#ifndef __TRIGGERS_TSSWITCH_H__
#include "triggers\tsswitch.h"
#endif
2001-06-05 23:21:23 +02:00
class CNpcSteamSwitchPlatform : public CNpcPlatform
{
public:
virtual void postInit();
virtual void setWaypoints( sThingPlatform *ThisPlatform );
protected:
virtual void processMovement( int _frames );
2001-06-06 15:27:46 +02:00
virtual void processTimer( int _frames );
2001-06-05 23:21:23 +02:00
enum NPC_STEAM_SWITCH_STATE
{
NPC_STEAM_SWITCH_STOP = 0,
NPC_STEAM_SWITCH_DEPRESS = 1,
2001-06-06 15:27:46 +02:00
NPC_STEAM_SWITCH_OFF,
2001-06-05 23:21:23 +02:00
NPC_STEAM_SWITCH_RETURN,
};
s32 m_maxExtension;
2001-06-06 15:27:46 +02:00
CSteamSwitchEmitterTrigger *trigger;
2001-06-05 23:21:23 +02:00
};
#endif