Serious-Engine/Sources/EntitiesMP/ShipMarker.cpp

51 lines
1.9 KiB
C++
Raw Normal View History

2016-03-11 14:57:17 +01:00
/*
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
*/
#line 4 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
#include "StdH.h"
#include <EntitiesMP/ShipMarker.h>
#include <EntitiesMP/ShipMarker_tables.h>
void CShipMarker::SetDefaultProperties(void) {
m_bHarbor = FALSE ;
m_fSpeed = -1.0f;
m_fRotation = -1.0f;
m_fAcceleration = 10.0f;
m_fRockingV = -1.0f;
m_fRockingA = -1.0f;
m_tmRockingChange = 3.0f;
CMarker::SetDefaultProperties();
}
#line 29 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
BOOL CShipMarker::DropsMarker(CTFileName & fnmMarkerClass,CTString & strTargetProperty)const {
#line 30 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
fnmMarkerClass = CTFILENAME ("Classes\\ShipMarker.ecl");
#line 31 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
strTargetProperty = "Target";
#line 32 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
return TRUE ;
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
}
BOOL CShipMarker::
#line 35 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
Main(const CEntityEvent &__eeInput) {
#undef STATE_CURRENT
#define STATE_CURRENT STATE_CShipMarker_Main
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CShipMarker::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
#line 37 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
InitAsEditorModel ();
#line 38 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
SetPhysicsFlags (EPF_MODEL_IMMATERIAL );
#line 39 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
SetCollisionFlags (ECF_IMMATERIAL );
#line 42 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
SetModel (MODEL_MARKER );
#line 43 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
SetModelMainTexture (TEXTURE_MARKER );
#line 45 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
Return(STATE_CURRENT,EVoid());
#line 45 "D:/SE1_GPL/Sources/EntitiesMP/ShipMarker.es"
return TRUE; ASSERT(FALSE); return TRUE;};