mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-19 12:14:35 +02:00
TypeInfoGen will now autobind doom scripts.
This commit is contained in:
@@ -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 );
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user