mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
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:
parent
a0bbe0ec18
commit
f5a34308f9
382 changed files with 588 additions and 130 deletions
|
|
@ -219,6 +219,7 @@ void EditTSCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
|
||||
void EditTSCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Grid" );
|
||||
|
||||
addField( "gridSize", TypeF32, Offset( mGridPlaneSize, EditTSCtrl ) );
|
||||
|
|
|
|||
|
|
@ -240,6 +240,7 @@ bool GizmoProfile::onAdd()
|
|||
|
||||
void GizmoProfile::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "alignment", TYPEID< GizmoAlignment >(), Offset(alignment, GizmoProfile ) );
|
||||
addField( "mode", TYPEID< GizmoMode >(), Offset(mode, GizmoProfile ) );
|
||||
|
||||
|
|
@ -371,6 +372,7 @@ void Gizmo::onRemove()
|
|||
|
||||
void Gizmo::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
//addField( "profile",)
|
||||
|
|
|
|||
|
|
@ -113,7 +113,8 @@ void GuiConvexEditorCtrl::onRemove()
|
|||
}
|
||||
|
||||
void GuiConvexEditorCtrl::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
addField( "isDirty", TypeBool, Offset( mIsDirty, GuiConvexEditorCtrl ) );
|
||||
addField( "materialName", TypeMaterialAssetId, Offset(mMaterialName, GuiConvexEditorCtrl) );
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ bool GuiDecalEditorCtrl::onAdd()
|
|||
|
||||
void GuiDecalEditorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "currentDecalData", TYPEID< DecalData >(), Offset( mCurrentDecalData, GuiDecalEditorCtrl ) );
|
||||
|
||||
Parent::initPersistFields();
|
||||
|
|
@ -913,6 +914,7 @@ DICreateUndoAction::~DICreateUndoAction()
|
|||
|
||||
void DICreateUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1001,6 +1003,7 @@ DIDeleteUndoAction::~DIDeleteUndoAction()
|
|||
|
||||
void DIDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1089,6 +1092,7 @@ DBDeleteUndoAction::~DBDeleteUndoAction()
|
|||
|
||||
void DBDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -1198,6 +1202,7 @@ DBRetargetUndoAction::~DBRetargetUndoAction()
|
|||
|
||||
void DBRetargetUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ GuiMissionAreaCtrl::~GuiMissionAreaCtrl()
|
|||
|
||||
void GuiMissionAreaCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "squareBitmap", TypeBool, Offset(mSquareBitmap, GuiMissionAreaCtrl));
|
||||
|
||||
INITPERSISTFIELD_IMAGEASSET(HandleBitmap, GuiMissionAreaCtrl, "Bitmap for the mission area handles.\n");
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@ bool GuiMissionAreaEditorCtrl::onAdd()
|
|||
|
||||
void GuiMissionAreaEditorCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ bool GuiTerrPreviewCtrl::onAdd()
|
|||
|
||||
void GuiTerrPreviewCtrl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -779,6 +779,7 @@ TerrainSmoothAction::TerrainSmoothAction()
|
|||
|
||||
void TerrainSmoothAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2794,6 +2794,7 @@ DefineEngineMethod(TerrainEditor, getTerrainUnderWorldPoint, S32, (const char *
|
|||
|
||||
void TerrainEditor::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Misc");
|
||||
addField("isDirty", TypeBool, Offset(mIsDirty, TerrainEditor));
|
||||
addField("isMissionDirty", TypeBool, Offset(mIsMissionDirty, TerrainEditor));
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ MECreateUndoAction::~MECreateUndoAction()
|
|||
|
||||
void MECreateUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -132,6 +133,7 @@ MEDeleteUndoAction::~MEDeleteUndoAction()
|
|||
|
||||
void MEDeleteUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -238,6 +240,7 @@ InspectorFieldUndoAction::InspectorFieldUndoAction( const UTF8 *actionName )
|
|||
|
||||
void InspectorFieldUndoAction::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField( "inspectorGui", TYPEID< GuiInspector >(), Offset( mInspector, InspectorFieldUndoAction ) );
|
||||
addField( "objectId", TypeS32, Offset( mObjId, InspectorFieldUndoAction ) );
|
||||
addField( "fieldName", TypeString, Offset( mSlotName, InspectorFieldUndoAction ) );
|
||||
|
|
|
|||
|
|
@ -2781,6 +2781,7 @@ void WorldEditor::renderScene( const RectI &updateRect )
|
|||
|
||||
void WorldEditor::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Grid" );
|
||||
|
||||
addField( "gridSnap", TypeBool, Offset( mGridSnap, WorldEditor ),
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ WorldEditorSelection::~WorldEditorSelection()
|
|||
|
||||
void WorldEditorSelection::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue