Feature: Group liveries, and livery window usability enhancements. (#7108)
* Change: Replace checkbox in livery selection window with Default option in drop down selection. This reduces clutter in the UI and allows for primary/secondary colours to independently follow the default scheme if desired. * Feature: Add vehicle group liveries.
This commit is contained in:
@@ -69,12 +69,16 @@ enum LiveryClass {
|
||||
LC_ROAD,
|
||||
LC_SHIP,
|
||||
LC_AIRCRAFT,
|
||||
LC_GROUP_RAIL,
|
||||
LC_GROUP_ROAD,
|
||||
LC_GROUP_SHIP,
|
||||
LC_GROUP_AIRCRAFT,
|
||||
LC_END
|
||||
};
|
||||
|
||||
/** Information about a particular livery. */
|
||||
struct Livery {
|
||||
bool in_use; ///< Set if this livery should be used instead of the default livery.
|
||||
byte in_use; ///< Bit 0 set if this livery should override the default livery first colour, Bit 1 for the second colour.
|
||||
byte colour1; ///< First colour, for all vehicles.
|
||||
byte colour2; ///< Second colour, for vehicles with 2CC support.
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user