1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-24 12:50:57 +01:00
bygfoot/src/transfer_struct.h

34 lines
712 B
C
Raw Normal View History

2005-03-21 12:52:41 +01:00
#ifndef TRANSFER_STRUCT_H
#define TRANSFER_STRUCT_H
#include "bygfoot.h"
#include "player_struct.h"
#include "team_struct.h"
/** Structure representing a player on the transfer list. */
typedef struct
{
/** Team of the player. */
Team *tm;
/** Id of player in the team. */
gint id;
/** Time until player gets removed from the list. */
gint time;
/** Estimated fees and wages for different scout qualities. */
gint fee[QUALITY_END], wage[QUALITY_END];
/** Offers for the player. */
GArray *offers;
} Transfer;
typedef struct
{
/** The team that makes the offer. */
Team *tm;
/** Transfer fee and wage offer. */
gint fee, wage;
} TransferOffer;
#endif