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

@ -166,8 +166,9 @@ void VPath::onRemove( void )
Parent::onRemove();
}
void VPath::initPersistFields( void )
void VPath::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addProtectedField( "PathType", TYPEID<ePathType>(), Offset( mPathType, VPath ), &setPathType, &defaultProtectedGetFn, "The type of path this is." );

View file

@ -104,7 +104,7 @@ public:
void onDeleteNotify( SimObject *pObject );
void onRemove( void );
static void initPersistFields( void );
static void initPersistFields();
static SimSet *getServerSet( void );

View file

@ -85,8 +85,9 @@ bool VPathEditor::onWake( void )
return Parent::onWake();
}
void VPathEditor::initPersistFields( void )
void VPathEditor::initPersistFields()
{
docsURL;
addField( "IsDirty", TypeBool, Offset( mIsDirty, VPathEditor ) );
addField( "EditMode", TYPEID<EditMode>(), Offset( mEditMode, VPathEditor ) );

View file

@ -122,7 +122,7 @@ public:
virtual bool onAdd( void );
virtual bool onWake( void );
static void initPersistFields( void );
static void initPersistFields();
// Gui Events.