mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
69 lines
2.7 KiB
C++
69 lines
2.7 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#line 4 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
|
|
#include "StdH.h"
|
|
|
|
#include <EntitiesMP/MovingBrushMarker.h>
|
|
#include <EntitiesMP/MovingBrushMarker_tables.h>
|
|
void CMovingBrushMarker::SetDefaultProperties(void) {
|
|
m_bInverseRotate = FALSE ;
|
|
m_fSpeed = -1.0f;
|
|
m_fWaitTime = -1.0f;
|
|
m_bStopMoving = FALSE ;
|
|
m_betMoveOnTouch = BET_IGNORE ;
|
|
m_fBlockDamage = -1.0f;
|
|
m_tmBankingRotation = -1.0f;
|
|
m_bBankingClockwise = TRUE ;
|
|
m_bNoRotation = FALSE ;
|
|
m_eetMarkerEvent = EET_IGNORE ;
|
|
m_penMarkerEvent = NULL;
|
|
m_eetTouchEvent = EET_IGNORE ;
|
|
m_penTouchEvent = NULL;
|
|
m_penSoundStart = NULL;
|
|
m_penSoundStop = NULL;
|
|
m_penSoundFollow = NULL;
|
|
CMarker::SetDefaultProperties();
|
|
}
|
|
|
|
#line 49 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
BOOL CMovingBrushMarker::DropsMarker(CTFileName & fnmMarkerClass,CTString & strTargetProperty)const {
|
|
#line 50 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
fnmMarkerClass = CTFILENAME ("Classes\\MovingBrushMarker.ecl");
|
|
#line 51 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
strTargetProperty = "Target";
|
|
#line 52 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
return TRUE ;
|
|
#line 53 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
}
|
|
|
|
#line 57 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
SLONG CMovingBrushMarker::GetUsedMemory(void)
|
|
#line 58 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
{
|
|
#line 59 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
return (sizeof (CMovingBrushMarker ) - sizeof (CMarker ) + CMarker :: GetUsedMemory ());
|
|
#line 60 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
}
|
|
BOOL CMovingBrushMarker::
|
|
#line 66 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
Main(const CEntityEvent &__eeInput) {
|
|
#undef STATE_CURRENT
|
|
#define STATE_CURRENT STATE_CMovingBrushMarker_Main
|
|
ASSERTMSG(__eeInput.ee_slEvent==EVENTCODE_EVoid, "CMovingBrushMarker::Main expects 'EVoid' as input!"); const EVoid &e = (const EVoid &)__eeInput;
|
|
#line 68 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
InitAsEditorModel ();
|
|
#line 69 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
SetPhysicsFlags (EPF_MODEL_IMMATERIAL );
|
|
#line 70 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
SetCollisionFlags (ECF_IMMATERIAL );
|
|
#line 73 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
SetModel (MODEL_MARKER );
|
|
#line 74 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
SetModelMainTexture (TEXTURE_MARKER );
|
|
#line 76 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
Return(STATE_CURRENT,EVoid());
|
|
#line 76 "D:/SE1_GPL/Sources/EntitiesMP/MovingBrushMarker.es"
|
|
return TRUE; ASSERT(FALSE); return TRUE;}; |