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

@ -36,8 +36,9 @@ VSoundEffectEvent::VSoundEffectEvent( void ) :
setLabel( "SoundEvent" );
}
void VSoundEffectEvent::initPersistFields( void )
void VSoundEffectEvent::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addProtectedField( "SoundEffect", TYPEID<VTorque::SoundEffectType>(), Offset( mSoundEffect, VSoundEffectEvent ), &setSoundData, &defaultProtectedGetFn, "" );
@ -128,4 +129,4 @@ bool VSoundEffectEvent::setSoundData( void *pObject, const char *pArray, const c
event->setDuration( 0 );
return false;
}
}