Freeciv21
Develop your civilization from humble roots to a global empire
mapctrl_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 // utility
14 #include "support.h" // bool type
15 
16 // common
17 #include "fc_types.h"
18 
19 // client
20 #include "mapctrl_common.h"
21 
22 void popup_newcity_dialog(struct unit *punit, const char *suggestname);
23 
void popup_newcity_dialog(struct unit *punit, const char *suggestname)
Popup a dialog to ask for the name of a new city.
Definition: mapctrl.cpp:44
void update_rect_at_mouse_pos()
The Area Selection rectangle.
Definition: mapctrl.cpp:88
void create_line_at_mouse_pos()
Draw a goto or patrol line at the current mouse position.
Definition: mapctrl.cpp:68
Definition: unit.h:134