Freeciv-3.3: /fast/freeciv/nightly/main/server/diplhand.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
diplhand.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__DIPLHAND_H
14#define FC__DIPLHAND_H
15
16/* common */
17#include "fc_types.h"
18
19/* server */
20#include <hand_gen.h> /* <> so looked from the build directory first. */
21
22struct Treaty;
23struct packet_diplomacy_info;
24struct connection;
25
26void establish_embassy(struct player *pplayer, struct player *aplayer);
27
28void send_diplomatic_meetings(struct connection *dest);
29void cancel_all_meetings(struct player *pplayer);
30void reject_all_treaties(struct player *pplayer);
31
32void set_diplstate_type(struct player_diplstate *state1,
33 struct player_diplstate *state2,
34 enum diplstate_type type);
35
36enum diplstate_type valid_dst_closest(struct player_diplstate *dst);
37
38#endif /* FC__DIPLHAND_H */
incite_cost
char * incite_cost
Definition comments.c:74
establish_embassy
void establish_embassy(struct player *pplayer, struct player *aplayer)
Definition diplhand.c:698
send_diplomatic_meetings
void send_diplomatic_meetings(struct connection *dest)
Definition diplhand.c:885
reject_all_treaties
void reject_all_treaties(struct player *pplayer)
Definition diplhand.c:935
valid_dst_closest
enum diplstate_type valid_dst_closest(struct player_diplstate *dst)
Definition diplhand.c:108
set_diplstate_type
void set_diplstate_type(struct player_diplstate *state1, struct player_diplstate *state2, enum diplstate_type type)
Definition diplhand.c:122
cancel_all_meetings
void cancel_all_meetings(struct player *pplayer)
Definition diplhand.c:923
fc_types.h
type
GType type
Definition repodlgs.c:1313
hand_gen.h
Treaty
Definition diptreaty.h:79
connection
Definition connection.h:136
player_diplstate
Definition player.h:198
player
Definition player.h:249