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

@ -58,7 +58,8 @@ ForestBrushElement::ForestBrushElement()
void ForestBrushElement::initPersistFields()
{
{
docsURL;
Parent::initPersistFields();
addGroup( "ForestBrushElement" );

View file

@ -104,7 +104,8 @@ ConsoleDocClass( ForestBrushTool,
);
void ForestBrushTool::initPersistFields()
{
{
docsURL;
addGroup( "ForestBrushTool" );
addField( "mode", TYPEID< BrushMode >(), Offset( mMode, ForestBrushTool) );

View file

@ -59,6 +59,7 @@ bool ForestEditorCtrl::onAdd()
void ForestEditorCtrl::initPersistFields()
{
docsURL;
Parent::initPersistFields();
}

View file

@ -100,6 +100,7 @@ Forest::~Forest()
void Forest::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addField( "dataFile", TypeFilename, Offset( mDataFileName, Forest ),

View file

@ -58,6 +58,7 @@ ForestItemData::ForestItemData()
void ForestItemData::initPersistFields()
{
docsURL;
addGroup( "Shapes" );
INITPERSISTFIELD_SHAPEASSET(Shape, ForestItemData, "Shape asset for this item type");

View file

@ -238,6 +238,7 @@ ForestWindEmitter::~ForestWindEmitter()
void ForestWindEmitter::initPersistFields()
{
docsURL;
// Initialise parents' persistent fields.
Parent::initPersistFields();
@ -591,4 +592,4 @@ DefineEngineMethod( ForestWindEmitter, attachToObject, void, ( U32 objectID ),,
Con::warnf( "ForestWindEmitter::attachToObject - failed to find object with ID: %d", objectID );
object->attachToObject( obj );
}
}