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

@ -95,6 +95,7 @@ SFXAmbience::SFXAmbience()
void SFXAmbience::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addField( "environment", TypeSFXEnvironmentName, Offset( mEnvironment, SFXAmbience ),

View file

@ -95,6 +95,7 @@ SFXController::~SFXController()
void SFXController::initPersistFields()
{
docsURL;
addGroup( "Debug" );
addField( "trace", TypeBool, Offset( mTrace, SFXController ),
"If true, the controller logs its operation to the console.\n"

View file

@ -142,6 +142,7 @@ SFXEnvironment::SFXEnvironment()
void SFXEnvironment::initPersistFields()
{
docsURL;
addGroup( "Reverb" );
addField("reverbDensity", TypeF32, Offset(mReverb.flDensity, SFXEnvironment),

View file

@ -119,6 +119,7 @@ SFXParameter::~SFXParameter()
void SFXParameter::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addProtectedField( "value", TypeF32, Offset( mValue, SFXParameter ),

View file

@ -228,6 +228,7 @@ SFXPlayList::SFXPlayList()
void SFXPlayList::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addField( "random", TYPEID< ERandomMode >(), Offset( mRandomMode, SFXPlayList ),

View file

@ -103,6 +103,7 @@ SFXProfile::SFXProfile( SFXDescription* desc, const String& filename, bool prelo
void SFXProfile::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addField( "filename", TypeStringFilename, Offset( mFilename, SFXProfile ),

View file

@ -297,6 +297,7 @@ SFXSource::~SFXSource()
void SFXSource::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addProtectedField( "description", TypeSFXDescriptionName, Offset( mDescription, SFXSource ),

View file

@ -114,6 +114,7 @@ SFXState::SFXState()
void SFXState::initPersistFields()
{
docsURL;
addGroup( "State" );
addField( "includedStates", TypeSFXStateName, Offset( mIncludedStates, SFXState ),

View file

@ -78,6 +78,7 @@ SFXTrack::SFXTrack(const SFXTrack& other, bool temp_clone) : SimDataBlock(other,
void SFXTrack::initPersistFields()
{
docsURL;
addGroup( "Sound" );
addField( "description", TypeSFXDescriptionName, Offset( mDescription, SFXTrack ),