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:
Roland Winklmeier
2015-06-18 23:13:49 +02:00
committed by Mathew Sutcliffe
parent 3de2779f80
commit fdf149610c
3 changed files with 55 additions and 3 deletions

View File

@@ -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
*