src/settings_gui.cpp
changeset 8505 c175d34fe020
parent 8424 c3477565c975
child 8512 33f0f6cac1a8
equal deleted inserted replaced
8504:f4ea0ba39c03 8505:c175d34fe020
    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]))