bool can_client_issue_orders(void)
void client_recv_remove_clause(int counterpart, int giver, enum clause_type type, int value)
void client_recv_create_clause(int counterpart, int giver, enum clause_type type, int value)
void client_recv_accept_treaty(int counterpart, bool I_accepted, bool other_accepted)
void client_recv_cancel_meeting(int counterpart, int initiated_from)
void client_init_meeting(int counterpart, int initiated_from)
struct Treaty struct player struct player *initiator gui_recv_create_clause
struct Treaty struct player struct player *initiator struct Treaty struct player *they gui_recv_accept_treaty
struct Treaty struct player * they
void init_treaty(struct Treaty *ptreaty, struct player *plr0, struct player *plr1)
bool add_clause(struct Treaty *ptreaty, struct player *pfrom, enum clause_type type, int val, struct player *client_player)
void treaty_add(struct Treaty *ptreaty)
bool remove_clause(struct Treaty *ptreaty, struct player *pfrom, enum clause_type type, int val)
void treaty_remove(struct Treaty *ptreaty)
struct Treaty * find_treaty(struct player *plr0, struct player *plr1)
void gui_init_meeting(struct Treaty *ptreaty, struct player *they, struct player *initiator)
void gui_recv_remove_clause(struct Treaty *ptreaty, struct player *they)
void gui_prepare_clause_updt(struct Treaty *ptreaty, struct player *they)
struct player * player_by_number(const int player_id)