Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/include/citydlg_g.h Source File

Freeciv-3.2

Loading...
Searching...
No Matches
citydlg_g.h
Go to the documentation of this file.
1/**********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__CITYDLG_G_H
14#define FC__CITYDLG_G_H
15
16#include "fc_types.h"
17
18#include "citydlg_common.h"
19
20#include "gui_proto_constructor.h"
21
22 GUI_FUNC_PROTO(void, real_city_dialog_popup, struct city *pcity)
23 GUI_FUNC_PROTO(void, popdown_city_dialog, struct city *pcity)
24 GUI_FUNC_PROTO(void, popdown_all_city_dialogs, void)
25 GUI_FUNC_PROTO(void, real_city_dialog_refresh, struct city *pcity)
26 GUI_FUNC_PROTO(void, refresh_unit_city_dialogs, struct unit *punit)
27 GUI_FUNC_PROTO(bool, city_dialog_is_open, struct city *pcity)
28
29/* Actually defined in update_queue.c */
30void popup_city_dialog(struct city *pcity);
31void refresh_city_dialog(struct city *pcity);
32
33#endif /* FC__CITYDLG_G_H */
citydlg_common.h
popup_city_dialog
void popup_city_dialog(struct city *pcity)
Definition update_queue.c:623
refresh_city_dialog
void refresh_city_dialog(struct city *pcity)
Definition update_queue.c:632
punit
struct unit struct city struct unit struct tile struct extra_type const struct act_prob *act_probs int actor_unit_id struct unit struct unit * punit
Definition dialogs_g.h:74
fc_types.h
real_city_dialog_popup
void real_city_dialog_popup(struct city *pcity)
Definition citydlg.c:558
city_dialog_is_open
bool city_dialog_is_open(struct city *pcity)
Definition citydlg.c:579
real_city_dialog_refresh
void real_city_dialog_refresh(struct city *pcity)
Definition citydlg.c:480
popdown_all_city_dialogs
void popdown_all_city_dialogs(void)
Definition citydlg.c:599
refresh_unit_city_dialogs
void refresh_unit_city_dialogs(struct unit *punit)
Definition citydlg.c:538
popdown_city_dialog
void popdown_city_dialog(struct city *pcity)
Definition citydlg.c:587
gui_proto_constructor.h
GUI_FUNC_PROTO
#define GUI_FUNC_PROTO(_type, _func,...)
Definition gui_proto_constructor.h:22
city
Definition city.h:320
unit
Definition unit.h:138