Freeciv-3.3: /fast/freeciv/nightly/main/client/packhand.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
packhand.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__PACKHAND_H
14#define FC__PACKHAND_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* common */
21#include "events.h" /* enum event_type */
22#include "fc_types.h" /* struct connection, struct government */
23#include "map.h"
24
25/* client */
26#include <packhand_gen.h> /* <> so looked from the build directory first. */
27
28void packhand_free(void);
29
30void notify_about_incoming_packet(struct connection *pc,
31 int packet_type, int size);
32void notify_about_outgoing_packet(struct connection *pc,
33 int packet_type, int size,
34 int request_id);
35 void set_reports_thaw_request(int request_id);
36
37void play_sound_for_event(enum event_type type);
38 void target_government_init(void);
39void set_government_choice(struct government *government);
40void start_revolution(void);
41
42#ifdef __cplusplus
43}
44#endif /* __cplusplus */
45
46#endif /* FC__PACKHAND_H */
incite_cost
char * incite_cost
Definition comments.c:74
events.h
fc_types.h
type
GType type
Definition repodlgs.c:1313
map.h
packet_type
packet_type
Definition packets_gen.h:1902
target_government_init
void target_government_init(void)
start_revolution
void start_revolution(void)
Definition packhand.c:2392
play_sound_for_event
void play_sound_for_event(enum event_type type)
Definition packhand.c:1519
packhand_free
void packhand_free(void)
Definition packhand.c:218
set_government_choice
void set_government_choice(struct government *government)
Definition packhand.c:2379
set_reports_thaw_request
void set_reports_thaw_request(int request_id)
notify_about_incoming_packet
void notify_about_incoming_packet(struct connection *pc, int packet_type, int size)
Definition packhand.c:5331
notify_about_outgoing_packet
void notify_about_outgoing_packet(struct connection *pc, int packet_type, int size, int request_id)
Definition packhand.c:5341
packhand_gen.h
size
size_t size
Definition specvec.h:72
connection
Definition connection.h:136
government
Definition government.h:52