Initial Mapbase commit (squashed from mapbase-beta)

This commit is contained in:
Blixibon
2019-08-31 19:28:20 +00:00
parent 0d8dceea43
commit 3d464bc051
816 changed files with 105527 additions and 957 deletions

View File

@@ -95,7 +95,11 @@ public:
bool FindEntity( void );
void StartScript( void );
void FireScriptEvent( int nEvent );
#ifdef MAPBASE
void OnBeginSequence( CBaseEntity *pActor );
#else
void OnBeginSequence( void );
#endif
void SetTarget( CBaseEntity *pTarget ) { m_hTargetEnt = pTarget; };
CBaseEntity *GetTarget( void ) { return m_hTargetEnt; };
@@ -104,6 +108,9 @@ public:
void InputBeginSequence( inputdata_t &inputdata );
void InputCancelSequence( inputdata_t &inputdata );
void InputMoveToPosition( inputdata_t &inputdata );
#ifdef MAPBASE
void InputSetTarget( inputdata_t &inputdata );
#endif
bool IsTimeToStart( void );
bool IsWaitingForBegin( void );
@@ -223,6 +230,11 @@ private:
EHANDLE m_hInteractionRelativeEntity;
int m_iPlayerDeathBehavior;
#ifdef MAPBASE
// !activator functionality
EHANDLE m_hActivator;
#endif
};