SBSPSS/source/platform/psswitch.h

46 lines
928 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:
2001-07-04 00:17:20 +02:00
void postInit();
2001-07-04 16:26:36 +02:00
void setWaypoints( sThingPlatform *ThisPlatform );
2001-06-05 23:21:23 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processMovement( int _frames );
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