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
+41 -15
View File
@@ -37,21 +37,6 @@ If you have questions concerning this license or the applicable additional terms
===============================================================================
*/
extern const idEventDef AI_EnableEyeFocus;
extern const idEventDef AI_DisableEyeFocus;
extern const idEventDef EV_Footstep;
extern const idEventDef EV_FootstepLeft;
extern const idEventDef EV_FootstepRight;
extern const idEventDef EV_EnableWalkIK;
extern const idEventDef EV_DisableWalkIK;
extern const idEventDef EV_EnableLegIK;
extern const idEventDef EV_DisableLegIK;
extern const idEventDef AI_SetAnimPrefix;
extern const idEventDef AI_PlayAnim;
extern const idEventDef AI_PlayCycle;
extern const idEventDef AI_AnimDone;
extern const idEventDef AI_SetBlendFrames;
extern const idEventDef AI_GetBlendFrames;
class idDeclParticle;
@@ -293,45 +278,86 @@ protected:
void SetupHead( void );
void PlayFootStepSound( void );
ID_SCRIPT_EVENT( "enableEyeFocus", 0 )
void Event_EnableEyeFocus( void );
ID_SCRIPT_EVENT( "disableEyeFocus", 0 )
void Event_DisableEyeFocus( void );
ID_SCRIPT_EVENT( "footstep", 0 )
ID_SCRIPT_EVENT( "leftFoot", 0 )
ID_SCRIPT_EVENT( "rightFoot", 0 )
void Event_Footstep( void );
ID_SCRIPT_EVENT( "EnableWalkIK", 0 )
void Event_EnableWalkIK( void );
ID_SCRIPT_EVENT( "DisableWalkIK", 0 )
void Event_DisableWalkIK( void );
ID_SCRIPT_EVENT( "EnableLegIK", 0 )
void Event_EnableLegIK( int num );
ID_SCRIPT_EVENT( "DisableLegIK", 0 )
void Event_DisableLegIK( int num );
ID_SCRIPT_EVENT( "setAnimPrefix", 0 )
void Event_SetAnimPrefix( const char *name );
void Event_LookAtEntity( idEntity *ent, float duration );
ID_SCRIPT_EVENT( "preventPain", 0 )
void Event_PreventPain( float duration );
ID_SCRIPT_EVENT( "disablePain", 0 )
void Event_DisablePain( void );
ID_SCRIPT_EVENT( "enablePain", 0 )
void Event_EnablePain( void );
ID_SCRIPT_EVENT( "getPainAnim", 's' )
void Event_GetPainAnim( void );
ID_SCRIPT_EVENT( "stopAnim", 0 )
void Event_StopAnim( int channel, int frames );
ID_SCRIPT_EVENT( "playAnim", 'd' )
void Event_PlayAnimScript( int channel, const char *name );
ID_SCRIPT_EVENT( "playCycle", 'd' )
void Event_PlayCycleScript( int channel, const char *name );
ID_SCRIPT_EVENT( "idleAnim", 'd' )
void Event_IdleAnim( int channel, const char *name );
ID_SCRIPT_EVENT( "setSyncedAnimWeight", 0 )
void Event_SetSyncedAnimWeight( int channel, int anim, float weight );
ID_SCRIPT_EVENT( "overrideAnim", 0 )
void Event_OverrideAnim( int channel );
ID_SCRIPT_EVENT( "enableAnim", 0 )
void Event_EnableAnim( int channel, int blendFrames );
ID_SCRIPT_EVENT( "setBlendFrames", 0 )
void Event_SetBlendFrames( int channel, int blendFrames );
ID_SCRIPT_EVENT( "getBlendFrames", 'd' )
void Event_GetBlendFrames( int channel );
ID_SCRIPT_EVENT( "animState", 0 )
void Event_AnimState( int channel, const char *name, int blendFrames );
ID_SCRIPT_EVENT( "getAnimState", 's' )
void Event_GetAnimState( int channel );
ID_SCRIPT_EVENT( "inAnimState", 'd' )
void Event_InAnimState( int channel, const char *name );
ID_SCRIPT_EVENT( "finishAction", 0 )
void Event_FinishAction( const char *name );
ID_SCRIPT_EVENT( "animDone", 'd' )
void Event_AnimDone( int channel, int blendFrames );
ID_SCRIPT_EVENT( "hasAnim", 'f' )
void Event_HasAnim( int channel, const char *name );
ID_SCRIPT_EVENT( "checkAnim", 0 )
void Event_CheckAnim( int channel, const char *animname );
ID_SCRIPT_EVENT( "chooseAnim", 's' )
void Event_ChooseAnim( int channel, const char *animname );
ID_SCRIPT_EVENT( "animLength", 'f' )
void Event_AnimLength( int channel, const char *animname );
ID_SCRIPT_EVENT( "animDistance", 'f' )
void Event_AnimDistance( int channel, const char *animname );
ID_SCRIPT_EVENT( "hasEnemies", 'd' )
void Event_HasEnemies( void );
ID_SCRIPT_EVENT( "nextEnemy", 'e' )
void Event_NextEnemy( idEntity *ent );
ID_SCRIPT_EVENT( "closestEnemyToPoint", 'e' )
void Event_ClosestEnemyToPoint( const idVec3 &pos );
ID_SCRIPT_EVENT( "stopSound", 0 )
void Event_StopSound( int channel, int netsync );
ID_SCRIPT_EVENT( "setNextState", 0 )
void Event_SetNextState( const char *name );
ID_SCRIPT_EVENT( "setState", 0 )
void Event_SetState( const char *name );
ID_SCRIPT_EVENT( "getState", 's' )
void Event_GetState( void );
ID_SCRIPT_EVENT( "getHead", 'e' )
void Event_GetHead( void );
idAnimState& GetAnimStateVar(int channel);