mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-29 21:25:54 +01:00
127 lines
5.4 KiB
C
127 lines
5.4 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#ifndef _EntitiesMP_DoorController_INCLUDED
|
||
|
#define _EntitiesMP_DoorController_INCLUDED 1
|
||
|
#include <EntitiesMP/KeyItem.h>
|
||
|
#include <EntitiesMP/Player.h>
|
||
|
extern DECL_DLL CEntityPropertyEnumType DoorType_enum;
|
||
|
enum DoorType {
|
||
|
DT_AUTO = 0,
|
||
|
DT_TRIGGERED = 1,
|
||
|
DT_LOCKED = 2,
|
||
|
DT_TRIGGEREDAUTO = 3,
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(DoorType &e) { e = (DoorType)0; } ;
|
||
|
extern "C" DECL_DLL CDLLEntityClass CDoorController_DLLClass;
|
||
|
class CDoorController : public CRationalEntity {
|
||
|
public:
|
||
|
virtual const CTString &GetName(void) const { return m_strName; };
|
||
|
virtual BOOL IsTargetable(void) const { return TRUE; };
|
||
|
DECL_DLL virtual void SetDefaultProperties(void);
|
||
|
CTString m_strName;
|
||
|
CTString m_strDescription;
|
||
|
CEntityPointer m_penTarget1;
|
||
|
CEntityPointer m_penTarget2;
|
||
|
FLOAT m_fWidth;
|
||
|
FLOAT m_fHeight;
|
||
|
BOOL m_bPlayersOnly;
|
||
|
enum DoorType m_dtType;
|
||
|
CTStringTrans m_strLockedMessage;
|
||
|
CEntityPointer m_penLockedTarget;
|
||
|
enum KeyItemType m_kitKey;
|
||
|
BOOL m_bTriggerOnAnything;
|
||
|
BOOL m_bActive;
|
||
|
BOOL m_bLocked;
|
||
|
CEntityPointer m_penCaused;
|
||
|
|
||
|
#line 53 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
CEntity * GetTarget(void)const;
|
||
|
|
||
|
#line 55 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
const CTString & GetDescription(void)const;
|
||
|
|
||
|
#line 70 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
BOOL CanReactOnEntity(CEntity * pen);
|
||
|
|
||
|
#line 88 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
BOOL CanTriggerOnEntity(CEntity * pen);
|
||
|
|
||
|
#line 93 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
void TriggerDoor(void);
|
||
|
|
||
|
#line 104 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
void MirrorAndStretch(FLOAT fStretch,BOOL bMirrorX);
|
||
|
|
||
|
#line 113 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SLONG GetUsedMemory(void);
|
||
|
#define STATE_CDoorController_DoorAuto 0x00dd0000
|
||
|
BOOL
|
||
|
#line 128 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAuto(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorAutoActive 0x00dd0001
|
||
|
BOOL
|
||
|
#line 139 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAutoActive(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0002_DoorAutoActive_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0003_DoorAutoActive_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0004_DoorAutoActive_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0005_DoorAutoActive_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0006_DoorAutoActive_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0007_DoorAutoActive_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorAutoInactive 0x00dd0008
|
||
|
BOOL
|
||
|
#line 183 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAutoInactive(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0009_DoorAutoInactive_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd000a_DoorAutoInactive_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd000b_DoorAutoInactive_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd000c_DoorAutoInactive_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd000d_DoorAutoInactive_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd000e_DoorAutoInactive_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorDummy 0x00dd000f
|
||
|
BOOL
|
||
|
#line 206 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorDummy(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0010_DoorDummy_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0011_DoorDummy_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorTriggered 0x00dd0012
|
||
|
BOOL
|
||
|
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorTriggered(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0013_DoorTriggered_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0014_DoorTriggered_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0015_DoorTriggered_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0016_DoorTriggered_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0017_DoorTriggered_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0018_DoorTriggered_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorLocked 0x00dd0019
|
||
|
BOOL
|
||
|
#line 251 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorLocked(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001a_DoorLocked_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001b_DoorLocked_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001c_DoorLocked_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001d_DoorLocked_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001e_DoorLocked_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd001f_DoorLocked_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_DoorTriggeredAuto 0x00dd0020
|
||
|
BOOL
|
||
|
#line 295 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorTriggeredAuto(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0021_DoorTriggeredAuto_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0022_DoorTriggeredAuto_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0023_DoorTriggeredAuto_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0024_DoorTriggeredAuto_04(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0025_DoorTriggeredAuto_05(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0026_DoorTriggeredAuto_06(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CDoorController_Main 1
|
||
|
BOOL
|
||
|
#line 325 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Main(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0027_Main_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x00dd0028_Main_02(const CEntityEvent &__eeInput);
|
||
|
};
|
||
|
#endif // _EntitiesMP_DoorController_INCLUDED
|