mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 10:20:26 +01:00
63 lines
1.9 KiB
C++
63 lines
1.9 KiB
C++
/*
|
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
|
*/
|
|
|
|
#ifndef _EntitiesMP_Water_INCLUDED
|
|
#define _EntitiesMP_Water_INCLUDED 1
|
|
#include <EntitiesMP/Light.h>
|
|
extern DECL_DLL CEntityPropertyEnumType WaterSize_enum;
|
|
enum WaterSize {
|
|
WTS_SMALL = 0,
|
|
WTS_BIG = 1,
|
|
WTS_LARGE = 2,
|
|
};
|
|
DECL_DLL inline void ClearToDefault(WaterSize &e) { e = (WaterSize)0; } ;
|
|
#define EVENTCODE_EWater 0x01fc0000
|
|
class DECL_DLL EWater : public CEntityEvent {
|
|
public:
|
|
EWater();
|
|
CEntityEvent *MakeCopy(void);
|
|
CEntityPointer penLauncher;
|
|
enum WaterSize EwsSize;
|
|
};
|
|
DECL_DLL inline void ClearToDefault(EWater &e) { e = EWater(); } ;
|
|
extern "C" DECL_DLL CDLLEntityClass CWater_DLLClass;
|
|
class CWater : public CMovableModelEntity {
|
|
public:
|
|
DECL_DLL virtual void SetDefaultProperties(void);
|
|
CEntityPointer m_penLauncher;
|
|
enum WaterSize m_EwsSize;
|
|
FLOAT m_fDamageAmount;
|
|
FLOAT m_fIgnoreTime;
|
|
FLOAT m_fPushAwayFactor;
|
|
CLightSource m_lsLightSource;
|
|
|
|
#line 62 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
void Read_t(CTStream * istr);
|
|
|
|
#line 69 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
CLightSource * GetLightSource(void);
|
|
|
|
#line 79 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
void SetupLightSource(void);
|
|
|
|
#line 96 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
void RenderParticles(void);
|
|
|
|
#line 101 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
void WaterTouch(CEntityPointer penHit);
|
|
#define STATE_CWater_WaterFly 0x01fc0001
|
|
BOOL
|
|
#line 121 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
WaterFly(const CEntityEvent &__eeInput);
|
|
BOOL H0x01fc0002_WaterFly_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01fc0003_WaterFly_02(const CEntityEvent &__eeInput);
|
|
#define STATE_CWater_Main 1
|
|
BOOL
|
|
#line 163 "D:/SE1_GPL/Sources/EntitiesMP/Water.es"
|
|
Main(const CEntityEvent &__eeInput);
|
|
BOOL H0x01fc0004_Main_01(const CEntityEvent &__eeInput);
|
|
BOOL H0x01fc0005_Main_02(const CEntityEvent &__eeInput);
|
|
};
|
|
#endif // _EntitiesMP_Water_INCLUDED
|