Freeciv-3.2
Loading...
Searching...
No Matches
client
gui-sdl3
citydlg.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
14
/***********************************************************************
15
citydlg.h - description
16
-------------------
17
begin : Wed Sep 04 2002
18
copyright : (C) 2002 by Rafał Bursig
19
email : Rafał Bursig <bursig@poczta.fm>
20
***********************************************************************/
21
22
#ifndef FC__CITYDLG_H
23
#define FC__CITYDLG_H
24
25
/* SDL3 */
26
#include <SDL3/SDL.h>
27
28
/* common */
29
#include "
effects.h
"
30
31
/* client */
32
#include "
citydlg_g.h
"
33
34
35
void
free_city_units_lists
(
void
);
36
void
enable_city_dlg_widgets
(
void
);
37
void
popup_hurry_production_dialog
(
struct
city
*pcity,
SDL_Surface
*
pdest
);
38
SDL_Surface
*
get_scaled_city_map
(
struct
city
*pcity);
39
void
refresh_city_resource_map
(
SDL_Surface
*
pdest
,
int
x
,
int
y
,
40
const
struct
city
*pcity,
41
bool
(*
worker_check
) (
const
struct
city
*,
42
int
,
int
));
43
struct
impr_type
*
get_building_for_effect
(
enum
effect_type effect_type);
44
45
#endif
/* FC__CITYDLG_H */
citydlg_g.h
incite_cost
char * incite_cost
Definition
comments.c:75
effects.h
enable_city_dlg_widgets
void enable_city_dlg_widgets(void)
Definition
citydlg.c:1535
get_building_for_effect
struct impr_type * get_building_for_effect(enum effect_type effect_type)
Definition
citydlg.c:132
popup_hurry_production_dialog
void popup_hurry_production_dialog(struct city *pcity, SDL_Surface *pdest)
Definition
citydlg.c:1176
refresh_city_resource_map
void refresh_city_resource_map(SDL_Surface *pdest, int x, int y, const struct city *pcity, bool(*worker_check)(const struct city *, int, int))
get_scaled_city_map
SDL_Surface * get_scaled_city_map(struct city *pcity)
Definition
citydlg.c:1620
free_city_units_lists
void free_city_units_lists(void)
Definition
citydlg.c:819
y
struct sprite int int y
Definition
sprite_g.h:31
x
struct sprite int x
Definition
sprite_g.h:31
city
Definition
city.h:320
impr_type
Definition
improvement.h:50
Generated on Sun Dec 22 2024 23:00:31 for Freeciv-3.2 by
1.9.8