mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Ref T658, model list utility functions (to be exposed as Js object)
This commit is contained in:
committed by
Mat Sutcliffe
parent
ef2398f6a9
commit
6eb6cea9ad
@@ -210,9 +210,14 @@ namespace BlackMisc
|
||||
//! \remark kind of pseudo family, as in most cases the same combined type of a manufacturer means similar aircraft
|
||||
CAircraftModelList findByCombinedAndManufacturer(const QString &combinedType, const QString &manufacturer) const;
|
||||
|
||||
//! Find models with color liveries
|
||||
//! Find color liveries
|
||||
CAircraftModelList findColorLiveries() const;
|
||||
|
||||
//! Find models with the closest color distance @{
|
||||
CAircraftModelList findClosestColorDistance(const CRgbColor &fuselage, const CRgbColor &tail) const;
|
||||
CAircraftModelList findClosestFuselageColorDistance(const CRgbColor &color) const;
|
||||
//! @}
|
||||
|
||||
//! Find by military flag, \c false returns civilian models
|
||||
CAircraftModelList findByMilitaryFlag(bool military) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user