add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector

This commit is contained in:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -60,8 +60,9 @@ VController::~VController( void )
// Void.
}
void VController::initPersistFields( void )
void VController::initPersistFields()
{
docsURL;
addGroup( "Controller" );
addProtectedField( "Time", TypeS32, Offset( mTime, VController ), &setTime, &defaultProtectedGetFn, "Current position of the Controller (in milliseconds)." );
addProtectedField( "Duration", TypeS32, Offset( mDuration, VController ), &setDuration, &defaultProtectedGetFn, "Total length of the sequence (in milliseconds)." );

View file

@ -152,7 +152,7 @@ public:
VController();
~VController();
static void initPersistFields( void );
static void initPersistFields();
// ITickable.

View file

@ -40,8 +40,9 @@ VEvent::VEvent( void ) :
setLabel( "DefaultEvent" );
}
void VEvent::initPersistFields( void )
void VEvent::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addProtectedField( "TriggerTime", TypeS32, Offset( mTriggerTime, VEvent ), &setTriggerTime, &defaultProtectedGetFn, "The time that this event is triggered." );
@ -403,4 +404,4 @@ void VEvent::setDuration( const S32 &pDuration )
// Apply Duration.
mDuration = pDuration;
}
}

View file

@ -48,7 +48,7 @@ public:
VEvent( void );
static void initPersistFields( void );
static void initPersistFields();
// Controller Methods.

View file

@ -42,8 +42,9 @@ VObject::~VObject( void )
remove();
}
void VObject::initPersistFields( void )
void VObject::initPersistFields()
{
docsURL;
// Don't Use Parent Fields.
// Parent::initPersistFields();

View file

@ -66,7 +66,7 @@ public:
VObject( void );
virtual ~VObject( void );
static void initPersistFields( void );
static void initPersistFields();
// Reference Methods.