mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
XPMPCreatePlaneWithModelName adds plane with a defined model name
It bypasses the internal model matching of libxplanemp and lets external applications do the model matching themselves.
This commit is contained in:
committed by
Mathew Sutcliffe
parent
3de2779f80
commit
fdf149610c
@@ -379,6 +379,14 @@ void XPMPGetModelInfo(int inIndex, const char **outModelName, const char **outIc
|
||||
XPMPPlaneData_f inDataFunc,
|
||||
void * inRefcon);
|
||||
|
||||
XPMPPlaneID XPMPCreatePlaneWithModelName(
|
||||
const char * inModelName,
|
||||
const char * inICAOCode,
|
||||
const char * inAirline,
|
||||
const char * inLivery,
|
||||
XPMPPlaneData_f inDataFunc,
|
||||
void * inRefcon);
|
||||
|
||||
/*
|
||||
* XPMPDestroyPlane
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user