mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-23 20:30:50 +01:00
34 lines
712 B
C
34 lines
712 B
C
#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
|