mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-22 18:30:27 +01:00
92 lines
3.2 KiB
C
92 lines
3.2 KiB
C
|
/*
|
||
|
* This file is generated by Entity Class Compiler, (c) CroTeam 1997-98
|
||
|
*/
|
||
|
|
||
|
#ifndef _EntitiesMP_Watcher_INCLUDED
|
||
|
#define _EntitiesMP_Watcher_INCLUDED 1
|
||
|
#define EVENTCODE_EWatcherInit 0x02bc0000
|
||
|
class DECL_DLL EWatcherInit : public CEntityEvent {
|
||
|
public:
|
||
|
EWatcherInit();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
CEntityPointer penOwner;
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(EWatcherInit &e) { e = EWatcherInit(); } ;
|
||
|
#define EVENTCODE_EWatch 0x02bc0001
|
||
|
class DECL_DLL EWatch : public CEntityEvent {
|
||
|
public:
|
||
|
EWatch();
|
||
|
CEntityEvent *MakeCopy(void);
|
||
|
CEntityPointer penSeen;
|
||
|
};
|
||
|
DECL_DLL inline void ClearToDefault(EWatch &e) { e = EWatch(); } ;
|
||
|
extern "C" DECL_DLL CDLLEntityClass CWatcher_DLLClass;
|
||
|
class DECL_DLL CWatcher : public CRationalEntity {
|
||
|
public:
|
||
|
virtual CEntity *GetPredictionPair(void) { return m_penPrediction; };
|
||
|
virtual void SetPredictionPair(CEntity *penPair) { m_penPrediction = penPair; };
|
||
|
virtual void SetDefaultProperties(void);
|
||
|
CEntityPointer m_penOwner;
|
||
|
FLOAT m_tmDelay;
|
||
|
FLOAT m_fClosestPlayer;
|
||
|
INDEX m_iPlayerToCheck;
|
||
|
CEntityPointer m_penPrediction;
|
||
|
|
||
|
#line 40 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
class CEnemyBase * GetOwner(void);
|
||
|
|
||
|
#line 47 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
INDEX GetRandomPlayer(void);
|
||
|
|
||
|
#line 87 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
CEntity * FindClosestPlayer(void);
|
||
|
|
||
|
#line 116 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
void SendWatchEvent(CEntity * penPlayer);
|
||
|
|
||
|
#line 123 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
void CheckIfPlayerVisible(void);
|
||
|
|
||
|
#line 163 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
void SetWatchDelays(void);
|
||
|
|
||
|
#line 186 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
void Watch(void);
|
||
|
|
||
|
#line 225 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
CEntity * CheckCloserPlayer(CEntity * penCurrentTarget,FLOAT fRange);
|
||
|
|
||
|
#line 263 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
CEntity * CheckAnotherPlayer(CEntity * penCurrentTarget);
|
||
|
|
||
|
#line 307 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
SLONG GetUsedMemory(void);
|
||
|
#define STATE_CWatcher_Active 0x02bc0002
|
||
|
BOOL
|
||
|
#line 317 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
Active(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0003_Active_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0004_Active_02(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0005_Active_03(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0006_Active_04(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CWatcher_Inactive 0x02bc0007
|
||
|
BOOL
|
||
|
#line 336 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
Inactive(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0008_Inactive_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc0009_Inactive_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CWatcher_Dummy 0x02bc000a
|
||
|
BOOL
|
||
|
#line 344 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
Dummy(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc000b_Dummy_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc000c_Dummy_02(const CEntityEvent &__eeInput);
|
||
|
#define STATE_CWatcher_Main 1
|
||
|
BOOL
|
||
|
#line 353 "D:/SE1_GPL/Sources/EntitiesMP/Watcher.es"
|
||
|
Main(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc000d_Main_01(const CEntityEvent &__eeInput);
|
||
|
BOOL H0x02bc000e_Main_02(const CEntityEvent &__eeInput);
|
||
|
};
|
||
|
#endif // _EntitiesMP_Watcher_INCLUDED
|