TypeInfoGen will now autobind doom scripts.

This commit is contained in:
Justin Marshall
2026-05-23 20:50:12 -07:00
parent df82170a67
commit 293942d07c
132 changed files with 7321 additions and 3762 deletions
+15
View File
@@ -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();
};