195 break; |
195 break; |
196 } |
196 } |
197 } |
197 } |
198 |
198 |
199 static const WindowDesc _player_finances_desc = { |
199 static const WindowDesc _player_finances_desc = { |
200 WDP_AUTO, WDP_AUTO, 407, 216, |
200 WDP_AUTO, WDP_AUTO, 407, 216, 407, 216, |
201 WC_FINANCES, WC_NONE, |
201 WC_FINANCES, WC_NONE, |
202 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
202 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
203 _player_finances_widgets, |
203 _player_finances_widgets, |
204 PlayerFinancesWndProc |
204 PlayerFinancesWndProc |
205 }; |
205 }; |
206 |
206 |
207 static const WindowDesc _player_finances_small_desc = { |
207 static const WindowDesc _player_finances_small_desc = { |
208 WDP_AUTO, WDP_AUTO, 280, 60, |
208 WDP_AUTO, WDP_AUTO, 280, 60, 280, 60, |
209 WC_FINANCES, WC_NONE, |
209 WC_FINANCES, WC_NONE, |
210 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
210 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
211 _player_finances_small_widgets, |
211 _player_finances_small_widgets, |
212 PlayerFinancesWndProc |
212 PlayerFinancesWndProc |
213 }; |
213 }; |
214 |
214 |
215 static const WindowDesc _other_player_finances_desc = { |
215 static const WindowDesc _other_player_finances_desc = { |
216 WDP_AUTO, WDP_AUTO, 407, 204, |
216 WDP_AUTO, WDP_AUTO, 407, 204, 407, 204, |
217 WC_FINANCES, WC_NONE, |
217 WC_FINANCES, WC_NONE, |
218 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
218 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
219 _other_player_finances_widgets, |
219 _other_player_finances_widgets, |
220 PlayerFinancesWndProc |
220 PlayerFinancesWndProc |
221 }; |
221 }; |
222 |
222 |
223 static const WindowDesc _other_player_finances_small_desc = { |
223 static const WindowDesc _other_player_finances_small_desc = { |
224 WDP_AUTO, WDP_AUTO, 280, 48, |
224 WDP_AUTO, WDP_AUTO, 280, 48, 280, 48, |
225 WC_FINANCES, WC_NONE, |
225 WC_FINANCES, WC_NONE, |
226 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
226 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, |
227 _other_player_finances_small_widgets, |
227 _other_player_finances_small_widgets, |
228 PlayerFinancesWndProc |
228 PlayerFinancesWndProc |
229 }; |
229 }; |
478 { WWT_MATRIX, RESIZE_NONE, 14, 0, 399, 48, 48 + 1 * 14, (1 << 8) | 1, STR_LIVERY_PANEL_TIP }, |
478 { WWT_MATRIX, RESIZE_NONE, 14, 0, 399, 48, 48 + 1 * 14, (1 << 8) | 1, STR_LIVERY_PANEL_TIP }, |
479 { WIDGETS_END }, |
479 { WIDGETS_END }, |
480 }; |
480 }; |
481 |
481 |
482 static const WindowDesc _select_player_livery_2cc_desc = { |
482 static const WindowDesc _select_player_livery_2cc_desc = { |
483 WDP_AUTO, WDP_AUTO, 400, 49 + 1 * 14, |
483 WDP_AUTO, WDP_AUTO, 400, 49 + 1 * 14, 400, 49 + 1 * 14, |
484 WC_PLAYER_COLOR, WC_NONE, |
484 WC_PLAYER_COLOR, WC_NONE, |
485 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
485 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
486 _select_player_livery_2cc_widgets, |
486 _select_player_livery_2cc_widgets, |
487 SelectPlayerLiveryWndProc |
487 SelectPlayerLiveryWndProc |
488 }; |
488 }; |
505 { WWT_MATRIX, RESIZE_NONE, 14, 0, 274, 48, 48 + 1 * 14, (1 << 8) | 1, STR_LIVERY_PANEL_TIP }, |
505 { WWT_MATRIX, RESIZE_NONE, 14, 0, 274, 48, 48 + 1 * 14, (1 << 8) | 1, STR_LIVERY_PANEL_TIP }, |
506 { WIDGETS_END }, |
506 { WIDGETS_END }, |
507 }; |
507 }; |
508 |
508 |
509 static const WindowDesc _select_player_livery_desc = { |
509 static const WindowDesc _select_player_livery_desc = { |
510 WDP_AUTO, WDP_AUTO, 275, 49 + 1 * 14, |
510 WDP_AUTO, WDP_AUTO, 275, 49 + 1 * 14, 275, 49 + 1 * 14, |
511 WC_PLAYER_COLOR, WC_NONE, |
511 WC_PLAYER_COLOR, WC_NONE, |
512 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
512 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
513 _select_player_livery_widgets, |
513 _select_player_livery_widgets, |
514 SelectPlayerLiveryWndProc |
514 SelectPlayerLiveryWndProc |
515 }; |
515 }; |
597 { WWT_PUSHTXTBTN, RESIZE_NONE, 14, 95, 187, 79, 90, STR_7046_NEW_FACE, STR_704B_GENERATE_RANDOM_NEW_FACE}, |
597 { WWT_PUSHTXTBTN, RESIZE_NONE, 14, 95, 187, 79, 90, STR_7046_NEW_FACE, STR_704B_GENERATE_RANDOM_NEW_FACE}, |
598 { WIDGETS_END}, |
598 { WIDGETS_END}, |
599 }; |
599 }; |
600 |
600 |
601 static const WindowDesc _select_player_face_desc = { |
601 static const WindowDesc _select_player_face_desc = { |
602 WDP_AUTO, WDP_AUTO, 190, 149, |
602 WDP_AUTO, WDP_AUTO, 190, 149, 190, 149, |
603 WC_PLAYER_FACE, WC_NONE, |
603 WC_PLAYER_FACE, WC_NONE, |
604 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, |
604 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, |
605 _select_player_face_widgets, |
605 _select_player_face_widgets, |
606 SelectPlayerFaceWndProc |
606 SelectPlayerFaceWndProc |
607 }; |
607 }; |
970 { WWT_TEXTBTN, RESIZE_NONE, 5, 218, 277, 117, 128, STR_00C8_YES, STR_NULL}, |
970 { WWT_TEXTBTN, RESIZE_NONE, 5, 218, 277, 117, 128, STR_00C8_YES, STR_NULL}, |
971 { WIDGETS_END}, |
971 { WIDGETS_END}, |
972 }; |
972 }; |
973 |
973 |
974 static const WindowDesc _buy_company_desc = { |
974 static const WindowDesc _buy_company_desc = { |
975 153, 171, 334, 137, |
975 153, 171, 334, 137, 334, 137, |
976 WC_BUY_COMPANY, WC_NONE, |
976 WC_BUY_COMPANY, WC_NONE, |
977 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
977 WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET, |
978 _buy_company_widgets, |
978 _buy_company_widgets, |
979 BuyCompanyWndProc |
979 BuyCompanyWndProc |
980 }; |
980 }; |
1090 { WWT_PANEL, RESIZE_NONE, 16, 0, 640, 0, 480, 0x0, STR_NULL}, |
1090 { WWT_PANEL, RESIZE_NONE, 16, 0, 640, 0, 480, 0x0, STR_NULL}, |
1091 { WIDGETS_END}, |
1091 { WIDGETS_END}, |
1092 }; |
1092 }; |
1093 |
1093 |
1094 static const WindowDesc _highscore_desc = { |
1094 static const WindowDesc _highscore_desc = { |
1095 0, 0, 641, 481, |
1095 0, 0, 641, 481, 641, 481, |
1096 WC_HIGHSCORE, WC_NONE, |
1096 WC_HIGHSCORE, WC_NONE, |
1097 0, |
1097 0, |
1098 _highscore_widgets, |
1098 _highscore_widgets, |
1099 HighScoreWndProc |
1099 HighScoreWndProc |
1100 }; |
1100 }; |
1101 |
1101 |
1102 static const WindowDesc _endgame_desc = { |
1102 static const WindowDesc _endgame_desc = { |
1103 0, 0, 641, 481, |
1103 0, 0, 641, 481, 641, 481, |
1104 WC_ENDSCREEN, WC_NONE, |
1104 WC_ENDSCREEN, WC_NONE, |
1105 0, |
1105 0, |
1106 _highscore_widgets, |
1106 _highscore_widgets, |
1107 EndGameWndProc |
1107 EndGameWndProc |
1108 }; |
1108 }; |