# HG changeset patch # User glx # Date 1147797040 0 # Node ID 94fe68306d8b975fbd47f03890472194e4380401 # Parent 00418a7438be17339fbfa4d73e327535a19c98ed (svn r4889) - Codechange: added vehicle count in 'players' console command diff -r 00418a7438be -r 94fe68306d8b console_cmds.c --- a/console_cmds.c Tue May 16 15:37:00 2006 +0000 +++ b/console_cmds.c Tue May 16 16:30:40 2006 +0000 @@ -1148,7 +1148,12 @@ if (!p->is_active) continue; GetString(buffer, STR_00D1_DARK_BLUE + _player_colors[p->index]); - 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)); + 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)", + 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), + /* trains */ _network_player_info[p->index].num_vehicle[0], + /* lorry + bus */ _network_player_info[p->index].num_vehicle[1] + _network_player_info[p->index].num_vehicle[2], + /* planes */ _network_player_info[p->index].num_vehicle[3], + /* ships */ _network_player_info[p->index].num_vehicle[4]); } return true;