mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
47 lines
1.8 KiB
C++
47 lines
1.8 KiB
C++
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#line 4 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
|
||
|
#include "StdH.h"
|
||
|
|
||
|
#include <EntitiesMP/AreaMarker.h>
|
||
|
#include <EntitiesMP/AreaMarker_tables.h>
|
||
|
void CAreaMarker::SetDefaultProperties(void) {
|
||
|
m_strName = "AreaMarker";
|
||
|
m_strDescription = "";
|
||
|
m_boxArea = FLOATaabbox3D(FLOAT3D (0 , 0 , 0) , FLOAT3D (10 , 10 , 10));
|
||
|
CEntity::SetDefaultProperties();
|
||
|
}
|
||
|
|
||
|
#line 24 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
void CAreaMarker::GetAreaBox(FLOATaabbox3D & box) {
|
||
|
#line 25 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
box = m_boxArea ;
|
||
|
#line 26 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
box += GetPlacement () . pl_PositionVector ;
|
||
|
#line 27 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
return ;
|
||
|
#line 28 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
}
|
||
|
BOOL CAreaMarker::
|
||
|
#line 31 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
Main(const CEntityEvent &__eeInput) {
|
||
|
#undef STATE_CURRENT
|
||
|
#define STATE_CURRENT STATE_CAreaMarker_Main
|
||
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CAreaMarker::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
||
|
#line 33 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
InitAsEditorModel ();
|
||
|
#line 34 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
SetPhysicsFlags (EPF_MODEL_IMMATERIAL );
|
||
|
#line 35 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
SetCollisionFlags (ECF_IMMATERIAL );
|
||
|
#line 38 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
SetModel (MODEL_AREAMARKER );
|
||
|
#line 39 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
SetModelMainTexture (TEXTURE_AREAMARKER );
|
||
|
#line 41 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
Return(STATE_CURRENT,EVoid());
|
||
|
#line 41 "D:/SE1_GPL/Sources/EntitiesMP/AreaMarker.es"
|
||
|
return TRUE; ASSERT(FALSE); return TRUE;};
|