mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
feat(xswiftbus): Update xpmp2 with more TCAS datarefs
This commit is contained in:
@@ -819,7 +819,9 @@ namespace XSwiftBus
|
|||||||
Plane *plane = pair.second;
|
Plane *plane = pair.second;
|
||||||
interpolatePosition(plane);
|
interpolatePosition(plane);
|
||||||
interpolateGear(plane);
|
interpolateGear(plane);
|
||||||
m_updates.push_back({ plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance });
|
XPMPUpdate_t update = { plane->id, &plane->positions[3], &plane->surfaces, &plane->surveillance,
|
||||||
|
plane->isOnGround };
|
||||||
|
m_updates.push_back(update);
|
||||||
}
|
}
|
||||||
XPMPUpdatePlanes(m_updates.data(), sizeof(XPMPUpdate_t), m_updates.size());
|
XPMPUpdatePlanes(m_updates.data(), sizeof(XPMPUpdate_t), m_updates.size());
|
||||||
|
|
||||||
|
|||||||
Submodule src/xswiftbus/xplanemp2 updated: 8b07d1daf8...0f81fd117a
Reference in New Issue
Block a user