/* Gets the teams by assembling the team struct */ void get_teams(team_s *team, match_s *match, int number_of_matches) { get_team_names(team, match); get_team_goals(team, match, number_of_matches); get_team_spectators(team, match, number_of_matches); get_team_wins(team, match, number_of_matches); get_team_score(team); }
int get_player_score(player_t p) { return get_team_score(get_player_team(p)); }