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 @@ ReflectorDesc::~ReflectorDesc()
void ReflectorDesc::initPersistFields()
{
docsURL;
addGroup( "ReflectorDesc" );
addField( "texSize", TypeS32, Offset( texSize, ReflectorDesc ),

View file

@ -633,6 +633,7 @@ void SceneObject::setHidden( bool hidden )
void SceneObject::initPersistFields()
{
docsURL;
//Disabled temporarily
/*addGroup("GameObject");
addField("GameObject", TypeGameObjectAssetPtr, Offset(mGameObjectAsset, SceneObject), "The asset Id used for the game object this entity is based on.");

View file

@ -171,6 +171,7 @@ Path::~Path()
//--------------------------------------------------------------------------
void Path::initPersistFields()
{
docsURL;
addField("isLooping", TypeBool, Offset(mIsLooping, Path), "If this is true, the loop is closed, otherwise it is open.\n");
addField("Speed", TypeF32, Offset(mPathSpeed, Path), "Speed.\n");
addProtectedField("mPathShape", TYPEID< PathShapeData >(), Offset(mDataBlock, Path),
@ -421,6 +422,7 @@ EndImplementEnumType;
void Marker::initPersistFields()
{
docsURL;
addGroup( "Misc" );
addField("seqNum", TypeS32, Offset(mSeqNum, Marker), "Marker position in sequence of markers on this path.\n");
addField("hitCommand", TypeCommand, Offset(mHitCommand, Marker), "The command to execute when a path follower reaches this marker.");

View file

@ -55,6 +55,7 @@ SceneSimpleZone::SceneSimpleZone()
void SceneSimpleZone::initPersistFields()
{
docsURL;
addGroup( "Lighting" );
addProtectedField( "useAmbientLightColor", TypeBool, Offset( mUseAmbientLightColor, SceneSimpleZone ),

View file

@ -69,6 +69,7 @@ void SceneZoneSpace::onSceneRemove()
void SceneZoneSpace::initPersistFields()
{
docsURL;
addGroup( "Zoning" );
addProtectedField( "zoneGroup", TypeS32, Offset( mZoneGroup, SceneZoneSpace ),