![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | packhand_free () |
| Called below, and by client/client_main.c client_game_free() More... | |
| void | notify_about_incoming_packet (struct connection *pc, int packet_type, int size) |
| Notify interested parties about incoming packet. More... | |
| void | notify_about_outgoing_packet (struct connection *pc, int packet_type, int size, int request_id) |
| Notify interested parties about outgoing packet. More... | |
| void | set_reports_thaw_request (int request_id) |
| void | play_sound_for_event (enum event_type type) |
| Plays sound associated with event. More... | |
| void | target_government_init () |
| void | set_government_choice (struct government *government) |
| Sets the target government. More... | |
| void | start_revolution () |
| Begin a revolution by telling the server to start it. More... | |
| void notify_about_incoming_packet | ( | struct connection * | pc, |
| int | packet_type, | ||
| int | size | ||
| ) |
Notify interested parties about incoming packet.
Definition at line 5187 of file packhand.cpp.
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 5197 of file packhand.cpp.
Referenced by make_connection().
| void packhand_free | ( | ) |
Called below, and by client/client_main.c client_game_free()
Definition at line 142 of file packhand.cpp.
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 1486 of file packhand.cpp.
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 2252 of file packhand.cpp.
Referenced by revolution_response().
| void set_reports_thaw_request | ( | int | request_id | ) |
| void start_revolution | ( | ) |
Begin a revolution by telling the server to start it.
This also clears the current government choice.
Definition at line 2265 of file packhand.cpp.
Referenced by revolution_response().
| void target_government_init | ( | ) |