mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-17 19:23:51 +02:00
TypeInfoGen will now autobind doom scripts.
This commit is contained in:
@@ -37,8 +37,6 @@ If you have questions concerning this license or the applicable additional terms
|
||||
===============================================================================
|
||||
*/
|
||||
|
||||
extern const idEventDef EV_BecomeNonSolid;
|
||||
extern const idEventDef EV_IsAtRest;
|
||||
|
||||
class idMoveable : public idEntity {
|
||||
public:
|
||||
@@ -86,10 +84,15 @@ protected:
|
||||
void InitInitialSpline( int startTime );
|
||||
bool FollowInitialSplinePath( void );
|
||||
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Activate( idEntity *activator );
|
||||
ID_SCRIPT_EVENT( "becomeNonSolid", 0 )
|
||||
void Event_BecomeNonSolid( void );
|
||||
ID_SCRIPT_EVENT( "<setOwnerFromSpawnArgs>", 0 )
|
||||
void Event_SetOwnerFromSpawnArgs( void );
|
||||
ID_SCRIPT_EVENT( "isAtRest", 'd' )
|
||||
void Event_IsAtRest( void );
|
||||
ID_SCRIPT_EVENT( "enableDamage", 0 )
|
||||
void Event_EnableDamage( float enable );
|
||||
};
|
||||
|
||||
@@ -188,9 +191,13 @@ private:
|
||||
void AddLight( const char *name , bool burn );
|
||||
void ExplodingEffects( void );
|
||||
|
||||
ID_SCRIPT_EVENT( "activate", 0 )
|
||||
void Event_Activate( idEntity *activator );
|
||||
ID_SCRIPT_EVENT( "<respawn>", 0 )
|
||||
void Event_Respawn();
|
||||
ID_SCRIPT_EVENT( "<explode>", 0 )
|
||||
void Event_Explode();
|
||||
ID_SCRIPT_EVENT( "<triggertargets>", 0 )
|
||||
void Event_TriggerTargets();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user