Freeciv-3.2
|
#include <SDL2/SDL.h>
#include "fcintl.h"
#include "log.h"
#include "game.h"
#include "client_main.h"
#include "citydlg.h"
#include "cma_fe.h"
#include "colors.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "mapctrl.h"
#include "mapview.h"
#include "repodlgs.h"
#include "sprite.h"
#include "themespec.h"
#include "widget.h"
#include "wldlg.h"
#include "cityrep.h"
Go to the source code of this file.
Macros | |
#define | COL 17 |
Functions | |
static void | real_info_city_report_dialog_update (void) |
void | city_report_dialog_popdown (void) |
static int | city_report_windows_callback (struct widget *pwindow) |
static int | exit_city_report_callback (struct widget *pwidget) |
static int | popup_citydlg_from_city_report_callback (struct widget *pwidget) |
static int | popup_worklist_from_city_report_callback (struct widget *pwidget) |
static int | popup_buy_production_from_city_report_callback (struct widget *pwidget) |
static int | popup_cma_from_city_report_callback (struct widget *pwidget) |
static struct widget * | real_city_report_dialog_update_city (struct widget *pwidget, struct city *pcity) |
bool | is_city_report_open (void) |
void | city_report_dialog_popup (bool make_modal) |
void | real_city_report_dialog_update (void *unused) |
void | real_city_report_update_city (struct city *pcity) |
void | hilite_cities_from_canvas (void) |
void | toggle_city_hilite (struct city *pcity, bool on_off) |
Variables | |
static struct advanced_dialog * | city_rep = NULL |
User interacted with cityreport window.
Definition at line 78 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
User interacted with city report close button.
Definition at line 90 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
Check if city report is open.
Definition at line 1130 of file cityrep.c.
Referenced by popup_hurry_production_dialog().
User interacted with city production button on city report.
Definition at line 126 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
User interacted with city button on city report.
Definition at line 102 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
User interacted with cma button on city report.
Definition at line 138 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
User interacted with worklist button on city report.
Definition at line 114 of file cityrep.c.
Referenced by real_info_city_report_dialog_update().
|
static |
Update city information in city report.
Definition at line 964 of file cityrep.c.
Referenced by real_city_report_dialog_update(), and real_city_report_update_city().
Rebuild the city info report.
Definition at line 178 of file cityrep.c.
Referenced by city_report_dialog_popup(), real_city_report_dialog_update(), and real_city_report_update_city().
|
static |
Definition at line 53 of file cityrep.c.
Referenced by city_report_dialog_popdown(), city_report_dialog_popup(), city_report_windows_callback(), is_city_report_open(), real_city_report_dialog_update(), real_city_report_update_city(), and real_info_city_report_dialog_update().