equal
deleted
inserted
replaced
692 // draw info about selected company |
692 // draw info about selected company |
693 DrawStringMultiCenter(290, 48, STR_NETWORK_COMPANY_INFO, 0); |
693 DrawStringMultiCenter(290, 48, STR_NETWORK_COMPANY_INFO, 0); |
694 if (_selected_company_item != -1) { // if a company is selected... |
694 if (_selected_company_item != -1) { // if a company is selected... |
695 // show company info |
695 // show company info |
696 const uint x = 183; |
696 const uint x = 183; |
697 uint xm; |
|
698 y = 65; |
697 y = 65; |
699 |
698 |
700 SetDParamStr(0, _network_player_info[_selected_company_item].company_name); |
699 SetDParamStr(0, _network_player_info[_selected_company_item].company_name); |
701 DrawString(x, y, STR_NETWORK_COMPANY_NAME, 2); |
700 DrawString(x, y, STR_NETWORK_COMPANY_NAME, 2); |
702 y += 10; |
701 y += 10; |
736 SetDParam(4, _network_player_info[_selected_company_item].num_station[4]); |
735 SetDParam(4, _network_player_info[_selected_company_item].num_station[4]); |
737 DrawString(x, y, STR_NETWORK_STATIONS, 2); // stations |
736 DrawString(x, y, STR_NETWORK_STATIONS, 2); // stations |
738 y += 10; |
737 y += 10; |
739 |
738 |
740 SetDParamStr(0, _network_player_info[_selected_company_item].players); |
739 SetDParamStr(0, _network_player_info[_selected_company_item].players); |
741 xm = DrawString(x, y, STR_NETWORK_PLAYERS, 2); // players |
740 DrawString(x, y, STR_NETWORK_PLAYERS, 2); // players |
742 y += 10; |
741 y += 10; |
743 } |
742 } |
744 } break; |
743 } break; |
745 |
744 |
746 case WE_CLICK: |
745 case WE_CLICK: |