コード例 #1
0
ファイル: main.c プロジェクト: palmelund/IMPR-Fall-2014
/* 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));
}