network_gui.c
changeset 2753 15012faaa68a
parent 2725 5c632bc5be28
child 2775 d3ed38a97250
equal deleted inserted replaced
2752:b5fe5a7e6282 2753:15012faaa68a
   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: