2001-06-04 18:29:42 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
hcswitch.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HCSWITCH_H__
|
|
|
|
#define __HAZARD_HCSWITCH_H__
|
|
|
|
|
|
|
|
#ifndef __HAZARD_HAZARD_H__
|
|
|
|
#include "hazard\hazard.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcConveyorSwitchHazard : public CNpcHazard
|
|
|
|
{
|
|
|
|
public:
|
2001-07-04 16:26:36 +02:00
|
|
|
void setWaypoints( sThingHazard *ThisHazard );
|
2001-06-04 18:29:42 +02:00
|
|
|
void init();
|
2001-07-04 16:26:36 +02:00
|
|
|
void render();
|
|
|
|
void trigger();
|
2001-07-11 20:15:41 +02:00
|
|
|
CRECT const *getThinkBBox() {return( CThing::getThinkBBox() );}
|
2001-06-04 18:29:42 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
void collidedWith(CThing *_thisThing) {}
|
2001-06-04 18:29:42 +02:00
|
|
|
|
|
|
|
u8 m_reversed;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|