mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-29 13:25:52 +01:00
588 lines
29 KiB
C++
588 lines
29 KiB
C++
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#line 4 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
|
||
|
#include "StdH.h"
|
||
|
#include <Engine/CurrentVersion.h>
|
||
|
|
||
|
#include <EntitiesMP/DoorController.h>
|
||
|
#include <EntitiesMP/DoorController_tables.h>
|
||
|
void CDoorController::SetDefaultProperties(void) {
|
||
|
m_strName = "DoorController";
|
||
|
m_strDescription = "";
|
||
|
m_penTarget1 = NULL;
|
||
|
m_penTarget2 = NULL;
|
||
|
m_fWidth = 2.0f;
|
||
|
m_fHeight = 3.0f;
|
||
|
m_bPlayersOnly = TRUE ;
|
||
|
m_dtType = DT_AUTO ;
|
||
|
m_strLockedMessage = "";
|
||
|
m_penLockedTarget = NULL;
|
||
|
m_kitKey = KIT_BOOKOFWISDOM ;
|
||
|
m_bTriggerOnAnything = FALSE ;
|
||
|
m_bActive = TRUE ;
|
||
|
m_bLocked = FALSE ;
|
||
|
m_penCaused = NULL;
|
||
|
CRationalEntity::SetDefaultProperties();
|
||
|
}
|
||
|
|
||
|
#line 53 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
CEntity * CDoorController::GetTarget(void)const {return m_penTarget1 ;}
|
||
|
|
||
|
#line 55 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
const CTString & CDoorController::GetDescription(void)const
|
||
|
#line 56 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 57 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penTarget1 != NULL && m_penTarget2 != NULL ){
|
||
|
#line 58 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
((CTString &) m_strDescription ) . PrintF ("->%s,%s" ,
|
||
|
#line 59 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_penTarget1 -> GetName () , m_penTarget2 -> GetName ());
|
||
|
#line 60 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}else if(m_penTarget1 != NULL ){
|
||
|
#line 61 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
((CTString &) m_strDescription ) . PrintF ("->%s" ,
|
||
|
#line 62 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_penTarget1 -> GetName ());
|
||
|
#line 63 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}else {
|
||
|
#line 64 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
((CTString &) m_strDescription ) . PrintF ("-><none>");
|
||
|
#line 65 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 66 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return m_strDescription ;
|
||
|
#line 67 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
|
||
|
#line 70 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
BOOL CDoorController::CanReactOnEntity(CEntity * pen)
|
||
|
#line 71 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 72 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(pen == NULL ){
|
||
|
#line 73 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return FALSE ;
|
||
|
#line 74 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 76 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(! (pen -> GetFlags () & ENF_ALIVE )){
|
||
|
#line 77 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return FALSE ;
|
||
|
#line 78 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 80 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_bPlayersOnly && ! IsDerivedFromClass (pen , "Player")){
|
||
|
#line 81 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return FALSE ;
|
||
|
#line 82 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 84 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE ;
|
||
|
#line 85 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
|
||
|
#line 88 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
BOOL CDoorController::CanTriggerOnEntity(CEntity * pen)
|
||
|
#line 89 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 90 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return m_bTriggerOnAnything || CanReactOnEntity (pen );
|
||
|
#line 91 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
|
||
|
#line 93 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
void CDoorController::TriggerDoor(void)
|
||
|
#line 94 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 95 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penTarget1 != NULL ){
|
||
|
#line 96 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SendToTarget (m_penTarget1 , EET_TRIGGER , m_penCaused );
|
||
|
#line 97 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 98 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penTarget2 != NULL ){
|
||
|
#line 99 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SendToTarget (m_penTarget2 , EET_TRIGGER , m_penCaused );
|
||
|
#line 100 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 101 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
|
||
|
#line 104 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
void CDoorController::MirrorAndStretch(FLOAT fStretch,BOOL bMirrorX)
|
||
|
#line 105 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 107 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_fWidth *= fStretch ;
|
||
|
#line 108 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_fHeight *= fStretch ;
|
||
|
#line 109 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
|
||
|
#line 113 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SLONG CDoorController::GetUsedMemory(void)
|
||
|
#line 114 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
{
|
||
|
#line 116 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SLONG slUsedMemory = sizeof (CDoorController ) - sizeof (CRationalEntity ) + CRationalEntity :: GetUsedMemory ();
|
||
|
#line 118 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
slUsedMemory += m_strDescription . Length ();
|
||
|
#line 119 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
slUsedMemory += m_strName . Length ();
|
||
|
#line 120 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
slUsedMemory += m_strLockedMessage . Length ();
|
||
|
#line 121 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return slUsedMemory ;
|
||
|
#line 122 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
BOOL CDoorController::
|
||
|
#line 128 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAuto(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorAuto
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorAuto expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 131 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_bActive ){
|
||
|
#line 132 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAutoActive, TRUE, EVoid());return TRUE;
|
||
|
#line 133 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}else {
|
||
|
#line 134 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAutoInactive, TRUE, EVoid());return TRUE;
|
||
|
#line 135 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
} ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 139 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAutoActive(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorAutoActive
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorAutoActive expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 141 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
ASSERT (m_bActive );
|
||
|
#line 142 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT,0x00dd0006, FALSE, EInternal());return TRUE;}BOOL CDoorController::H0x00dd0006_DoorAutoActive_05(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0006
|
||
|
if(!(TRUE )){ Jump(STATE_CURRENT,0x00dd0007, FALSE, EInternal());return TRUE;}
|
||
|
#line 144 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd0002, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0002_DoorAutoActive_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0002
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_EPass):{const EPass&ePass= (EPass&)__eeInput;
|
||
|
|
||
|
#line 148 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(CanReactOnEntity (ePass . penOther )){
|
||
|
#line 150 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_penCaused = ePass . penOther ;
|
||
|
#line 151 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
TriggerDoor ();
|
||
|
#line 155 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(_SE_DEMO && GetSP () -> sp_bCooperative && ! GetSP () -> sp_bSinglePlayer ){
|
||
|
#line 156 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_strName == "Appear gold amon"){
|
||
|
#line 157 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
CPlayer * penPlayer = (CPlayer *) & * ePass . penOther ;
|
||
|
#line 158 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
penPlayer -> SetGameEnd ();
|
||
|
#line 159 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 160 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 162 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 163 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 164 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 165 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;case(EVENTCODE_EDeactivate):{const EDeactivate&e= (EDeactivate&)__eeInput;
|
||
|
|
||
|
#line 169 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_bActive = FALSE ;
|
||
|
#line 170 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAutoInactive, TRUE, EVoid());return TRUE;
|
||
|
#line 171 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 173 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 174 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 175 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd0003_DoorAutoActive_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0003
|
||
|
;
|
||
|
#line 178 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd0004, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0004_DoorAutoActive_03(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0004
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd0005, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd0005_DoorAutoActive_04(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0005
|
||
|
;Jump(STATE_CURRENT,0x00dd0006, FALSE, EInternal());return TRUE;
|
||
|
#line 179 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}BOOL CDoorController::H0x00dd0007_DoorAutoActive_06(const CEntityEvent &__eeInput) {
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0007
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 183 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorAutoInactive(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorAutoInactive
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorAutoInactive expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 185 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
ASSERT (! m_bActive );
|
||
|
#line 186 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT,0x00dd000d, FALSE, EInternal());return TRUE;}BOOL CDoorController::H0x00dd000d_DoorAutoInactive_05(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd000d
|
||
|
if(!(TRUE )){ Jump(STATE_CURRENT,0x00dd000e, FALSE, EInternal());return TRUE;}
|
||
|
#line 188 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd0009, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0009_DoorAutoInactive_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0009
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_EActivate):{const EActivate&e= (EActivate&)__eeInput;
|
||
|
|
||
|
#line 192 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_bActive = TRUE ;
|
||
|
#line 193 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAutoActive, TRUE, EVoid());return TRUE;
|
||
|
#line 194 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 196 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 197 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 198 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd000a_DoorAutoInactive_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd000a
|
||
|
;
|
||
|
#line 201 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd000b, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd000b_DoorAutoInactive_03(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd000b
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd000c, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd000c_DoorAutoInactive_04(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd000c
|
||
|
;Jump(STATE_CURRENT,0x00dd000d, FALSE, EInternal());return TRUE;
|
||
|
#line 202 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}BOOL CDoorController::H0x00dd000e_DoorAutoInactive_06(const CEntityEvent &__eeInput) {
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd000e
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 206 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorDummy(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorDummy
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorDummy expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 208 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd0010, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0010_DoorDummy_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0010
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_EBegin):{const EBegin&e= (EBegin&)__eeInput;
|
||
|
|
||
|
#line 210 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 211 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 213 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 214 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 215 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd0011_DoorDummy_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0011
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 219 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorTriggered(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorTriggered
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorTriggered expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 221 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT,0x00dd0017, FALSE, EInternal());return TRUE;}BOOL CDoorController::H0x00dd0017_DoorTriggered_05(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0017
|
||
|
if(!(TRUE )){ Jump(STATE_CURRENT,0x00dd0018, FALSE, EInternal());return TRUE;}
|
||
|
#line 223 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd0013, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0013_DoorTriggered_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0013
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_EPass):{const EPass&ePass= (EPass&)__eeInput;
|
||
|
|
||
|
#line 225 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(CanReactOnEntity (ePass . penOther )){
|
||
|
#line 226 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_strLockedMessage != ""){
|
||
|
#line 227 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
PrintCenterMessage (this , ePass . penOther , TranslateConst (m_strLockedMessage ) , 3.0f , MSS_INFO );
|
||
|
#line 228 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 229 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penLockedTarget != NULL ){
|
||
|
#line 230 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SendToTarget (m_penLockedTarget , EET_TRIGGER , ePass . penOther );
|
||
|
#line 231 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 232 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 233 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 234 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;case(EVENTCODE_ETrigger):{const ETrigger&eTrigger= (ETrigger&)__eeInput;
|
||
|
|
||
|
#line 236 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
m_penCaused = eTrigger . penCaused ;
|
||
|
#line 237 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
TriggerDoor ();
|
||
|
#line 238 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorDummy, TRUE, EVoid());return TRUE;
|
||
|
#line 239 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 241 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 242 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 243 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd0014_DoorTriggered_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0014
|
||
|
;
|
||
|
#line 246 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd0015, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0015_DoorTriggered_03(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0015
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd0016, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd0016_DoorTriggered_04(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0016
|
||
|
;Jump(STATE_CURRENT,0x00dd0017, FALSE, EInternal());return TRUE;
|
||
|
#line 247 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}BOOL CDoorController::H0x00dd0018_DoorTriggered_06(const CEntityEvent &__eeInput) {
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0018
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 251 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorLocked(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorLocked
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorLocked expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 253 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT,0x00dd001e, FALSE, EInternal());return TRUE;}BOOL CDoorController::H0x00dd001e_DoorLocked_05(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001e
|
||
|
if(!(TRUE )){ Jump(STATE_CURRENT,0x00dd001f, FALSE, EInternal());return TRUE;}
|
||
|
#line 255 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd001a, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd001a_DoorLocked_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001a
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_EPass):{const EPass&ePass= (EPass&)__eeInput;
|
||
|
|
||
|
#line 257 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(IsDerivedFromClass (ePass . penOther , "Player")){
|
||
|
#line 258 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
CPlayer * penPlayer = (CPlayer *) & * ePass . penOther ;
|
||
|
#line 260 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
ULONG ulKey = (1 << INDEX (m_kitKey ));
|
||
|
#line 261 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(penPlayer -> m_ulKeys & ulKey ){
|
||
|
#line 263 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
penPlayer -> m_ulKeys &= ~ ulKey ;
|
||
|
#line 265 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
TriggerDoor ();
|
||
|
#line 274 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAuto, TRUE, EVoid());return TRUE;
|
||
|
#line 276 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}else {
|
||
|
#line 277 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penLockedTarget != NULL ){
|
||
|
#line 278 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SendToTarget (m_penLockedTarget , EET_TRIGGER , ePass . penOther );
|
||
|
#line 279 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 280 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 281 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 282 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 283 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 285 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 286 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 287 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd001b_DoorLocked_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001b
|
||
|
;
|
||
|
#line 290 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd001c, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd001c_DoorLocked_03(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001c
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd001d, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd001d_DoorLocked_04(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001d
|
||
|
;Jump(STATE_CURRENT,0x00dd001e, FALSE, EInternal());return TRUE;
|
||
|
#line 291 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}BOOL CDoorController::H0x00dd001f_DoorLocked_06(const CEntityEvent &__eeInput) {
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd001f
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 295 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
DoorTriggeredAuto(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_DoorTriggeredAuto
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::DoorTriggeredAuto expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 297 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT,0x00dd0025, FALSE, EInternal());return TRUE;}BOOL CDoorController::H0x00dd0025_DoorTriggeredAuto_05(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0025
|
||
|
if(!(TRUE )){ Jump(STATE_CURRENT,0x00dd0026, FALSE, EInternal());return TRUE;}
|
||
|
#line 299 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAt(THINKTIME_NEVER);
|
||
|
Jump(STATE_CURRENT, 0x00dd0021, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0021_DoorTriggeredAuto_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0021
|
||
|
switch(__eeInput.ee_slEvent){case(EVENTCODE_ETrigger):{const ETrigger&eTrigger= (ETrigger&)__eeInput;
|
||
|
|
||
|
#line 302 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAuto, TRUE, EVoid());return TRUE;
|
||
|
#line 303 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;case(EVENTCODE_EPass):{const EPass&ePass= (EPass&)__eeInput;
|
||
|
|
||
|
#line 305 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(CanReactOnEntity (ePass . penOther )){
|
||
|
#line 306 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_strLockedMessage != ""){
|
||
|
#line 307 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
PrintCenterMessage (this , ePass . penOther , TranslateConst (m_strLockedMessage ) , 3.0f , MSS_INFO );
|
||
|
#line 308 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 309 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
if(m_penLockedTarget != NULL ){
|
||
|
#line 310 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SendToTarget (m_penLockedTarget , EET_TRIGGER , ePass . penOther );
|
||
|
#line 311 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 312 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}
|
||
|
#line 313 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 314 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;default:{
|
||
|
#line 316 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
return TRUE;
|
||
|
#line 317 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}ASSERT(FALSE);break;
|
||
|
#line 318 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}return TRUE;}BOOL CDoorController::H0x00dd0022_DoorTriggeredAuto_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0022
|
||
|
;
|
||
|
#line 321 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd0023, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0023_DoorTriggeredAuto_03(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0023
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd0024, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd0024_DoorTriggeredAuto_04(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0024
|
||
|
;Jump(STATE_CURRENT,0x00dd0025, FALSE, EInternal());return TRUE;
|
||
|
#line 322 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}BOOL CDoorController::H0x00dd0026_DoorTriggeredAuto_06(const CEntityEvent &__eeInput) {
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0026
|
||
|
ASSERT(FALSE); return TRUE;};BOOL CDoorController::
|
||
|
#line 325 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Main(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CDoorController_Main
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CDoorController::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 327 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
InitAsEditorModel ();
|
||
|
#line 328 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetPhysicsFlags (EPF_MODEL_IMMATERIAL );
|
||
|
#line 329 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetCollisionFlags (ECF_TOUCHMODEL );
|
||
|
#line 332 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
GetModelObject () -> StretchModel (FLOAT3D (m_fWidth , m_fHeight , m_fWidth ));
|
||
|
#line 333 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetModel (MODEL_DOORCONTROLLER );
|
||
|
#line 334 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetModelMainTexture (TEXTURE_DOORCONTROLLER );
|
||
|
#line 335 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
ModelChangeNotify ();
|
||
|
#line 338 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
SetTimerAfter(0.1f);
|
||
|
Jump(STATE_CURRENT, 0x00dd0027, FALSE, EBegin());return TRUE;}BOOL CDoorController::H0x00dd0027_Main_01(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0027
|
||
|
switch(__eeInput.ee_slEvent) {case EVENTCODE_EBegin: return TRUE;case EVENTCODE_ETimer: Jump(STATE_CURRENT,0x00dd0028, FALSE, EInternal()); return TRUE;default: return FALSE; }}BOOL CDoorController::H0x00dd0028_Main_02(const CEntityEvent &__eeInput){
|
||
|
ASSERT(__eeInput.ee_slEvent==EVENTCODE_EInternal);
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT 0x00dd0028
|
||
|
;
|
||
|
#line 341 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
switch(m_dtType ){
|
||
|
#line 342 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
case DT_AUTO : {
|
||
|
#line 343 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorAuto, TRUE, EVoid());return TRUE;
|
||
|
#line 344 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}break ;
|
||
|
#line 345 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
case DT_TRIGGERED : {
|
||
|
#line 346 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorTriggered, TRUE, EVoid());return TRUE;
|
||
|
#line 347 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}break ;
|
||
|
#line 348 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
case DT_TRIGGEREDAUTO : {
|
||
|
#line 349 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorTriggeredAuto, TRUE, EVoid());return TRUE;
|
||
|
#line 350 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}break ;
|
||
|
#line 351 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
case DT_LOCKED : {
|
||
|
#line 352 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
Jump(STATE_CURRENT, STATE_CDoorController_DoorLocked, TRUE, EVoid());return TRUE;
|
||
|
#line 353 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
}break ;
|
||
|
#line 354 "D:/SE1_GPL/Sources/EntitiesMP/DoorController.es"
|
||
|
} ASSERT(FALSE); return TRUE;};
|