Thank you for this work. I am afraid that I am having some trouble compiling this on Linux, however: I get the following error when compiling the latest code from the enable-livery-scheme-in-disabled-timeline-game branch:
gui/components/gui_convoy_assembler.cc: In member function ‘void gui_convoy_assembler_t::build_vehicle_lists()’:
gui/components/gui_convoy_assembler.cc:1078:62: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
(info->is_retired(month_now) && ((show_retired_vehicles && info->is_obsolete(month_now, welt) ||
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui/components/gui_convoy_assembler.cc:1182:19: error: ‘class livery_scheme_t’ has no member named ‘is_contained’
if (scheme->is_contained(info)) {
^~~~~~~~~~~~
gui/components/gui_convoy_assembler.cc: In member function ‘void gui_convoy_assembler_t::add_to_vehicle_list(const vehicle_desc_t*)’:
gui/components/gui_convoy_assembler.cc:1317:33: warning: comparison is always true due to limited range of data type [-Wtype-limits]
&& (info->get_engine_type() != vehicle_desc_t::unknown && info->get_engine_type() != 255))
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
gui/components/gui_convoy_assembler.cc: In member function ‘void gui_convoy_assembler_t::update_data()’:
gui/components/gui_convoy_assembler.cc:1679:132: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]