equal
deleted
inserted
replaced
22 #include "window_func.h" |
22 #include "window_func.h" |
23 #include "vehicle_base.h" |
23 #include "vehicle_base.h" |
24 #include "core/alloc_func.hpp" |
24 #include "core/alloc_func.hpp" |
25 #include "string_func.h" |
25 #include "string_func.h" |
26 #include "gfx_func.h" |
26 #include "gfx_func.h" |
|
27 #include "waypoint.h" |
27 #include "widgets/dropdown_type.h" |
28 #include "widgets/dropdown_type.h" |
28 #include "widgets/dropdown_func.h" |
29 #include "widgets/dropdown_func.h" |
29 |
30 |
30 #include "table/sprites.h" |
31 #include "table/sprites.h" |
31 #include "table/strings.h" |
32 #include "table/strings.h" |
299 |
300 |
300 case GAMEOPT_LANG_BTN: /* Change interface language */ |
301 case GAMEOPT_LANG_BTN: /* Change interface language */ |
301 ReadLanguagePack(e->we.dropdown.index); |
302 ReadLanguagePack(e->we.dropdown.index); |
302 CheckForMissingGlyphsInLoadedLanguagePack(); |
303 CheckForMissingGlyphsInLoadedLanguagePack(); |
303 UpdateAllStationVirtCoord(); |
304 UpdateAllStationVirtCoord(); |
|
305 UpdateAllWaypointSigns(); |
304 MarkWholeScreenDirty(); |
306 MarkWholeScreenDirty(); |
305 break; |
307 break; |
306 |
308 |
307 case GAMEOPT_RESOLUTION_BTN: /* Change resolution */ |
309 case GAMEOPT_RESOLUTION_BTN: /* Change resolution */ |
308 if (e->we.dropdown.index < _num_resolutions && ChangeResInGame(_resolutions[e->we.dropdown.index][0],_resolutions[e->we.dropdown.index][1])) |
310 if (e->we.dropdown.index < _num_resolutions && ChangeResInGame(_resolutions[e->we.dropdown.index][0],_resolutions[e->we.dropdown.index][1])) |