mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 19:25:49 +08:00
Ref T715, use "night texture mode" in traffic class
This commit is contained in:
committed by
Mat Sutcliffe
parent
2fc01bc568
commit
9cb9556d87
@@ -317,7 +317,8 @@ namespace XSwiftBus
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
id = XPMPCreatePlaneWithModelName(modelName.c_str(), aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), getPlaneData, planeLoaded, static_cast<void *>(this));
|
const std::string nt = this->getSettings().getNightTextureMode();
|
||||||
|
id = XPMPCreatePlaneWithModelName(modelName.c_str(), aircraftIcao.c_str(), airlineIcao.c_str(), livery.c_str(), nt.c_str(), getPlaneData, planeLoaded, static_cast<void *>(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!id)
|
if (!id)
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ namespace XSwiftBus
|
|||||||
std::string airlineIcao;
|
std::string airlineIcao;
|
||||||
std::string livery;
|
std::string livery;
|
||||||
std::string modelName;
|
std::string modelName;
|
||||||
|
std::string nightTextureMode;
|
||||||
bool hasSurfaces = false;
|
bool hasSurfaces = false;
|
||||||
bool hasXpdr = false;
|
bool hasXpdr = false;
|
||||||
char label[32] {};
|
char label[32] {};
|
||||||
|
|||||||
Reference in New Issue
Block a user