1
#ifndef FIXTURE_STRUCT_H
2
#define FIXTURE_STRUCT_H
5
#include "team_struct.h"
7
/** Structure representing a fixture, or, in other words,
11
/** The cup or league the fixture belongs to. */
13
/** The unique id of the fixture. */
15
/** The round (in a cup) the fixture belongs to. */
17
/** The replay number (ie. how often the match was repeated because of a draw). */
19
/** When it takes place. */
20
gint week_number, week_round_number;
21
/** The teams involved. */
23
/** Ids of the teams. Needed when the team
24
pointers get invalid (e.g. after promotion/relegation). */
26
/** The number of goals for each team in
27
regulation, extra time and penalty shoot-out. */
29
/** Whether there's home advantage, this is second leg,
30
or the game has to be decided. */
31
gboolean home_advantage, second_leg, decisive;
32
/** How many people attended and whether there were