1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-06-05 21:49:20 +02:00

Live game development.

This commit is contained in:
gyboth
2005-03-08 08:25:46 +00:00
parent e5d846bac9
commit d345416177
36 changed files with 1098 additions and 1144 deletions

View File

@ -45,8 +45,7 @@ enum LiveGameEventType
LIVE_GAME_EVENT_SUBSTITUTION,
LIVE_GAME_EVENT_STRUCTURE_CHANGE,
LIVE_GAME_EVENT_STYLE_CHANGE,
/* LIVE_GAME_EVENT_, */
/* LIVE_GAME_EVENT_, */
LIVE_GAME_EVENT_BOOST_CHANGE,
LIVE_GAME_EVENT_END
};
@ -150,6 +149,16 @@ typedef struct
} LiveGameUnit;
/** A structure storing team settings during a live game
pause (so that we know what users have changed in pauses. */
typedef struct
{
gint structure, style;
gboolean boost;
gint player_ids[11];
} LiveGameTeamState;
typedef struct
{
/** The fixture that belongs to the game. */
@ -170,6 +179,7 @@ typedef struct
GArray *units;
/** Match statistics. @see #LiveGameStats */
LiveGameStats stats;
LiveGameTeamState team_state[2];
} LiveGame;
#endif