![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
Include dependency graph for view_cities_data.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | city_report_spec |
Macros | |
| #define | NUM_CREPORT_COLS (num_city_report_spec()) |
Functions | |
| int | num_city_report_spec () |
| Simple wrapper for num_creport_cols() More... | |
| bool * | city_report_spec_show_ptr (int i) |
| Simple wrapper for city_report_specs.show. More... | |
| const char * | city_report_spec_tagname (int i) |
| Simple wrapper for city_report_specs.tagname. More... | |
| void | init_city_report_game_data () |
| Initialize city report data. More... | |
| int | cityrepfield_compare (const char *field1, const char *field2) |
| The real function: split the two strings, and compare them. More... | |
| bool | can_city_sell_universal (const struct city *pcity, const struct universal *target) |
| Same as can_city_sell_building(), but with universal argument. More... | |
Variables | |
| std::vector< city_report_spec > | city_report_specs |
| #define NUM_CREPORT_COLS (num_city_report_spec()) |
Definition at line 20 of file view_cities_data.h.
Same as can_city_sell_building(), but with universal argument.
Definition at line 1145 of file view_cities_data.cpp.
Referenced by city_widget::display_list_menu().
| bool* city_report_spec_show_ptr | ( | int | i | ) |
Simple wrapper for city_report_specs.show.
Definition at line 853 of file view_cities_data.cpp.
| const char* city_report_spec_tagname | ( | int | i | ) |
Simple wrapper for city_report_specs.tagname.
Definition at line 861 of file view_cities_data.cpp.
| int cityrepfield_compare | ( | const char * | field1, |
| const char * | field2 | ||
| ) |
The real function: split the two strings, and compare them.
Definition at line 1118 of file view_cities_data.cpp.
Referenced by city_sort_model::lessThan().
| void init_city_report_game_data | ( | ) |
Initialize city report data.
This deals with ruleset-depedent columns and pre-translates the fields (to make things easier on the GUI writers). Should be called before the GUI starts up.
Definition at line 871 of file view_cities_data.cpp.
Referenced by client_state().
| int num_city_report_spec | ( | ) |
Simple wrapper for num_creport_cols()
Definition at line 848 of file view_cities_data.cpp.
|
extern |
Definition at line 842 of file view_cities_data.cpp.
Referenced by city_report_spec_show_ptr(), city_report_spec_tagname(), city_item::data(), city_widget::display_header_menu(), city_model::headerData(), city_model::hide_data(), init_city_report_game_data(), city_model::menu_data(), and city_item_delegate::paint().