Freeciv-3.2
|
Go to the source code of this file.
void notify_about_incoming_packet | ( | struct connection * | pc, |
int | packet_type, | ||
int | size | ||
) |
Notify interested parties about incoming packet.
Definition at line 5318 of file packhand.c.
Referenced by make_connection().
void notify_about_outgoing_packet | ( | struct connection * | pc, |
int | packet_type, | ||
int | size, | ||
int | request_id | ||
) |
Notify interested parties about outgoing packet.
Definition at line 5328 of file packhand.c.
Referenced by make_connection().
Called below, and by client/client_main.c client_game_free()
Definition at line 218 of file packhand.c.
Referenced by client_game_free(), client_game_reset(), and packhand_init().
void play_sound_for_event | ( | enum event_type | type | ) |
Plays sound associated with event
Definition at line 1517 of file packhand.c.
Referenced by handle_event(), and handle_page_msg_part().
void set_government_choice | ( | struct government * | government | ) |
Sets the target government. This will automatically start a revolution if the target government differs from the current one.
Definition at line 2363 of file packhand.c.
Referenced by government_dlg_callback(), revolution_response(), and revolution_response().
Begin a revolution by telling the server to start it. This also clears the current government choice.
Definition at line 2376 of file packhand.c.
Referenced by revolution_response(), and revolution_response().