#include <SDL2/SDL.h>
#include "fc_types.h"
#include "gui_main.h"
#include "mapctrl_g.h"
Go to the source code of this file.
◆ BLOCKM_W
◆ BLOCKU_W
◆ DEFAULT_OVERVIEW_H
#define DEFAULT_OVERVIEW_H 104 |
◆ DEFAULT_OVERVIEW_W
#define DEFAULT_OVERVIEW_W 156 |
◆ DEFAULT_UNITS_H
◆ DEFAULT_UNITS_W
◆ button_down_on_map()
◆ button_up_on_map()
Use released mouse button over map.
Definition at line 2351 of file mapctrl.c.
◆ close_game_page()
◆ disable_main_widgets()
Disable game page widgets.
Definition at line 2102 of file mapctrl.c.
◆ disable_minimap_window_buttons()
void disable_minimap_window_buttons |
( |
void |
| ) |
|
Make minimap window buttons disabled.
Definition at line 1911 of file mapctrl.c.
◆ disable_unitinfo_window_buttons()
void disable_unitinfo_window_buttons |
( |
void |
| ) |
|
Make unitinfo buttons disabled.
Definition at line 1617 of file mapctrl.c.
◆ enable_and_redraw_find_city_button()
void enable_and_redraw_find_city_button |
( |
void |
| ) |
|
Make Find City button available.
Definition at line 2235 of file mapctrl.c.
◆ enable_and_redraw_revolution_button()
void enable_and_redraw_revolution_button |
( |
void |
| ) |
|
Make Revolution button available.
Definition at line 2245 of file mapctrl.c.
◆ enable_main_widgets()
Enable game page widgets.
Definition at line 2180 of file mapctrl.c.
◆ finger_down_on_map()
◆ finger_up_on_map()
◆ get_minimap_window_widget()
Get main minimap widget.
Definition at line 2203 of file mapctrl.c.
◆ get_research_widget()
Get main research widget.
Definition at line 2219 of file mapctrl.c.
◆ get_revolution_widget()
Get main revolution widget.
Definition at line 2227 of file mapctrl.c.
◆ get_tax_rates_widget()
Get main tax rates widget.
Definition at line 2211 of file mapctrl.c.
◆ get_unit_info_window_widget()
Get main unitinfo widget.
Definition at line 2195 of file mapctrl.c.
◆ hide_minimap_window_buttons()
void hide_minimap_window_buttons |
( |
void |
| ) |
|
Make minimap window buttons hidden.
Definition at line 1836 of file mapctrl.c.
◆ hide_unitinfo_window_buttons()
void hide_unitinfo_window_buttons |
( |
void |
| ) |
|
Make unitinfo buttons hidden.
Definition at line 1593 of file mapctrl.c.
◆ map_event_handler()
◆ popdown_minimap_window()
◆ popdown_newcity_dialog()
Close new city dialog.
Definition at line 2897 of file mapctrl.c.
◆ popdown_unitinfo_window()
Close unitinfo window.
Definition at line 1637 of file mapctrl.c.
◆ popup_minimap_window()
◆ popup_unitinfo_window()
◆ redraw_minimap_window_buttons()
void redraw_minimap_window_buttons |
( |
void |
| ) |
|
Redraw minimap window buttons.
Definition at line 1874 of file mapctrl.c.
◆ resize_minimap()
Update the size of the minimap
Definition at line 554 of file mapctrl.c.
◆ resize_unit_info()
◆ set_new_minimap_window_pos()
void set_new_minimap_window_pos |
( |
void |
| ) |
|
This Function is used when resize main_data.screen. We must set new MiniMap start position.
Definition at line 1386 of file mapctrl.c.
◆ set_new_unitinfo_window_pos()
void set_new_unitinfo_window_pos |
( |
void |
| ) |
|
This Function is used when resize main_data.screen. We must set new Units Info Win. start position.
Definition at line 1332 of file mapctrl.c.
◆ show_game_page()
Create and show game page.
Definition at line 1958 of file mapctrl.c.
◆ show_minimap_window_buttons()
void show_minimap_window_buttons |
( |
void |
| ) |
|
Make minimap window buttons visible.
Definition at line 1798 of file mapctrl.c.
◆ show_unitinfo_window_buttons()
void show_unitinfo_window_buttons |
( |
void |
| ) |
|
Make unitinfo buttons visible.
Definition at line 1569 of file mapctrl.c.
◆ overview_h
◆ overview_w