Freeciv21
Develop your civilization from humble roots to a global empire
diplodlg_g.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 #include "shared.h"
14 
15 #include "diptreaty.h"
16 
17 void handle_diplomacy_init_meeting(int counterpart, int initiated_from);
18 void handle_diplomacy_cancel_meeting(int counterpart, int initiated_from);
19 void handle_diplomacy_create_clause(int counterpart, int giver,
20  enum clause_type type, int value);
21 void handle_diplomacy_remove_clause(int counterpart, int giver,
22  enum clause_type type, int value);
23 void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted,
24  bool other_accepted);
25 
void handle_diplomacy_init_meeting(int counterpart, int initiated_from)
Handle the start of a diplomacy meeting - usually by poping up a diplomacy dialog.
Definition: diplodlg.cpp:852
void handle_diplomacy_cancel_meeting(int counterpart, int initiated_from)
Update the diplomacy dialog when the meeting is canceled (the dialog should be closed).
Definition: diplodlg.cpp:923
void handle_diplomacy_create_clause(int counterpart, int giver, enum clause_type type, int value)
Update the diplomacy dialog by adding a clause.
Definition: diplodlg.cpp:898
void handle_diplomacy_remove_clause(int counterpart, int giver, enum clause_type type, int value)
Update the diplomacy dialog by removing a clause.
Definition: diplodlg.cpp:944
void close_all_diplomacy_dialogs()
Close all open diplomacy dialogs.
Definition: diplodlg.cpp:970
void handle_diplomacy_accept_treaty(int counterpart, bool I_accepted, bool other_accepted)
Update a player's acceptance status of a treaty (traditionally shown with the thumbs-up/thumbs-down s...
Definition: diplodlg.cpp:825