![]() |
VR-Forces Developer's Guide
|
The vrfobjcore library is the core simulation object framework of VR-Forces.
It defines DtLocalObject and its manager, the component/system model (DtSimComponent, DtComponentSystem, DtSimComponentManager), the controller and task controller base classes, the process state repository (PSR) hierarchy, the script interface, the navigation interfaces, and the string constants that name every component and PSR type. Almost every toolkit extension derives from something declared here, so this library carries the largest share of the source changes between 5.2 and 5.3.
Approximately one hundred public headers changed. The changes fall into a handful of themes:
DtLocalObject "add state property" methods were renamed to make it explicit that they add internal state properties, and new accessors for internal state property lists were added.DtAimableSystemControllerPSR base class that also backs the new search light and laser light components.DtWeaponInfoInterface and DtBaseWeaponComponentInterface lost several pure virtuals and gained hit-zone and munition-selection parameters.Changes limited to comments, documentation, formatting, or private implementation detail are not listed.
All six overloads were renamed. The signatures are otherwise unchanged, so the update is a direct substitution. The rename removes the ambiguity that made it look as though external state properties could be added at run time; they cannot.
| 5.2 declaration | 5.3 declaration |
|---|---|
virtual DtPropertyInterface* addStateProperty(const DtString&, const DtString&, int) | virtual DtPropertyInterface* addInternalStateProperty(const DtString&, const DtString&, int) |
virtual DtPropertyInterface* addStateProperty(const DtString&, const DtString&, double) | virtual DtPropertyInterface* addInternalStateProperty(const DtString&, const DtString&, double) |
virtual DtPropertyInterface* addStateProperty(const DtString&, const DtString&, bool) | virtual DtPropertyInterface* addInternalStateProperty(const DtString&, const DtString&, bool) |
virtual DtPropertyInterface* addStateProperty(const DtString&, const DtString&, const DtString&) | virtual DtPropertyInterface* addInternalStateProperty(const DtString&, const DtString&, const DtString&) |
virtual DtPropertyInterface* addStateProperty(const DtString&, const DtString&, const DtVector&) | virtual DtPropertyInterface* addInternalStateProperty(const DtString&, const DtString&, const DtVector&) |
virtual bool addStateProperty(const DtString&, const DtString&, DtPropertyInterface*) | virtual bool addInternalStateProperty(const DtString&, const DtString&, DtPropertyInterface*) |
Classes that override any of these methods must rename their override as well, or the override will silently stop participating in the virtual dispatch chain.
The scenario run identifier is now a UUID rather than an integer.
Comparisons against -1 must be replaced with comparisons against DtUUID::nullUUID(). Code that stores the value in an int or formats it as an integer must be updated.
DtLocalObject::SaveType is a new enum described under Additions. Pass the value that describes the context of the save; DtLocalObject::Snapshot matches the 5.2 behavior for in-memory saves.
The scenario piece save methods and the protected order-of-battle writer all gained a save type parameter. The parameter is an int holding a DtLocalObject::SaveType value and defaults to DtLocalObject::Snapshot, so most call sites compile unchanged, but any subclass that overrides these methods must add the parameter to its signature or the override will be lost.
Any class deriving from DtScriptInterface must implement processEvents. It is called to drain enqueued events such as text or influence events. Two non-pure virtuals were also added and may be overridden where useful:
taskFailedDuringInit distinguishes a script that deliberately failed its own task during init from a script that failed with an engine error.
Every implementation of this interface must add both methods. DtScriptReactiveTaskController implements them in the library; custom script task controllers must supply their own.
DtSingleTaskControllerComponent::disable was removed as an override. Task disposal on disable is now expressed through a new virtual on the task controller base class:
Code that overrode DtSingleTaskControllerComponent::disable to customize task cleanup should move that logic into a taskHandlingOnDisable override. DtControllerComponent also now declares virtual void disable() override so that disabling a controller resends its capable tasks and sets; subclasses that override disable must call the base implementation.
Task processors can now be registered as hidden so they do not appear in the GUI's capable-task response. The new parameter is defaulted, so call sites compile unchanged; overrides must add it.
DtSimTaskManager::DtTaskProcessorMap changed its mapped type as a consequence. Derived classes that iterate the protected map must be updated:
This interface changed substantially. Every implementation must be revisited.
| 5.2 declaration | 5.3 status |
|---|---|
virtual DtSimTask* createFireTask(const DtRwLocationReference&) const = 0 | Replaced by a two-argument form taking a hit zone function |
virtual bool targetAmmunition(const DtEntityType&) const = 0 | Removed |
virtual int priority() const = 0 | Removed |
virtual bool withinTargetRegion(const DtVector&) const = 0 | Retained but marked [[deprecated]] |
enum TargetApplicability { ... } | Replaced by a type alias to the standalone DtTargetApplicability enum |
The fire-task factory now carries the hit zone function of the intended aim point, and a defaulted overload accepts a preferred munition type:
withinTargetRegion still exists but produces a deprecation warning. It is superseded by the canEngageTarget chain on DtVrfTurretedBalGunPSR (see Additions) and by bestMunitionForTarget. Plan to migrate off it.
The nested TargetApplicability enum was moved to namespace scope in the new header vrfobjcore/targetApplicability.h. DtWeaponInfoInterface re-exports the name and the five enumerators as a type alias and static constexpr constants, so existing references such as DtWeaponInfoInterface::TargetApplicability_Ideal continue to compile. Code that forward-declared the nested enum, or that relied on it being a distinct type from DtTargetApplicability, must be updated.
The protected reader-writer members myPriority and myTreatSelectedAsTasked were removed with them, so they are also gone from the checkpoint. Weapon arbitration is now driven by the engageability chain rather than a static priority number. There is no direct replacement for priority(); use targetApplicability and the canEngageTarget predicates to decide which weapon should engage.
A new status bit and reason strings were added to the same class:
Code that switches exhaustively over DtWeaponStatus, or that masks the status word against a hard-coded "all bits" constant, must account for the new bit.
The aiming-related state of the sensor gimbal PSR was hoisted into a new base class so that search lights and laser lights can share it. DtSensorGimbalControllerPSR now derives from DtAimableSystemControllerPSR instead of DtVrfProcessStateRepository, and the following members moved to the base class rather than being removed:
aimingPoint, setAimingPoint, objectToTrack, setObjectToTrack, aimingAzimuth, setAimingAzimuth, aimingElevation, setAimingElevation, isScanningLeft, setIsScanningLeft, aimingMode, setAimingMode, lastKnownAzimuth, setLastKnownAzimuth, lastKnownElevation, setLastKnownElevation, lastKnownPositionOffset, setLastKnownPositionOffset, panDirection, setPanDirection, rotationRatePercentage, setRotationRatePercentage, manualControl, setManualControl.
Calls through a DtSensorGimbalControllerPSR pointer or reference still resolve. Two things do break:
aimingMode now takes and returns DtAimableSystemTrackingMode rather than DtSensorTrackingMode, and panDirection now uses DtAimableSystemManualControlDirection rather than DtSensorManualControlDirection. The header include changed from vrfExtObjects/sensorFieldOfViewEnums.h to vrfExtObjects/aimableSystemEnums.h.DtSensorGimbalControllerPSR and re-declared any of the moved protected reader-writer members (myAimingPoint, myObjectToTrack, myAimingAzimuth, myAimingElevation, myIsScanningLeft, myAimingMode, myLastKnownAzimuth, myLastKnownElevation, myLastKnownPositionOffset, myPanDirection, myRotationRatePercentage, myManualControl) will now shadow the base members.DtSensorGimbalControllerPSR retains only zoomLevel, zoomSpeed, fieldOfViewColor, and the lasing flag as its own state.
The long-form createAndInitVrfObject overload replaced its clampToGround argument with a pair of arguments describing placement relative to terrain. Because the replacement changes the meaning of a positional argument rather than appending one, every call site that passed arguments beyond addToOrbat must be reviewed.
The globalId argument shifted position, so a call that passed globalId positionally will now bind it to altitudeAboveTerrain and fail to compile, or bind an unintended default.
The aggregate creation overload and the two protected helpers gained a trailing altitudeAboveTerrain parameter as well:
Overrides of createSubObjectsFromParameters must be updated; note that the fifth parameter was also renamed from clampToGround to useAltitudeAboveTerrain.
The callback now receives a description of the transferred object rather than a DtSimObject pointer, because the object is gone by the time the callback fires.
Registered callback functions must change their first parameter from const DtLocalObject* to const DtObjectTransferredInformation&. The corresponding "converted to local" callbacks are unchanged.
Overrides must change the parameter type.
true maps to KeepCurrentAltitudeAboveTerrain and false maps to NoClamp. The protected member myPendingKeepGroundClamped (a DtRwBoolean) was replaced by myPendingClampFlag (a DtRwInt) and myPendingAltitudeAboveTerrain (a DtRwReal).
The backing member mySystemsDisabledList was removed as well. System enablement is now derived from hit zone damage: use DtComponentSystem::isDamaged(), DtComponentSystem::hitZoneId(), and DtComponentSystem::refreshDamageState(), or query damage directly through the new DtHitZonesSimObjectFacade.
The suppression enumeration gained a level, which affects exhaustive switches:
The protected members myAutoLaunchEnabled, myAutoLaunchRange, myTimeElapsedBetweenAutoLaunches, and myAutoLaunchSubtaskId were removed with them. There is no replacement in this PSR; auto-launch behavior is now configured through the launch expendable resource controller's parameters.
Every Lua script interface extension must now implement cleanup and must use the supplied lua_State to tear down whatever it registered in the global table, for example:
A new optional hook was added at the same time:
The protected member changed from a value to a heap-allocated pointer so that the extras object can be subclassed.
Derived classes that accessed myScenarioExtras directly must dereference it. The public scenarioExtras() accessor still returns a reference and is unaffected. To supply a derived extras class, override the new protected factory or install a creator function:
The overrides used to stage legacy reader-writer data moved from the generic preGetSelf and prePutSelf hooks to dedicated methods on DtSimObjectStateRepository.
DtSimObjectStateRepository declares the two new initializeLegacyRwData... virtuals. State repositories that overrode preGetSelf or prePutSelf solely to prepare legacy data should move that work into the new hooks; those that override them for other reasons are unaffected.
The myArticulatedParts member and its registry entry were removed. Articulated part data is no longer round-tripped through the legacy reader-writer block.
DtPhysicalWorldRWData also renamed its start-time accessors and removed one parameter entirely:
| 5.2 declaration | 5.3 declaration |
|---|---|
void setStartTimeIsLocal(bool) | void setTimeIsSetToLocalOnFirstPlacement(bool) |
bool startTimeIsLocal() const | bool timeIsSetToLocalOnFirstPlacement() const |
void setScenarioStartTimeAtLocalOnFirstObjectCreationToTime(int) | Removed |
int scenarioStartTimeAtLocalOnFirstObjectCreationToTime() const | Removed |
The VR-Forces-specific magnetic model class was removed in favor of the shared makVrv::DtWorldMagneticModel, and the header vrfobjcore/vrfWorldMagneticModel.h was deleted. Code that included that header transitively through vrfobjcore/physicalWorld.h must now include the VR-Vantage header directly.
magneticNorth is unchanged. Two accessors and an initialization hook were added:
DtVrfObjectNavInterface gained a virtual hook that fires when the set of secondary nav areas changes. It has a default no-op implementation, so it is not breaking on its own, but interfaces that manage resources across multiple nav areas should override it:
DtTagVolumeNavInterface, DtDynamicObstacleNavInterface, and DtNavEdgeNavInterface override it in the library.
DtTagVolumeNavInterface::calcTagVolumePoints changed signature. Overrides must be updated:
DtNavEdgeNavInterface replaced its single nav edge index with a per-area map, because a nav edge can now be present in more than one area:
DtActiveBotNavInterface::findBestExitPoint moved from the protected section to the public section. This is source compatible for existing callers.
Call sites compile unchanged; overrides must add the parameter.
The top-level const was removed. Overrides must match the new return type exactly.
The TDL subsystem was removed. The following constants no longer exist; code that referenced them will fail to compile and must be deleted.
| Header | Removed constant |
|---|---|
simComponentTypes.h | DtTDLPPLIMessageGeneratorControllerType |
simComponentTypes.h | DtTDLStatusMessageGeneratorControllerType |
simComponentTypes.h | DtTDLContactMessageGeneratorControllerType |
psrTypes.h | DtTDLMessageGeneratorControllerProcessStateRepositoryType |
psrTypes.h | DtTDLMessageGeneratorControllerProcessStateRepositoryDefaultName |
psrTypes.h | DtTDLPPLIMessageGeneratorControllerProcessStateRepositoryType |
psrTypes.h | DtTDLPPLIMessageGeneratorControllerProcessStateRepositoryDefaultName |
psrTypes.h | DtTDLContactMessageGeneratorControllerProcessStateRepositoryType |
psrTypes.h | DtTDLContactMessageGeneratorControllerProcessStateRepositoryDefaultName |
These are smaller changes that affect only subclasses or direct users of the named member.
| Class | Change |
|---|---|
DtSimObjectReferenceList | simObjectRemoved(const DtSimObject*) is now virtual |
DtDetonationManager | detonationPower(...) is now declared override |
DtResourceMonitor | myMonitoringResourcesMutex is now mutable |
DtVrfMovingObjectStateRepository | Added virtual void diGuyCharacterState(DtRwDIGuyCharacterState&) const as an out-parameter overload alongside the by-value accessor; overload resolution now considers both |
DtTagVolumeNavInterface | The not-implemented default constructor, copy constructor, and assignment operator moved from the first private block to a later one; behavior is unchanged |
Hit zone damage is now a first-class concept on sim objects, reachable through a facade pair rather than through ad-hoc state properties.
vrfobjcore/hitZonesSimObjectFacade.h declares DtHitZonesSimObjectFacadeInterface and the DtHitZonesSimObjectFacade typedef, giving read access to damage on any sim object:
vrfobjcore/hitZonesLocalObjectFacade.h declares DtHitZonesLocalObjectFacadeInterface and the DtHitZonesLocalObjectFacade typedef, adding next-frame mutation for local objects:
vrfobjcore/hitZoneDamageParamsManager.h declares DtHitZoneDamageParamsManager, an implementation of DtHitZoneDamageParamsManagerInterface that loads and merges hitZoneDamageParams.mtl and answers damage probability queries:
Component systems are now tied to hit zones. DtComponentSystem gained:
and DtSimComponentManager gained the protected refreshDamagedSystems() that drives it each tick. This is the replacement for the removed DtVrfObjectStateRepository::systemEnabled.
Hit zone aim points were threaded through the targeting PSRs:
| Class | New members |
|---|---|
DtMissileFlightPSR | setTargetHitZone(const DtVector&), targetHitZone() |
DtSurfaceMovementPSR | setTargetHitZoneOffset(const DtVector&), targetHitZoneOffset() |
DtCruiseMissileLaunchControllerPSR | setTargetHitZoneOffset(const DtVector&), targetHitZoneOffset() |
DtFireMissionInformation | hitZoneFunction(), setHitZoneFunction(DtU8) |
DtAimableSystemControllerPSR | targetedEntityPositionOffset(), setTargetedEntityPositionOffset(const DtVector&) |
DtRwPositionReference and DtFixedWingFlightPSR gained paired setters so that an object and an offset within it can be set atomically:
vrfobjcore/aimableSystemControllerPSR.h declares DtAimableSystemControllerPSR, the new generalization of the sensor gimbal aiming state. It derives from DtVrfProcessStateRepository and owns the aiming point, tracked object, fixed azimuth and elevation, scan direction, aiming mode, last known articulation state, manual pan direction and rate, manual control flag, power state, and the targeted entity position offset. It uses the DtAimableSystemTrackingMode and DtAimableSystemManualControlDirection enums from vrfExtObjects/aimableSystemEnums.h.
Two new controllers and two new actuators build on it:
| Header | Class | Key state |
|---|---|---|
searchLightControllerPSR.h | DtSearchLightControllerPSR | range, intensity, coneAngle, lightType, color, lockedOnTarget |
searchLightActuatorPSR.h | DtSearchLightActuatorPSR | aimingAzimuth, aimingElevation, orientationAchieved |
laserLightControllerPSR.h | DtLaserLightControllerPSR | spread, wavelength, signal, lockedOnTarget |
laserLightActuatorPSR.h | DtLaserLightActuatorPSR | aimingAzimuth, aimingElevation, orientationAchieved |
The controller PSRs derive from DtAimableSystemControllerPSR; the actuator PSRs derive from DtVrfProcessStateRepository.
vrfobjcore/signalFlagControllerPSR.h declares DtSignalFlagControllerPSR, which stores the maritime signal flags hoisted on each of DtHalyardPositionCount halyard positions. Each halyard is a DtRwIntegerList of DtNavigationSignalFlag values, indexed by DtHalyardPosition.
vrfobjcore/playSoundPSR.h declares DtPlaySoundPSR and the namespace-scope enum PlaySoundState { NotPlayingSound, PlayingSound }. Because the enum is unscoped and declared at namespace scope in a public header, an application symbol named NotPlayingSound or PlayingSound will now collide.
vrfobjcore/targetApplicability.h lifts the weapon applicability tier out of DtWeaponInfoInterface so that lightweight consumers can use it without pulling in the weapon interface and its transitive dependencies:
vrfobjcore/sidcDecorator.h declares DtSidcLocalObjectDecorator and DtSidcDecoratorCreator. The decorator maintains a local object's SIDC symbol code, updating the identity field from the object's force and the status field from its appearance.
DtPlatformLocalObjectFacadeInterface now holds a protected DtSidcLocalObjectDecorator* mySidcDecorator and installs it in setupDecorator().
SIDC support reaches DtLocalObject through a new change flag and a next-frame accessor pair, and DtVrfObjectStateRepositoryRWData through a new sidc reader-writer:
DtLocalObject now describes the kind of save in progress and emits signals around it:
DtOwnershipTransferManager gained transfer-state queries and an acknowledgement round trip:
DtVrfObjectStateRepository gained a key/value block that is archived with the transfer. Populate it from a signal_prepareForHandoff handler triggered on the Prepare status:
Resource monitoring can now be serialized across the same boundary:
A new upgradeFromImport virtual was threaded through the PSR and component system hierarchy so that imported scenarios can rewrite stale UUID references. The base implementations are no-ops or simple recursions; override the PSR version in custom repositories that store UUIDs in string form.
Scripts can now be scheduled to tick while the entity is destroyed and to tick immediately.
| Class | New members |
|---|---|
DtScriptInterface (owner class in scriptInterface.h) | setTickWhileDestroyed(bool), virtual void setTickImmediately(bool) |
DtScriptMultiTaskControllerPSR | setScriptTickWhileDestroyed, scriptTickWhileDestroyed, setScriptTickImmediately, scriptTickImmediately, removeScriptInformationByTaskId(int) |
DtRwScriptReactiveTaskEntry | tickWhileDestroyed, setTickWhileDestroyed, tickImmediately, setTickImmediately |
DtScriptReactiveTaskController | tickWhileDestroyed() returns true; implements the two new DtScriptTaskControllerInterface pure virtuals |
DtVrfTurretedBalGunPSR gained a three-stage predicate chain that replaces the removed weapon priority and the deprecated withinTargetRegion. Each stage is a std::function registered by the component that owns the relevant behavior, and each is permissive when unset.
canEngageTarget forwards to canAcquireTarget, which forwards to canFaceTarget. The reasonOut parameter receives a short description of the first failing check, which surfaces through DtBaseWeaponComponentInterface::statusReason.
DtVrfBalGunPSR gained the weapon registration identifier used by DtWeaponInfoList:
DtVrfWeaponPSR now supports more than one munition loader per weapon PSR, selected by weapon name or by munition type.
The no-argument munitionLoader() overloads now return the loader that corresponds to currentMunitionType() rather than a single fixed loader. If a weapon has registered extra loaders, code that assumed a single loader will observe different state.
Two more members were added to the same PSR:
DtVrfMunitionLoader gained a diagnostic dump:
DtVrfIndirectFirePSR and DtFireMissionInformation gained a flag that controls whether the height above terrain is applied to the shell target location, and the fire mission gained a structure-penetration flag:
DtWarheadDetonationActuatorPSR records its initialization time so that collisions can be suppressed immediately after launch:
The per-object notification level is now stored in the state repository and can be published on request.
| Header | Added constant |
|---|---|
simComponentTypes.h | DtSearchLightControllerType |
simComponentTypes.h | DtLaserLightControllerType |
simComponentTypes.h | DtRotaryWingFlyIntoControllerType |
simComponentTypes.h | DtSignalFlagsSetControllerType |
simComponentTypes.h | DtPlaySoundControllerType |
simComponentTypes.h | DtSearchLightActuatorType |
simComponentTypes.h | DtLaserLightActuatorType |
psrTypes.h | DtSearchLightControllerProcessStateRepositoryType / ...DefaultName |
psrTypes.h | DtSearchLightActuatorProcessStateRepositoryType / ...DefaultName |
psrTypes.h | DtLaserLightControllerProcessStateRepositoryType / ...DefaultName |
psrTypes.h | DtLaserLightActuatorProcessStateRepositoryType / ...DefaultName |
psrTypes.h | DtSignalFlagControllerProcessStateRepositoryType / ...DefaultName |
psrTypes.h | DtPlaySoundProcessStateRepositoryType / ...DefaultName |
| Class | Addition |
|---|---|
DtAggregatedMoveToPSR | clearControlObject() so that worldDestination() is used by setupDestination() |
DtCreateQueueEntry | Protected modifyClampedPositions() and modifyClampedPosition(DtVector&) |
DtDebugDrawManager | databaseToGeocentric(const DtVector&), databaseToGeocentric(const DtPoint&), geocentricToDatabase(const DtVector&) for projection-independent debug geometry |
DtDynamicFeaturesManager | addFeatureForObject, removeFeatureForObject, processActivationChange |
DtEnvironmentalStateManager | weatherObjects(), windCorridorObjects(), airTurbulenceObjects(); createGlobalWeatherCallback / processCreateGlobalWeather |
DtImGuiLocalObjectList | processObjectConvertedToRemote(const DtObjectTransferredInformation&), processObjectConvertedToLocal(const DtLocalObject*) and their static callbacks |
DtLegacyRWData | parentRegistry() accessor on the registry holder |
DtResourceCheckInfo | monitorPeriod() |
DtRotaryWingFlightPSR | setEnableTerrainAvoidance(bool), enableTerrainAvoidance() |
DtScenarioService | setSimEngineSnapshotFragmentDirectory, simEngineSnapshotFragmentDirectory, setTerrainFilename, terrainFilename |
DtSimObjectReferenceList | slot_uuidUpgradedTo(const DtUUID& oldUUID, const DtUUID& newUUID), eraseMapEntriesForListIterator(iterator) |
DtVrfAggregateStateRepository | pruneEngagementHistory(int clampSize), TheDefaultEnagementHistoryClampSize, updateCachedStateProperties() override |
DtVrfEmbarkationPSR | setClampToTerrain(bool), clampToTerrain() |
DtVrfNavAreaManager | findNavAreaNameForLocation(const DtVector&, const DtString&, bool loadNavAreas = true, const DtSimObject* parentObject = nullptr) |
| Removed header | Replacement |
|---|---|
vrfobjcore/tdlContactMessageGeneratorControllerPSR.h | None. The internal Tactical Data Link subsystem was removed. |
vrfobjcore/tdlMessageGeneratorControllerPSR.h | None. The internal Tactical Data Link subsystem was removed. |
vrfobjcore/tdlPPLIMessageGeneratorControllerPSR.h | None. The internal Tactical Data Link subsystem was removed. |
vrfobjcore/vrfWorldMagneticModel.h | The shared makVrv::DtWorldMagneticModel, reachable through DtPhysicalWorld::worldMagneticModel(). |
The TDL Message Sim example was removed along with the subsystem, and the \link tdlmessagesim references were removed from the documentation of DtSimObjectManager, DtSetDataManager, DtEnvironmentalStateManager, DtVrfProcessStateRepositoryManager, and DtPhysicalWorld.
| Header | Breaking | Additions |
|---|---|---|
activeBotNavInterface.h | None | findBestExitPoint promoted to public |
aggregatedMoveToPSR.h | None | clearControlObject |
baseWeaponComponentInterface.h | setPriority, priority, setTreatSelectedAsTasked, treatSelectedAsTasked removed | DT_CANNOT_ARTICULATE_TO_TARGET, statusReason, setStatusReason |
componentSystem.h | None | isDamaged, refreshDamageState, hitZoneId, upgradeFromImport |
controllerComponent.h | disable() now overridden in the base controller | None |
createQueueEntry.h | None | modifyClampedPositions, modifyClampedPosition |
cruiseMissileLaunchControllerPSR.h | None | setTargetHitZoneOffset, targetHitZoneOffset |
debugDrawManager.h | None | Geocentric/database conversion helpers |
detonationManager.h | detonationPower now override | None |
dynamicFeaturesManager.h | None | addFeatureForObject, removeFeatureForObject, processActivationChange |
dynamicObstacleNavInterface.h | None | onNavAreaSetChanged override |
environmentalStateManager.h | None | Object list accessors, global weather message handler |
fireMissionInformation.h | None | applyHeightAboveTerrain, allowTargetInsideStructure, hitZoneFunction |
fixedWingFlightPSR.h | None | setControlPointWithAimingOffset |
launchExpendableResourcePSR.h | All auto-launch accessors removed | None |
legacyRWData.h | articulatedParts removed; physical world start-time accessors renamed and one pair removed | parentRegistry, sidc, sensorsKilled |
localEntitySetControllerPSR.h | pendingKeepGroundClamped replaced by pendingClampFlag | ClampFlag enum, pendingAltitudeAboveTerrain |
localObject.h | addStateProperty renamed; scenarioRunId return type changed | SidcCode change flag, internalStateProperties, nextFrameAppearanceFacade, clampedToGround, SIDC accessors, SaveType and save signals, canObjectBeCreated, notify-level message handling |
localObjectManager.h | Creation clamp parameters replaced; converted-to-remote callback signature changed; setSimulationDateTimeBasedOnLocation parameter type | DtObjectTransferredInformation, DtVrfObjectTransferredToRemoteCallbackList |
luaScriptInterfaceExtension.h | cleanup is now a pure virtual taking lua_State* | clearBackingPointer |
missileFlightPSR.h | None | setTargetHitZone, targetHitZone |
navEdgeNavInterface.h | myNavEdgeIndex replaced by a per-area map | onNavAreaSetChanged override |
objectConsole.h | None | publishNotifyLevel |
objectConsoleManager.h | None | publishNotifyLevel |
ownershipTransferManager.h | None | awaitingTransferOf, convertingToRemote, acknowledgement handling |
physicalWorld.h | myWMM type changed; vrfWorldMagneticModel.h no longer included | worldMagneticModel, initializeWorldMagneticModel |
platformLocalObjectFacade.h | None | mySidcDecorator |
psrTypes.h | Six TDL constants removed | Twelve search light, laser light, signal flag, and play sound constants |
resourceCheckInfo.h | None | monitorPeriod |
resourceMonitor.h | None | toString, restoreMonitorInformation |
resourceMonitorInfo.h | None | toString, fromString |
rotaryWingFlightPSR.h | None | setEnableTerrainAvoidance, enableTerrainAvoidance |
rwPositionReference.h | None | setObjectAndVector |
rwScriptReactiveTaskEntry.h | None | Tick-while-destroyed and tick-immediately accessors |
saveOrderOfBattleHandler.h | Save methods and writeOrderOfBattle take a save type | None |
scenarioExtrasMgr.h | myScenarioExtras is now a pointer | DtRWScenarioExtrasCreatorFcn, createScenarioExtras |
scenarioService.h | None | Snapshot fragment directory and terrain filename accessors |
scriptInterface.h | processEvents added as a pure virtual | taskFailedDuringInit, hasEventsPending, setTickWhileDestroyed, setTickImmediately |
scriptMultiTaskControllerPSR.h | None | Tick-while-destroyed and tick-immediately accessors, removeScriptInformationByTaskId, upgradeFromImport |
scriptReactiveTaskController.h | None | Implements the new script controller pure virtuals |
scriptTaskControllerInterface.h | Two pure virtuals added | None |
sensorGimbalControllerPSR.h | Re-parented to DtAimableSystemControllerPSR; aiming enum types changed | None |
simComponent.h | None | toString(const DtEntityType&) |
simComponentManager.h | None | upgradeFromImport, refreshDamagedSystems |
simComponentTypes.h | Three TDL constants removed | Seven new component type constants |
simObjectReferenceList.h | simObjectRemoved is now virtual | slot_uuidUpgradedTo, eraseMapEntriesForListIterator |
simObjectStateRepository.h | None | initializeLegacyRwDataForReading, initializeLegacyRwDataForWriting |
simTaskManager.h | addTaskProcessor gained a hidden flag; DtTaskProcessorMap mapped type changed | DtTaskProcessorInfo |
singleTaskControllerComponent.h | disable override removed | taskHandlingOnDisable override |
surfaceMovementPSR.h | None | setTargetHitZoneOffset, targetHitZoneOffset |
tagVolumeNavInterface.h | calcTagVolumePoints signature changed | onNavAreaSetChanged override |
taskControllerComponent.h | addTaskProcessorCallback overloads gained a hidden flag | taskHandlingOnDisable |
updateRepositoryOutputPortGroup.h | setLocation gained a parameter | None |
vrfAggregateStateRepository.h | None | pruneEngagementHistory, TheDefaultEnagementHistoryClampSize |
vrfBalGunPSR.h | None | weaponId, setWeaponId |
vrfEmbarkationPSR.h | None | setClampToTerrain, clampToTerrain |
vrfIndirectFirePSR.h | None | applyHeightAboveTerrain accessors |
vrfMovingObjectStateRepository.h | preGetSelf / prePutSelf overrides replaced by legacy reader-writer hooks | diGuyCharacterState out-parameter overload |
vrfMsdlScenarioDescriptionImporterExporter.h | countryCode return type changed | None |
vrfMunitionLoader.h | None | log |
vrfNavAreaManager.h | None | findNavAreaNameForLocation |
vrfObjectLocalObjectFacade.h | save requires a DtLocalObject::SaveType | None |
vrfObjectNavInterface.h | None | onNavAreaSetChanged |
vrfObjectStateRepository.h | systemEnabled / setSystemEnabled removed; suppressionLevels gained a value | Transfer data accessors, setNotifyLevel, notifyLevel |
vrfProcessStateRepository.h | None | upgradeFromImport |
vrfProcessStateRepositoryManager.h | None | upgradeFromImport |
vrfTurretedBalGunPSR.h | None | canEngageTarget / canAcquireTarget / canFaceTarget predicate chain |
vrfWeaponPSR.h | No-argument munitionLoader() now resolves by current munition type | Named and munition-keyed loaders, weaponAimedElevation, statusReason |
warheadDetonationActuatorPSR.h | None | creationTime, setCreationTime |
weaponInfoInterface.h | createFireTask signature changed; targetAmmunition and priority removed; withinTargetRegion deprecated; TargetApplicability moved to namespace scope | Munition-hint createFireTask overload |
Return to VR-Forces 5.3 API Migration Guide.
[Home]