Freeciv21
Develop your civilization from humble roots to a global empire
packhand.h
Go to the documentation of this file.
1 /**************************************************************************
2  Copyright (c) 1996-2020 Freeciv21 and Freeciv contributors. This file is
3  __ __ part of Freeciv21. Freeciv21 is free software: you can
4 / \\..// \ redistribute it and/or modify it under the terms of the GNU
5  ( oo ) General Public License as published by the Free Software
6  \__/ Foundation, either version 3 of the License, or (at your
7  option) any later version. You should have received
8  a copy of the GNU General Public License along with Freeciv21. If not,
9  see https://www.gnu.org/licenses/.
10 **************************************************************************/
11 #pragma once
12 
13 void packhand_free();
14 
15 void notify_about_incoming_packet(struct connection *pc, int packet_type,
16  int size);
17 void notify_about_outgoing_packet(struct connection *pc, int packet_type,
18  int size, int request_id);
19 void set_reports_thaw_request(int request_id);
20 
21 void play_sound_for_event(enum event_type type);
24 void start_revolution();
void packhand_free()
Called below, and by client/client_main.c client_game_free()
Definition: packhand.cpp:142
void play_sound_for_event(enum event_type type)
Plays sound associated with event.
Definition: packhand.cpp:1486
void target_government_init()
void set_government_choice(struct government *government)
Sets the target government.
Definition: packhand.cpp:2252
void set_reports_thaw_request(int request_id)
void notify_about_incoming_packet(struct connection *pc, int packet_type, int size)
Notify interested parties about incoming packet.
Definition: packhand.cpp:5187
void notify_about_outgoing_packet(struct connection *pc, int packet_type, int size, int request_id)
Notify interested parties about outgoing packet.
Definition: packhand.cpp:5197
void start_revolution()
Begin a revolution by telling the server to start it.
Definition: packhand.cpp:2265
size_t size
Definition: specvec.h:64