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
+7 -2
View File
@@ -196,6 +196,7 @@ protected:
idMat3 spawnAxis; // rotation axis used when spawned
int nextSoundTime; // next time this can make a sound
ID_SCRIPT_EVENT( "SetConstraintPosition", 0 )
void Event_SetConstraintPosition( const char *name, const idVec3 &pos );
};
@@ -207,8 +208,6 @@ idAFEntity_Gibbable
===============================================================================
*/
extern const idEventDef EV_Gib;
extern const idEventDef EV_Gibbed;
class idAFEntity_Gibbable : public idAFEntity_Base {
public:
@@ -232,6 +231,7 @@ protected:
virtual void Gib( const idVec3 &dir, const char *damageDefName );
void InitSkeletonModel( void );
ID_SCRIPT_EVENT( "gib", 0 )
void Event_Gib( const char *damageDefName );
};
@@ -259,6 +259,7 @@ public:
void KeepRunningPhysics( void ) { keepRunningPhysics = true; }
private:
ID_SCRIPT_EVENT( "activate", 0 )
void Event_Activate( idEntity *activator );
bool keepRunningPhysics;
@@ -302,7 +303,9 @@ protected:
private:
idEntityPtr<idAFAttachment> head;
ID_SCRIPT_EVENT( "gib", 0 )
void Event_Gib( const char *damageDefName );
ID_SCRIPT_EVENT( "activate", 0 )
void Event_Activate( idEntity *activator );
};
@@ -467,7 +470,9 @@ public:
private:
idAFConstraint_Hinge * fingers[4];
ID_SCRIPT_EVENT( "setFingerAngle", 0 )
void Event_SetFingerAngle( float angle );
ID_SCRIPT_EVENT( "stopFingers", 0 )
void Event_StopFingers( void );
};