|
|
|
@ -241,10 +241,10 @@ void GenerateLandscapeWndProc(Window *w, WindowEvent *e)
|
|
|
|
|
SetWindowWidgetDisabledState(w, 21, _patches_newgame.snow_line_height <= 2 || _opt_newgame.landscape != LT_HILLY);
|
|
|
|
|
SetWindowWidgetDisabledState(w, 23, _patches_newgame.snow_line_height >= 13 || _opt_newgame.landscape != LT_HILLY);
|
|
|
|
|
|
|
|
|
|
SetWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
|
|
|
|
|
SetWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
|
|
|
|
|
SetWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
|
|
|
|
|
SetWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
|
|
|
|
|
SetvWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
|
|
|
|
|
DrawWindowWidgets(w);
|
|
|
|
|
|
|
|
|
|
y = (mode == GLWP_HEIGHTMAP) ? 22 : 0;
|
|
|
|
@ -594,10 +594,10 @@ void CreateScenarioWndProc(Window *w, WindowEvent *e)
|
|
|
|
|
SetWindowWidgetDisabledState(w, 17, _patches_newgame.se_flat_world_height <= 0);
|
|
|
|
|
SetWindowWidgetDisabledState(w, 19, _patches_newgame.se_flat_world_height >= 15);
|
|
|
|
|
|
|
|
|
|
SetWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
|
|
|
|
|
SetWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
|
|
|
|
|
SetWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
|
|
|
|
|
SetWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 3, _opt_newgame.landscape == LT_NORMAL);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 4, _opt_newgame.landscape == LT_HILLY);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 5, _opt_newgame.landscape == LT_DESERT);
|
|
|
|
|
SetWindowWidgetLoweredState(w, 6, _opt_newgame.landscape == LT_CANDY);
|
|
|
|
|
DrawWindowWidgets(w);
|
|
|
|
|
|
|
|
|
|
DrawString( 12, 96, STR_MAPSIZE, 0);
|
|
|
|
|