/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #line 4 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" #include "StdH.h" #include #include void CWorldLink::SetDefaultProperties(void) { m_strGroup = ""; m_strWorld = ""; m_bStoreWorld = FALSE ; m_EwltType = WLT_RELATIVE ; CMarker::SetDefaultProperties(); } #line 36 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" BOOL CWorldLink::HandleEvent(const CEntityEvent & ee) { #line 37 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" if(ee . ee_slEvent == EVENTCODE_ETrigger ){ #line 38 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" ETrigger & eTrigger = (ETrigger &) ee ; #line 39 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" _SwcWorldChange . strGroup = m_strGroup ; #line 40 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" _SwcWorldChange . plLink = GetPlacement (); #line 41 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" _SwcWorldChange . iType = (INDEX) m_EwltType ; #line 42 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" _pNetwork -> ChangeLevel (m_strWorld , m_bStoreWorld , 0); #line 43 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" return TRUE ; #line 44 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" } #line 45 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" return FALSE ; #line 46 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" } BOOL CWorldLink:: #line 52 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" Main(const CEntityEvent &__eeInput) { #undef STATE_CURRENT #define STATE_CURRENT STATE_CWorldLink_Main ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CWorldLink::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput; #line 53 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" InitAsEditorModel (); #line 54 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" SetPhysicsFlags (EPF_MODEL_IMMATERIAL ); #line 55 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" SetCollisionFlags (ECF_IMMATERIAL ); #line 58 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" SetModel (MODEL_WORLDLINK ); #line 59 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" SetModelMainTexture (TEXTURE_WORLDLINK ); #line 62 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" m_strName . PrintF ("World link - %s" , m_strGroup ); #line 64 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" Return(STATE_CURRENT,EVoid()); #line 64 "D:/SE1_GPL/Sources/EntitiesMP/WorldLink.es" return TRUE; ASSERT(FALSE); return TRUE;};