mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
refs #825, utility functions
* allow to prefer color liveries (idea: when no airline is found, a neutral livery looks better) * pick randomly among equal scores
This commit is contained in:
@@ -356,7 +356,7 @@ namespace BlackMisc
|
||||
bool matchesModelString(const QString &modelString, Qt::CaseSensitivity sensitivity) const;
|
||||
|
||||
//! Calculate score
|
||||
int calculateScore(const CAircraftModel &compareModel) const;
|
||||
int calculateScore(const CAircraftModel &compareModel, bool preferColorLiveries) const;
|
||||
|
||||
//! Validate
|
||||
BlackMisc::CStatusMessageList validate(bool withNestedObjects) const;
|
||||
|
||||
Reference in New Issue
Block a user