mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-20 12:40:25 +02:00
TypeInfoGen will now autobind doom scripts.
This commit is contained in:
@@ -96,10 +96,15 @@ private:
|
||||
bool UpdateRenderEntity( renderEntity_s *renderEntity, const renderView_t *renderView ) const;
|
||||
static bool ModelCallback( renderEntity_s *renderEntity, const renderView_t *renderView );
|
||||
|
||||
ID_SCRIPT_EVENT( "<dropToFloor>", 0 )
|
||||
void Event_DropToFloor( void );
|
||||
ID_SCRIPT_EVENT( "<touch>", 0 )
|
||||
void Event_Touch( idEntity *other, trace_t *trace );
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Trigger( idEntity *activator );
|
||||
ID_SCRIPT_EVENT( "respawn", 0 )
|
||||
void Event_Respawn( void );
|
||||
ID_SCRIPT_EVENT( "<respawnFx>", 0 )
|
||||
void Event_RespawnFx( void );
|
||||
};
|
||||
|
||||
@@ -134,9 +139,13 @@ public:
|
||||
private:
|
||||
idVec3 playerPos;
|
||||
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Trigger( idEntity *activator );
|
||||
ID_SCRIPT_EVENT( "<hideobjective>", 0 )
|
||||
void Event_HideObjective( idEntity *e );
|
||||
ID_SCRIPT_EVENT( "<getplayerpos>", 0 )
|
||||
void Event_GetPlayerPos();
|
||||
ID_SCRIPT_EVENT( "<camshot>", 0 )
|
||||
void Event_CamShot();
|
||||
};
|
||||
|
||||
@@ -183,7 +192,9 @@ private:
|
||||
|
||||
void Gib( const idVec3 &dir, const char *damageDefName );
|
||||
|
||||
ID_SCRIPT_EVENT( "<dropToFloor>", 0 )
|
||||
void Event_DropToFloor( void );
|
||||
ID_SCRIPT_EVENT( "gib", 0 )
|
||||
void Event_Gib( const char *damageDefName );
|
||||
};
|
||||
|
||||
@@ -210,6 +221,7 @@ public:
|
||||
void RemoveItem( idPlayer *player );
|
||||
|
||||
private:
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Trigger( idEntity *activator );
|
||||
};
|
||||
|
||||
@@ -227,8 +239,11 @@ public:
|
||||
private:
|
||||
idVec3 playerPos;
|
||||
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Trigger( idEntity *activator );
|
||||
ID_SCRIPT_EVENT( "<hideobjective>", 0 )
|
||||
void Event_HideObjective( idEntity *e );
|
||||
ID_SCRIPT_EVENT( "<getplayerpos>", 0 )
|
||||
void Event_GetPlayerPos();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user