mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +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
|
|
@ -60,8 +60,9 @@ VController::~VController( void )
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VController::initPersistFields( void )
|
||||
void VController::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Controller" );
|
||||
addProtectedField( "Time", TypeS32, Offset( mTime, VController ), &setTime, &defaultProtectedGetFn, "Current position of the Controller (in milliseconds)." );
|
||||
addProtectedField( "Duration", TypeS32, Offset( mDuration, VController ), &setDuration, &defaultProtectedGetFn, "Total length of the sequence (in milliseconds)." );
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ public:
|
|||
VController();
|
||||
~VController();
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// ITickable.
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@ VEvent::VEvent( void ) :
|
|||
setLabel( "DefaultEvent" );
|
||||
}
|
||||
|
||||
void VEvent::initPersistFields( void )
|
||||
void VEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addProtectedField( "TriggerTime", TypeS32, Offset( mTriggerTime, VEvent ), &setTriggerTime, &defaultProtectedGetFn, "The time that this event is triggered." );
|
||||
|
|
@ -403,4 +404,4 @@ void VEvent::setDuration( const S32 &pDuration )
|
|||
|
||||
// Apply Duration.
|
||||
mDuration = pDuration;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
VEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Controller Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,9 @@ VObject::~VObject( void )
|
|||
remove();
|
||||
}
|
||||
|
||||
void VObject::initPersistFields( void )
|
||||
void VObject::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
// Don't Use Parent Fields.
|
||||
// Parent::initPersistFields();
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public:
|
|||
VObject( void );
|
||||
virtual ~VObject( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Reference Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ VShapeAnimationEvent::VShapeAnimationEvent( void ) :
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void VShapeAnimationEvent::initPersistFields( void )
|
||||
void VShapeAnimationEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "AnimationData", TypeRealString, Offset( mAnimationData, VShapeAnimationEvent ), "The name of the Animation Sequence to play upon triggering." );
|
||||
|
|
@ -151,4 +152,4 @@ F32 VShapeAnimationEvent::getAnimationPosition( const S32 &pTime )
|
|||
const S32 loopInterp = S32( mDuration * interp ) % duration;
|
||||
|
||||
return ( F32 )loopInterp / ( F32 )duration;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ public:
|
|||
|
||||
VShapeAnimationEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Callback Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ VShapeAnimationTrack::VShapeAnimationTrack( void ) :
|
|||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
void VShapeAnimationTrack::initPersistFields( void )
|
||||
void VShapeAnimationTrack::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "ThreadIndex", TypeS32, Offset( mThreadIndex, VShapeAnimationTrack ), "The index of the Animation Thread to play." );
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
VShapeAnimationTrack( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Controller Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,9 @@ VCameraShakeEvent::VCameraShakeEvent( void ) :
|
|||
setLabel( "CameraShakeEvent" );
|
||||
}
|
||||
|
||||
void VCameraShakeEvent::initPersistFields( void )
|
||||
void VCameraShakeEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Amplitude", TypePoint3F, Offset( mAmplitude, VCameraShakeEvent ), "Amplitude of the Camera Shake event." );
|
||||
|
|
@ -80,4 +81,4 @@ void VCameraShakeEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Shake Camera.
|
||||
VTorque::startCameraShake( duration, mFalloff, mAmplitude, mFrequency );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
VCameraShakeEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,9 @@ VDirectorEvent::VDirectorEvent( void ) :
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VDirectorEvent::initPersistFields( void )
|
||||
void VDirectorEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Target", TypeRealString, Offset( mTarget, VDirectorEvent ), "The name of the CameraGroup that will be activated upon triggering." );
|
||||
|
|
@ -72,4 +73,4 @@ void VDirectorEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Change Camera.
|
||||
targetGroup->setActive();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
VDirectorEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -38,8 +38,9 @@ VSceneJumpEvent::VSceneJumpEvent( void ) :
|
|||
setLabel( "SceneJumpEvent" );
|
||||
}
|
||||
|
||||
void VSceneJumpEvent::initPersistFields( void )
|
||||
void VSceneJumpEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Target", TypeRealString, Offset( mTarget, VSceneJumpEvent ), "The name of the Scene that the controller will jump to upon triggering." );
|
||||
|
|
@ -79,4 +80,4 @@ void VSceneJumpEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Go To Scene.
|
||||
getController()->jump( VController::k_JumpTime, event->getTriggerTime() );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public:
|
|||
|
||||
VSceneJumpEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VSlowMoEvent::VSlowMoEvent( void ) :
|
|||
setLabel( "SlowMoEvent" );
|
||||
}
|
||||
|
||||
void VSlowMoEvent::initPersistFields( void )
|
||||
void VSlowMoEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "TimeScale", TypeF32, Offset( mTimeScale, VSlowMoEvent ), "The Time Scale to be applied to the Root Controller." );
|
||||
|
|
@ -127,4 +128,4 @@ void VSlowMoEvent::onComplete( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Tidy Up.
|
||||
controller->setTimeScale( mTimeScale );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ public:
|
|||
|
||||
VSlowMoEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@ VSpawnSphereSpawnTargetEvent::VSpawnSphereSpawnTargetEvent( void )
|
|||
setLabel( "SpawnTargetEvent" );
|
||||
}
|
||||
|
||||
void VSpawnSphereSpawnTargetEvent::initPersistFields( void )
|
||||
void VSpawnSphereSpawnTargetEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
@ -65,4 +66,4 @@ void VSpawnSphereSpawnTargetEvent::onTrigger( const S32 &pTime, const S32 &pDelt
|
|||
|
||||
// Spawn the Target.
|
||||
track->spawnTarget();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ public:
|
|||
|
||||
VSpawnSphereSpawnTargetEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@ VSpawnSphereSpawnTargetTrack::VSpawnSphereSpawnTargetTrack( void )
|
|||
setLabel( "SpawnTargetTrack" );
|
||||
}
|
||||
|
||||
void VSpawnSphereSpawnTargetTrack::initPersistFields( void )
|
||||
void VSpawnSphereSpawnTargetTrack::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
// Parent Call.
|
||||
Parent::initPersistFields();
|
||||
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
VSpawnSphereSpawnTargetTrack( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Controller Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VLightObjectAnimationEvent::VLightObjectAnimationEvent( void ) :
|
|||
setLabel( "AnimationEvent" );
|
||||
}
|
||||
|
||||
void VLightObjectAnimationEvent::initPersistFields( void )
|
||||
void VLightObjectAnimationEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "AnimationData", TYPEID<VTorque::LightAnimationDataType>(), Offset( mAnimationData, VLightObjectAnimationEvent ) );
|
||||
|
|
@ -89,4 +90,4 @@ void VLightObjectAnimationEvent::onComplete( const S32 &pTime, const S32 &pDelta
|
|||
// Pause the Animation.
|
||||
VTorque::pauseAnimation( lightObject );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
VLightObjectAnimationEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@ VLightObjectToggleEvent::VLightObjectToggleEvent( void ) :
|
|||
setLabel( "ToggleEvent" );
|
||||
}
|
||||
|
||||
void VLightObjectToggleEvent::initPersistFields( void )
|
||||
void VLightObjectToggleEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Action", TYPEID<VActionToggle>(), Offset( mEventType, VLightObjectToggleEvent ) );
|
||||
|
|
@ -67,4 +68,4 @@ void VLightObjectToggleEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
// Toggle Light.
|
||||
VTorque::setLightObjectOn( lightObject, turnOn );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
VLightObjectToggleEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -39,8 +39,9 @@ VMotionTrack::VMotionTrack( void ) :
|
|||
setLabel( "MotionTrack" );
|
||||
}
|
||||
|
||||
void VMotionTrack::initPersistFields( void )
|
||||
void VMotionTrack::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Reference", TypeRealString, Offset( mDataReference, VMotionTrack ), "The name of the data field referencing the object to be attached to the path." );
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public:
|
|||
|
||||
VMotionTrack( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Controller Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -34,8 +34,9 @@ VParticleEffectToggleEvent::VParticleEffectToggleEvent( void ) :
|
|||
setLabel( "ToggleEvent" );
|
||||
}
|
||||
|
||||
void VParticleEffectToggleEvent::initPersistFields( void )
|
||||
void VParticleEffectToggleEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Action", TYPEID<VActionToggle>(), Offset( mEventType, VParticleEffectToggleEvent ) );
|
||||
|
|
@ -67,4 +68,4 @@ void VParticleEffectToggleEvent::onTrigger( const S32 &pTime, const S32 &pDelta
|
|||
// Toggle Particle Effect.
|
||||
VTorque::setParticleEffectOn( particleEffect, turnOn );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
VParticleEffectToggleEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VPostEffectToggleEvent::VPostEffectToggleEvent( void ) :
|
|||
setLabel( "ToggleEvent" );
|
||||
}
|
||||
|
||||
void VPostEffectToggleEvent::initPersistFields( void )
|
||||
void VPostEffectToggleEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Action", TYPEID<VActionToggle>(), Offset( mEventType, VPostEffectToggleEvent ) );
|
||||
|
|
@ -74,4 +75,4 @@ void VPostEffectToggleEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Enable Effect.
|
||||
VTorque::setPostEffectOn( track->getPostEffect(), turnOn );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ public:
|
|||
|
||||
VPostEffectToggleEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VPostEffectToggleTrack::VPostEffectToggleTrack( void ) :
|
|||
setLabel( "PostEffectTrack" );
|
||||
}
|
||||
|
||||
void VPostEffectToggleTrack::initPersistFields( void )
|
||||
void VPostEffectToggleTrack::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "PostEffect", TYPEID<VTorque::PostEffectType>(), Offset( mPostEffect, VPostEffectToggleTrack ), "The name of the PostEffect object to be triggered." );
|
||||
|
|
@ -100,4 +101,4 @@ bool VPostEffectToggleTrack::onCameraEvent( const VCameraGroup::eCameraEventType
|
|||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
VPostEffectToggleTrack( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Camera Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VSceneObjectGroup::VSceneObjectGroup( void ) :
|
|||
setLabel( "SceneObjectGroup" );
|
||||
};
|
||||
|
||||
void VSceneObjectGroup::initPersistFields( void )
|
||||
void VSceneObjectGroup::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Reference", TypeRealString, Offset( mDataReference, VSceneObjectGroup ), "The name of the data field referencing the targeted object." );
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
VSceneObjectGroup( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Reference Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -46,8 +46,9 @@ VScriptEvent::VScriptEvent( void ) :
|
|||
setLabel( "ScriptEvent" );
|
||||
}
|
||||
|
||||
void VScriptEvent::initPersistFields( void )
|
||||
void VScriptEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "CommandType", TYPEID<eCommandType>(), Offset( mCommandType, VScriptEvent ), "The type of command to be evaluated." );
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
VScriptEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Event Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VSoundEffectEvent::VSoundEffectEvent( void ) :
|
|||
setLabel( "SoundEvent" );
|
||||
}
|
||||
|
||||
void VSoundEffectEvent::initPersistFields( void )
|
||||
void VSoundEffectEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addProtectedField( "SoundEffect", TYPEID<VTorque::SoundEffectType>(), Offset( mSoundEffect, VSoundEffectEvent ), &setSoundData, &defaultProtectedGetFn, "" );
|
||||
|
|
@ -128,4 +129,4 @@ bool VSoundEffectEvent::setSoundData( void *pObject, const char *pArray, const c
|
|||
event->setDuration( 0 );
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ public:
|
|||
|
||||
VSoundEffectEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
static bool setSoundData( void *pObject, const char *pArray, const char *pData );
|
||||
|
||||
|
|
|
|||
|
|
@ -36,8 +36,9 @@ VEditorButton::VEditorButton( void ) :
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VEditorButton::initPersistFields( void )
|
||||
void VEditorButton::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "IsDraggable", TypeBool, Offset( mIsDraggable, VEditorButton ) );
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
VEditorButton();
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
void onMouseDown( const GuiEvent &pEvent );
|
||||
void onMouseUp( const GuiEvent &pEvent );
|
||||
|
|
|
|||
|
|
@ -43,8 +43,9 @@ VTimeLineControl::VTimeLineControl( void ) :
|
|||
mSelection.EndTime = 0;
|
||||
}
|
||||
|
||||
void VTimeLineControl::initPersistFields( void )
|
||||
void VTimeLineControl::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "IsController", TypeBool, Offset( mIsController, VTimeLineControl ) );
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ public:
|
|||
|
||||
VTimeLineControl( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Mouse.
|
||||
|
||||
|
|
|
|||
|
|
@ -47,8 +47,9 @@ VActorData::~VActorData( void )
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VActorData::initPersistFields( void )
|
||||
void VActorData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "MaxStepHeight", TypeF32, Offset( mMaxStepHeight, VActorData ) );
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ public:
|
|||
VActorData( void );
|
||||
~VActorData( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
virtual bool initAnimationSequenceList( const S32 &pSize, const sAnimationSequence *pTable );
|
||||
virtual bool initAnimationTransitionList( const S32 &pSize, const sAnimationTransition *pTable );
|
||||
|
|
|
|||
|
|
@ -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." );
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ public:
|
|||
void onDeleteNotify( SimObject *pObject );
|
||||
void onRemove( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
static SimSet *getServerSet( void );
|
||||
|
||||
|
|
|
|||
|
|
@ -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 ) );
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ public:
|
|||
virtual bool onAdd( void );
|
||||
virtual bool onWake( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Gui Events.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue