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)
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 ***********************************************************************/
15 #include <fc_config.h>
23 /**************************************************************************
24 Update a player's acceptance status of a treaty (traditionally shown
25 with the thumbs-up/thumbs-down sprite).
26 **************************************************************************/
27 void handle_diplomacy_accept_treaty(int counterpart
, bool I_accepted
,
33 /**************************************************************************
34 Handle the start of a diplomacy meeting - usually by poping up a
36 **************************************************************************/
37 void handle_diplomacy_init_meeting(int counterpart
, int initiated_from
)
42 /**************************************************************************
43 Update the diplomacy dialog by adding a clause.
44 **************************************************************************/
45 void handle_diplomacy_create_clause(int counterpart
, int giver
,
46 enum clause_type type
, int value
)
51 /**************************************************************************
52 Update the diplomacy dialog when the meeting is canceled (the dialog
54 **************************************************************************/
55 void handle_diplomacy_cancel_meeting(int counterpart
, int initiated_from
)
60 /**************************************************************************
61 Update the diplomacy dialog by removing a clause.
62 **************************************************************************/
63 void handle_diplomacy_remove_clause(int counterpart
, int giver
,
64 enum clause_type type
, int value
)
69 /**************************************************************************
70 Close all open diplomacy dialogs.
72 Called when the client disconnects from game.
73 **************************************************************************/
74 void close_all_diplomacy_dialogs(void)