예제 #1
0
/* 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);
}
예제 #2
0
파일: score.c 프로젝트: ralight/ggz
int get_player_score(player_t p)
{
	return get_team_score(get_player_team(p));
}