![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QApplication>#include <QMouseEvent>#include "control.h"#include "goto.h"#include "map.h"#include "chatline_common.h"#include "citydlg.h"#include "citydlg_common.h"#include "client_main.h"#include "fc_client.h"#include "mapctrl.h"#include "mapctrl_common.h"#include "messagewin.h"#include "page_game.h"#include "shortcuts.h"#include "themes_common.h"#include "tile.h"#include "tileset/tilespec.h"#include "unit.h"#include "unitselect.h"#include "views/view_map.h"#include "views/view_map_common.h"
Include dependency graph for mapctrl.cpp:Go to the source code of this file.
Functions | |
| void | qload_lua_script () |
| Load and execute lua script. More... | |
| void | qreload_lua_script () |
| Reload last lua script. More... | |
| void | popup_newcity_dialog (struct unit *punit, const char *suggestname) |
| Popup a dialog to ask for the name of a new city. More... | |
| void | create_line_at_mouse_pos (void) |
| Draw a goto or patrol line at the current mouse position. More... | |
| void | update_rect_at_mouse_pos (void) |
| The Area Selection rectangle. More... | |
| void create_line_at_mouse_pos | ( | void | ) |
Draw a goto or patrol line at the current mouse position.
Definition at line 68 of file mapctrl.cpp.
Referenced by base_set_mapview_origin(), request_unit_connect(), request_unit_goto(), request_unit_patrol(), and mr_menu::slot_delayed_goto().
| 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 44 of file mapctrl.cpp.
Referenced by handle_city_name_suggestion_info().
| void qload_lua_script | ( | ) |
Load and execute lua script.
Definition at line 57 of file luaconsole.cpp.
Referenced by map_view::shortcut_pressed().
| void qreload_lua_script | ( | ) |
Reload last lua script.
Definition at line 72 of file luaconsole.cpp.
Referenced by map_view::shortcut_pressed().
| void update_rect_at_mouse_pos | ( | void | ) |
The Area Selection rectangle.
Called by center_tile_mapcanvas() and when the mouse pointer moves.
Definition at line 88 of file mapctrl.cpp.
Referenced by base_set_mapview_origin().