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
+14 -3
View File
@@ -37,9 +37,6 @@ If you have questions concerning this license or the applicable additional terms
===============================================================================
*/
extern const idEventDef EV_Light_GetLightParm;
extern const idEventDef EV_Light_SetLightParm;
extern const idEventDef EV_Light_SetLightParms;
class idLight : public idEntity {
public:
@@ -116,19 +113,33 @@ private:
void PresentLightDefChange( void );
void PresentModelDefChange( void );
ID_SCRIPT_EVENT( "setShader", 0 )
void Event_SetShader( const char *shadername );
ID_SCRIPT_EVENT( "getLightParm", 'f' )
void Event_GetLightParm( int parmnum );
ID_SCRIPT_EVENT( "setLightParm", 0 )
void Event_SetLightParm( int parmnum, float value );
ID_SCRIPT_EVENT( "setLightParms", 0 )
void Event_SetLightParms( float parm0, float parm1, float parm2, float parm3 );
ID_SCRIPT_EVENT( "setRadiusXYZ", 0 )
void Event_SetRadiusXYZ( float x, float y, float z );
ID_SCRIPT_EVENT( "setRadius", 0 )
void Event_SetRadius( float radius );
ID_SCRIPT_EVENT( "hide", 0 )
void Event_Hide( void );
ID_SCRIPT_EVENT( "show", 0 )
void Event_Show( void );
ID_SCRIPT_EVENT( "On", 0 )
void Event_On( void );
ID_SCRIPT_EVENT( "Off", 0 )
void Event_Off( void );
ID_SCRIPT_EVENT( "activate", 0 )
void Event_ToggleOnOff( idEntity *activator );
ID_SCRIPT_EVENT( "<postspawn>", 0 )
void Event_SetSoundHandles( void );
ID_SCRIPT_EVENT( "fadeOutLight", 0 )
void Event_FadeOut( float time );
ID_SCRIPT_EVENT( "fadeInLight", 0 )
void Event_FadeIn( float time );
};