console_cmds.c
changeset 3857 94fe68306d8b
parent 3852 2d4f76d380df
child 4025 5a43f8978255
equal deleted inserted replaced
3856:00418a7438be 3857:94fe68306d8b
  1146 		char buffer[512];
  1146 		char buffer[512];
  1147 
  1147 
  1148 		if (!p->is_active) continue;
  1148 		if (!p->is_active) continue;
  1149 
  1149 
  1150 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index]);
  1150 		GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index]);
  1151 		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %" OTTD_PRINTF64 "d", p->index + 1, buffer, _network_player_info[p->index].company_name, p->inaugurated_year + MAX_YEAR_BEGIN_REAL, p->player_money, p->current_loan, CalculateCompanyValue(p));
  1151 		IConsolePrintF(8, "#:%d(%s) Company Name: '%s'  Year Founded: %d  Money: %d  Loan: %d  Value: %" OTTD_PRINTF64 "d  (T:%d, R:%d, P:%d, S:%d)",
       
  1152 			p->index + 1, buffer, _network_player_info[p->index].company_name, p->inaugurated_year + MAX_YEAR_BEGIN_REAL, p->player_money, p->current_loan, CalculateCompanyValue(p),
       
  1153 			/* trains      */ _network_player_info[p->index].num_vehicle[0],
       
  1154 			/* lorry + bus */ _network_player_info[p->index].num_vehicle[1] + _network_player_info[p->index].num_vehicle[2],
       
  1155 			/* planes      */ _network_player_info[p->index].num_vehicle[3],
       
  1156 			/* ships       */ _network_player_info[p->index].num_vehicle[4]);
  1152 	}
  1157 	}
  1153 
  1158 
  1154 	return true;
  1159 	return true;
  1155 }
  1160 }
  1156 
  1161