Freeciv-3.2
|
Go to the source code of this file.
Functions | |
void | establish_embassy (struct player *pplayer, struct player *aplayer) |
void | send_diplomatic_meetings (struct connection *dest) |
void | cancel_all_meetings (struct player *pplayer) |
void | reject_all_treaties (struct player *pplayer) |
void | set_diplstate_type (struct player_diplstate *state1, struct player_diplstate *state2, enum diplstate_type type) |
enum diplstate_type | valid_dst_closest (struct player_diplstate *dst) |
Cancels all meetings of player.
Definition at line 926 of file diplhand.c.
Referenced by kill_player(), player_set_to_ai_mode(), and player_set_under_human_control().
Create an embassy. pplayer gets an embassy with aplayer.
Definition at line 701 of file diplhand.c.
Referenced by diplomat_embassy(), handle_diplomacy_accept_treaty_req(), and split_player().
Reject all treaties currently being negotiated
Definition at line 938 of file diplhand.c.
Referenced by handle_diplomacy_cancel_pact().
void send_diplomatic_meetings | ( | struct connection * | dest | ) |
Send information on any on-going diplomatic meetings for connection's player. For re-connections.
Definition at line 888 of file diplhand.c.
Referenced by begin_phase(), and connection_attach_real().
void set_diplstate_type | ( | struct player_diplstate * | state1, |
struct player_diplstate * | state2, | ||
enum diplstate_type | type | ||
) |
Set diplstate between two players.
Definition at line 125 of file diplhand.c.
Referenced by barbarian_initial_wars(), handle_diplomacy_accept_treaty_req(), make_contact(), split_player(), and srv_ready().
enum diplstate_type valid_dst_closest | ( | struct player_diplstate * | dst | ) |
Return closest diplstate dst has had, with extra sanity checking (i.e. may return state other than the recorder max_state)
Definition at line 111 of file diplhand.c.
Referenced by sg_load_player_main(), and sg_load_player_main().