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 * they
struct treaty struct player struct player *initiator struct treaty struct player *they gui_recv_accept_treaty
void treaty_remove(struct treaty *ptreaty)
void treaty_add(struct treaty *ptreaty)
struct treaty * find_treaty(struct player *plr0, struct player *plr1)
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)
bool remove_clause(struct treaty *ptreaty, struct player *pfrom, enum clause_type type, int val)
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)