mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 18:25:37 +08:00
Make installed model info available from libxplanemp
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6944ace30e
commit
3de2779f80
@@ -346,6 +346,25 @@ const char * XPMPLoadCSLPackage(
|
||||
*/
|
||||
void XPMPLoadPlanesIfNecessary(void);
|
||||
|
||||
/*
|
||||
* XPMPGetNumberOfInstalledModels
|
||||
*
|
||||
* This routine returns the number of found models.
|
||||
*
|
||||
*/
|
||||
int XPMPGetNumberOfInstalledModels(void);
|
||||
|
||||
/*
|
||||
* XPMPGetModelInfo
|
||||
*
|
||||
* Call this routine with an index to get all available info for this model. Valid
|
||||
* index is between 0 and XPMPGetNumberOfInstalledModels(). If you pass an index
|
||||
* out of this range, the out parameters are unchanged.
|
||||
* Make sure the size of all char arrays is big enough.
|
||||
*
|
||||
*/
|
||||
void XPMPGetModelInfo(int inIndex, const char **outModelName, const char **outIcao, const char **outAirline, const char **outLivery);
|
||||
|
||||
/*
|
||||
* XPMPCreatePlane
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user