![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include "views/view_units.h"#include "canvas.h"#include "client_main.h"#include "fc_client.h"#include "goto.h"#include "hudwidget.h"#include "page_game.h"#include "repodlgs_common.h"#include "tileset/sprite.h"#include "top_bar.h"#include "turn_done_button.h"#include "views/view_map.h"#include "views/view_map_common.h"#include "movement.h"#include "text.h"#include "unittype.h"
Include dependency graph for view_units.cpp:Go to the source code of this file.
Functions | |
| struct unit * | find_nearest_unit (const struct unit_type *utype, struct tile *ptile) |
| Function to help us find the nearest unit. More... | |
| std::vector< unit_view_entry > | get_units_view_data () |
| Returns an array of units data. More... | |
| std::vector< unit_waiting_entry > | get_units_waiting_data () |
| Returns an array of units subject to unitwaittime. More... | |
| void | units_view_dialog_update (void *unused) |
| Update the units view. More... | |
| void | units_view_dialog_popup () |
| Display the unis view. More... | |
| void | popdown_units_view () |
| Closes units view. More... | |
Function to help us find the nearest unit.
Definition at line 608 of file view_units.cpp.
Referenced by units_view::find_nearest().
| std::vector<unit_view_entry> get_units_view_data | ( | ) |
Returns an array of units data.
Definition at line 643 of file view_units.cpp.
Referenced by units_view::update_units().
| std::vector<unit_waiting_entry> get_units_waiting_data | ( | ) |
Returns an array of units subject to unitwaittime.
Definition at line 718 of file view_units.cpp.
Referenced by units_view::update_waiting().
| void popdown_units_view | ( | ) |
Closes units view.
Definition at line 808 of file view_units.cpp.
| void units_view_dialog_popup | ( | ) |
| void units_view_dialog_update | ( | void * | unused | ) |
Update the units view.
Definition at line 758 of file view_units.cpp.
Referenced by units_report_dialog_update().