mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
68 lines
2.0 KiB
C++
68 lines
2.0 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#ifndef _EntitiesMP_PlayerView_INCLUDED
|
|
#define _EntitiesMP_PlayerView_INCLUDED 1
|
|
extern DECL_DLL CEntityPropertyEnumType ViewType_enum;
|
|
enum ViewType {
|
|
VT_PLAYERDEATH = 0,
|
|
VT_PLAYERREBIRTH = 1,
|
|
VT_CAMERA = 2,
|
|
VT_3RDPERSONVIEW = 3,
|
|
};
|
|
DECL_DLL inline void ClearToDefault(ViewType &e) { e = (ViewType)0; } ;
|
|
#define EVENTCODE_EViewInit 0x01930000
|
|
class DECL_DLL EViewInit : public CEntityEvent {
|
|
public:
|
|
EViewInit();
|
|
CEntityEvent *MakeCopy(void);
|
|
CEntityPointer penOwner;
|
|
CEntityPointer penCamera;
|
|
enum ViewType vtView;
|
|
BOOL bDeathFixed;
|
|
};
|
|
DECL_DLL inline void ClearToDefault(EViewInit &e) { e = EViewInit(); } ;
|
|
extern "C" DECL_DLL CDLLEntityClass CPlayerView_DLLClass;
|
|
class DECL_DLL CPlayerView : public CMovableEntity {
|
|
public:
|
|
virtual CEntity *GetPredictionPair(void) { return m_penPrediction; };
|
|
virtual void SetPredictionPair(CEntity *penPair) { m_penPrediction = penPair; };
|
|
virtual void SetDefaultProperties(void);
|
|
CEntityPointer m_penOwner;
|
|
INDEX m_iViewType;
|
|
FLOAT m_fDistance;
|
|
FLOAT3D m_vZLast;
|
|
FLOAT3D m_vTargetLast;
|
|
BOOL m_bFixed;
|
|
CEntityPointer m_penPrediction;
|
|
|
|
#line 56 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void AddDependentsToPrediction(void);
|
|
|
|
#line 60 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void PreMoving();
|
|
|
|
#line 61 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void DoMoving();
|
|
|
|
#line 64 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void PostMoving();
|
|
|
|
#line 68 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
CPlacement3D GetLerpedPlacement(void)const;
|
|
|
|
#line 81 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void RenderParticles(void);
|
|
|
|
#line 88 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
void SetCameraPosition();
|
|
#define STATE_CPlayerView_Main 1
|
|
BOOL
|
|
#line 249 "D:/SE1_GPL/Sources/EntitiesMP/PlayerView.es"
|
|
Main(const CEntityEvent &__eeInput);
|
|
BOOL H0x01930001_Main_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01930002_Main_02(const CEntityEvent &__eeInput);
|
|
};
|
|
#endif // _EntitiesMP_PlayerView_INCLUDED
|