equal
deleted
inserted
replaced
56 SetWindowWidgetLoweredState(w, 8, _opt_newgame.landscape == LT_NORMAL); |
56 SetWindowWidgetLoweredState(w, 8, _opt_newgame.landscape == LT_NORMAL); |
57 SetWindowWidgetLoweredState(w, 9, _opt_newgame.landscape == LT_HILLY); |
57 SetWindowWidgetLoweredState(w, 9, _opt_newgame.landscape == LT_HILLY); |
58 SetWindowWidgetLoweredState(w, 10, _opt_newgame.landscape == LT_DESERT); |
58 SetWindowWidgetLoweredState(w, 10, _opt_newgame.landscape == LT_DESERT); |
59 SetWindowWidgetLoweredState(w, 11, _opt_newgame.landscape == LT_CANDY); |
59 SetWindowWidgetLoweredState(w, 11, _opt_newgame.landscape == LT_CANDY); |
60 SetDParam(0, STR_6801_EASY + _opt_newgame.diff_level); |
60 SetDParam(0, STR_6801_EASY + _opt_newgame.diff_level); |
61 DrawWindowWidgets(w); |
61 w->DrawWidgets(); |
62 break; |
62 break; |
63 |
63 |
64 case WE_CLICK: |
64 case WE_CLICK: |
65 switch (e->we.click.widget) { |
65 switch (e->we.click.widget) { |
66 case 2: ShowGenerateLandscape(); break; |
66 case 2: ShowGenerateLandscape(); break; |