Freeciv-3.3
Loading...
Searching...
No Matches
citydlg.c
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
14#ifdef HAVE_CONFIG_H
15#include <fc_config.h>
16#endif
17
18/* gui main header */
19#include "gui_stub.h"
20
21#include "citydlg.h"
22
23/**********************************************************************/
28{
29 /* PORTME */
30}
31
32/**********************************************************************/
36{
37 /* PORTME */
38}
39
40/**********************************************************************/
44{
45 /* PORTME */
46}
47
48/**********************************************************************/
52{
53 /* PORTME */
54}
55
56/**********************************************************************/
62{
63 /* PORTME */
64#if 0
65 /* Demo code */
66 struct city *pcity_sup, *pcity_pre;
67 struct city_dialog *pdialog;
68
71
72 if (pcity_sup && (pdialog = get_city_dialog(pcity_sup))) {
74 }
75
76 if (pcity_pre && (pdialog = get_city_dialog(pcity_pre))) {
78 }
79#endif
80}
81
82/**********************************************************************/
86{
87 /* PORTME */
88 return FALSE;
89}
char * incite_cost
Definition comments.c:76
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
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 int const struct action *paction struct unit struct city * pcity
Definition dialogs_g.h:78
struct city * game_city_by_number(int id)
Definition game.c:106
static struct city_dialog * get_city_dialog(struct city *pcity)
Definition citydlg.c:387
static void city_dialog_update_present_units(struct city_dialog *pdialog)
Definition citydlg.c:2356
static void city_dialog_update_supported_units(struct city_dialog *pdialog)
Definition citydlg.c:2249
void gui_refresh_unit_city_dialogs(struct unit *punit)
Definition citydlg.c:61
void gui_popdown_all_city_dialogs(void)
Definition citydlg.c:43
void gui_popdown_city_dialog(struct city *pcity)
Definition citydlg.c:35
bool gui_city_dialog_is_open(struct city *pcity)
Definition citydlg.c:85
void gui_real_city_dialog_popup(struct city *pcity)
Definition citydlg.c:27
void gui_real_city_dialog_refresh(struct city *pcity)
Definition citydlg.c:51
Definition city.h:317
Definition unit.h:140
int homecity
Definition unit.h:148
#define FALSE
Definition support.h:47
struct city * tile_city(const struct tile *ptile)
Definition tile.c:83
#define unit_tile(_pu)
Definition unit.h:404