#include <stdlib.h>
#include "gui_stub.h"
#include "mapctrl.h"
Go to the source code of this file.
◆ create_line_at_mouse_pos()
void create_line_at_mouse_pos |
( |
void |
| ) |
|
Draw a goto or patrol line at the current mouse position.
Definition at line 46 of file mapctrl.c.
◆ popup_newcity_dialog()
void popup_newcity_dialog |
( |
struct unit * |
punit, |
|
|
const char * |
suggestname |
|
) |
| |
Popup a dialog to ask for the name of a new city. The given string should be used as a suggestion.
Definition at line 29 of file mapctrl.c.
◆ set_turn_done_button_state()
void set_turn_done_button_state |
( |
bool |
state | ) |
|
A turn done button should be provided for the player. This function is called to toggle it between active/inactive.
Definition at line 38 of file mapctrl.c.
◆ update_rect_at_mouse_pos()
void update_rect_at_mouse_pos |
( |
void |
| ) |
|