Freeciv-3.3: /fast/freeciv/nightly/main/client/gui-sdl2/gui_tilespec.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
gui_tilespec.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 gui_tilespec.h - description
16 -------------------
17 begin : Dec. 2 2002
18 copyright : (C) 2002 by Rafał Bursig
19 email : Rafal Bursig <bursig@poczta.fm>
20***********************************************************************/
21
22#ifndef FC__GUI_TILESPEC_H
23#define FC__GUI_TILESPEC_H
24
25/* SDL2 */
26#ifdef SDL2_PLAIN_INCLUDE
27#include <SDL.h>
28#else /* SDL2_PLAIN_INCLUDE */
29#include <SDL2/SDL.h>
30#endif /* SDL2_PLAIN_INCLUDE */
31
32/* client */
33#include "tilespec.h"
34
35/* gui-sdl2 */
36#include "graphics.h"
37#include "sprite.h"
38
39 struct theme_icons {
40
41 /* Frame */
42 SDL_Surface *fr_left;
43 SDL_Surface *fr_right;
44 SDL_Surface *fr_top;
45 SDL_Surface *fr_bottom;
46
47 /* Button */
48 SDL_Surface *button;
49
50 /* Edit */
51 SDL_Surface *edit;
52
53 /* Checkbox */
54 SDL_Surface *cbox_sell_icon;
55 SDL_Surface *cbox_unsell_icon;
56
57 /* Scrollbar */
58 SDL_Surface *up_icon;
59 SDL_Surface *down_icon;
60 SDL_Surface *left_icon;
61 SDL_Surface *right_icon;
62 SDL_Surface *vertic;
63 SDL_Surface *horiz;
64
65 /* Game */
66 SDL_Surface *ok_icon;
67 SDL_Surface *cancel_icon;
68 SDL_Surface *small_ok_icon;
69 SDL_Surface *small_cancel_icon;
70 SDL_Surface *FORWARD_Icon;
71 SDL_Surface *back_icon;
72 SDL_Surface *info_icon;
73 SDL_Surface *r_arrow_icon;
74 SDL_Surface *l_arrow_icon;
75 SDL_Surface *lock_icon;
76 SDL_Surface *unlock_icon;
77
78 SDL_Surface *options_icon;
79 SDL_Surface *block;
80 SDL_Surface *units_icon;
81 SDL_Surface *map_icon;
82 SDL_Surface *log_icon;
83 SDL_Surface *players_icon;
84 SDL_Surface *units2_icon;
85 SDL_Surface *find_city_icon;
86 SDL_Surface *new_turn_icon;
87 SDL_Surface *save_icon;
88 SDL_Surface *load_icon;
89 SDL_Surface *delete_icon;
90
91 /* Help icons */
92 SDL_Surface *tech_tree_icon;
93
94 /* City icons */
95 SDL_Surface *army_icon;
96 SDL_Surface *support_icon;
97 SDL_Surface *happy_icon;
98 SDL_Surface *cma_icon;
99 SDL_Surface *prod_icon;
100 SDL_Surface *qprod_icon;
101 SDL_Surface *buy_prod_icon;
102
103 /* Diplomacy */
104 SDL_Surface *ok_pact_icon;
105 SDL_Surface *cancel_pact_icon;
106
107 /* Orders icons */
108 SDL_Surface *order_icon;
109 SDL_Surface *o_disband_icon;
110 SDL_Surface *o_wait_icon;
111 SDL_Surface *o_done_icon;
112 SDL_Surface *o_autoexp_icon;
113 SDL_Surface *o_autowork_icon;
114 SDL_Surface *o_autoconnect_icon;
115 SDL_Surface *o_unload_icon;
116 SDL_Surface *o_build_city_icon;
117 SDL_Surface *o_goto_city_icon;
118 SDL_Surface *o_goto_icon;
119 SDL_Surface *o_homecity_icon;
120 SDL_Surface *o_patrol_icon;
121 SDL_Surface *o_mine_icon;
122 SDL_Surface *OPlantForest_Icon;
123 SDL_Surface *OCutDownForest_Icon;
124 SDL_Surface *o_fortify_icon;
125 SDL_Surface *o_sentry_icon;
126 SDL_Surface *o_irrigation_icon;
127 SDL_Surface *o_cultivate_icon;
128 SDL_Surface *o_plant_icon;
129 SDL_Surface *o_road_icon;
130 SDL_Surface *o_railroad_icon;
131 SDL_Surface *o_pillage_icon;
132 SDL_Surface *o_paradrop_icon;
133 SDL_Surface *o_nuke_icon;
134 SDL_Surface *o_fortress_icon;
135 SDL_Surface *o_clean_icon;
136 SDL_Surface *o_airbase_icon;
137 SDL_Surface *o_transform_icon;
138 SDL_Surface *OAddCity_Icon;
139 SDL_Surface *o_wonder_icon;
140 SDL_Surface *o_trade_icon;
141 SDL_Surface *o_spy_icon;
142 SDL_Surface *o_wakeup_icon;
143 SDL_Surface *o_return_icon;
144 SDL_Surface *OAirLift_Icon;
145 SDL_Surface *o_load_icon;
146};
147
148 struct city_icon {
149 int style;
150
151 SDL_Surface *big_food_corr;
152 SDL_Surface *big_shield_corr;
153 SDL_Surface *big_trade_corr;
154 SDL_Surface *big_food;
155 SDL_Surface *big_shield;
156 SDL_Surface *big_trade;
157 SDL_Surface *big_luxury;
158 SDL_Surface *big_coin;
159 SDL_Surface *big_colb;
160 SDL_Surface *pBIG_Face;
161 SDL_Surface *big_coin_corr;
162 SDL_Surface *big_coin_upkeep;
163 SDL_Surface *big_shield_surplus;
164 SDL_Surface *big_food_surplus;
165
166 SDL_Surface *food;
167 SDL_Surface *shield;
168 SDL_Surface *trade;
169 SDL_Surface *pLuxury;
170 SDL_Surface *coint;
171 SDL_Surface *pColb;
172 SDL_Surface *face;
173 /* SDL_Surface *pDark_Face; */
174
175 SDL_Surface *pollution;
176 SDL_Surface *police;
177 SDL_Surface *worklist;
178
179 /* Small Citizens */
180 SDL_Surface *male_happy;
181 SDL_Surface *female_happy;
182 SDL_Surface *male_content;
183 SDL_Surface *female_content;
184 SDL_Surface *male_unhappy;
185 SDL_Surface *female_unhappy;
186 SDL_Surface *male_angry;
187 SDL_Surface *female_angry;
188
189 SDL_Surface *specialists[SP_MAX];
190};
191
192extern struct theme_icons *current_theme;
193extern struct city_icon *icons;
194
195void tilespec_setup_theme(void);
196void tilespec_free_theme(void);
197
198void tilespec_setup_city_gfx(void);
199void tilespec_free_city_gfx(void);
200
201void tilespec_setup_city_icons(void);
202void tilespec_free_city_icons(void);
203
204void reload_citizens_icons(int style);
205 SDL_Surface *get_city_gfx(void);
206
207void draw_intro_gfx(void);
208
209void setup_auxiliary_tech_icons(void);
210void free_auxiliary_tech_icons(void);
211 SDL_Surface *get_tech_icon(Tech_type_id tech);
212 SDL_Color *get_tech_color(Tech_type_id tech_id);
213
214/**********************************************************************/
218 static inline SDL_Surface *get_citizen_surface(enum citizen_category type,
219 int citizen_index)
220{
221 return GET_SURF(get_citizen_sprite(tileset, type, 0, NULL));
222}
223
224/**********************************************************************/
227 static inline SDL_Surface *get_nation_flag_surface(const struct nation_type *pnation)
228{
229 return GET_SURF(get_nation_flag_sprite(tileset, pnation));
230}
231
232/**********************************************************************/
235 static inline SDL_Surface *get_government_surface(const struct government *gov)
236{
237 return GET_SURF(get_government_sprite(tileset, gov));
238}
239
240/**********************************************************************/
243 static inline SDL_Surface *get_sample_city_surface(int city_style)
244{
245 return GET_SURF(get_sample_city_sprite(tileset, city_style));
246}
247
248/**********************************************************************/
251 static inline SDL_Surface *get_building_surface(const struct impr_type *pimprove)
252{
253 return GET_SURF(get_building_sprite(tileset, pimprove));
254}
255
256/**********************************************************************/
259 static inline SDL_Surface *get_unittype_surface(const struct unit_type *punittype,
260 enum direction8 facing)
261{
262 return GET_SURF(get_unittype_sprite(tileset, punittype, ACTIVITY_LAST,
263 facing));
264}
265
266/**********************************************************************/
269 static inline SDL_Surface *get_tax_surface(Output_type_id otype)
270{
271 return adj_surf(GET_SURF(get_tax_sprite(tileset, otype)));
272}
273
274#endif /* FC__GUI_TILESPEC_H */
citizen_category
citizen_category
Definition city.h:267
incite_cost
char * incite_cost
Definition comments.c:74
Tech_type_id
int Tech_type_id
Definition fc_types.h:381
SP_MAX
#define SP_MAX
Definition fc_types.h:412
Output_type_id
enum output_type_id Output_type_id
Definition fc_types.h:382
type
GType type
Definition repodlgs.c:1313
adj_surf
#define adj_surf(surf)
Definition graphics.h:200
get_government_surface
static SDL_Surface * get_government_surface(const struct government *gov)
Definition gui_tilespec.h:235
icons
struct city_icon * icons
Definition gui_tilespec.c:55
get_building_surface
static SDL_Surface * get_building_surface(const struct impr_type *pimprove)
Definition gui_tilespec.h:251
setup_auxiliary_tech_icons
void setup_auxiliary_tech_icons(void)
Definition gui_tilespec.c:379
get_citizen_surface
static SDL_Surface * get_citizen_surface(enum citizen_category type, int citizen_index)
Definition gui_tilespec.h:218
get_tax_surface
static SDL_Surface * get_tax_surface(Output_type_id otype)
Definition gui_tilespec.h:269
current_theme
struct theme_icons * current_theme
Definition fc_client.cpp:64
tilespec_setup_city_gfx
void tilespec_setup_city_gfx(void)
Definition gui_tilespec.c:135
get_nation_flag_surface
static SDL_Surface * get_nation_flag_surface(const struct nation_type *pnation)
Definition gui_tilespec.h:227
get_unittype_surface
static SDL_Surface * get_unittype_surface(const struct unit_type *punittype, enum direction8 facing)
Definition gui_tilespec.h:259
get_tech_color
SDL_Color * get_tech_color(Tech_type_id tech_id)
Definition gui_tilespec.c:453
draw_intro_gfx
void draw_intro_gfx(void)
Definition gui_tilespec.c:484
get_sample_city_surface
static SDL_Surface * get_sample_city_surface(int city_style)
Definition gui_tilespec.h:243
tilespec_free_city_icons
void tilespec_free_city_icons(void)
Definition gui_tilespec.c:227
tilespec_setup_theme
void tilespec_setup_theme(void)
Definition gui_tilespec.c:261
tilespec_free_city_gfx
void tilespec_free_city_gfx(void)
Definition gui_tilespec.c:149
tilespec_setup_city_icons
void tilespec_setup_city_icons(void)
Definition gui_tilespec.c:160
tilespec_free_theme
void tilespec_free_theme(void)
Definition gui_tilespec.c:366
get_tech_icon
SDL_Surface * get_tech_icon(Tech_type_id tech)
Definition gui_tilespec.c:429
reload_citizens_icons
void reload_citizens_icons(int style)
Definition gui_tilespec.c:126
get_city_gfx
SDL_Surface * get_city_gfx(void)
Definition gui_tilespec.c:476
free_auxiliary_tech_icons
void free_auxiliary_tech_icons(void)
Definition gui_tilespec.c:419
GET_SURF
#define GET_SURF(m_sprite)
Definition sprite.h:29
graphics.h
sprite.h
city_icon
Definition gui_tilespec.h:148
city_icon::pollution
SDL_Surface * pollution
Definition gui_tilespec.h:175
city_icon::shield
SDL_Surface * shield
Definition gui_tilespec.h:167
city_icon::coint
SDL_Surface * coint
Definition gui_tilespec.h:170
city_icon::big_trade_corr
SDL_Surface * big_trade_corr
Definition gui_tilespec.h:153
city_icon::trade
SDL_Surface * trade
Definition gui_tilespec.h:168
city_icon::big_shield_corr
SDL_Surface * big_shield_corr
Definition gui_tilespec.h:152
city_icon::big_trade
SDL_Surface * big_trade
Definition gui_tilespec.h:156
city_icon::face
SDL_Surface * face
Definition gui_tilespec.h:172
city_icon::food
SDL_Surface * food
Definition gui_tilespec.h:166
city_icon::female_angry
SDL_Surface * female_angry
Definition gui_tilespec.h:187
city_icon::big_shield
SDL_Surface * big_shield
Definition gui_tilespec.h:155
city_icon::specialists
SDL_Surface * specialists[SP_MAX]
Definition gui_tilespec.h:189
city_icon::female_happy
SDL_Surface * female_happy
Definition gui_tilespec.h:181
city_icon::big_luxury
SDL_Surface * big_luxury
Definition gui_tilespec.h:157
city_icon::female_content
SDL_Surface * female_content
Definition gui_tilespec.h:183
city_icon::police
SDL_Surface * police
Definition gui_tilespec.h:176
city_icon::style
int style
Definition gui_tilespec.h:149
city_icon::pBIG_Face
SDL_Surface * pBIG_Face
Definition gui_tilespec.h:160
city_icon::big_colb
SDL_Surface * big_colb
Definition gui_tilespec.h:159
city_icon::big_coin_upkeep
SDL_Surface * big_coin_upkeep
Definition gui_tilespec.h:162
city_icon::pLuxury
SDL_Surface * pLuxury
Definition gui_tilespec.h:169
city_icon::female_unhappy
SDL_Surface * female_unhappy
Definition gui_tilespec.h:185
city_icon::male_unhappy
SDL_Surface * male_unhappy
Definition gui_tilespec.h:184
city_icon::male_content
SDL_Surface * male_content
Definition gui_tilespec.h:182
city_icon::big_food
SDL_Surface * big_food
Definition gui_tilespec.h:154
city_icon::big_coin_corr
SDL_Surface * big_coin_corr
Definition gui_tilespec.h:161
city_icon::male_happy
SDL_Surface * male_happy
Definition gui_tilespec.h:180
city_icon::big_coin
SDL_Surface * big_coin
Definition gui_tilespec.h:158
city_icon::big_food_corr
SDL_Surface * big_food_corr
Definition gui_tilespec.h:151
city_icon::male_angry
SDL_Surface * male_angry
Definition gui_tilespec.h:186
city_icon::big_food_surplus
SDL_Surface * big_food_surplus
Definition gui_tilespec.h:164
city_icon::pColb
SDL_Surface * pColb
Definition gui_tilespec.h:171
city_icon::worklist
SDL_Surface * worklist
Definition gui_tilespec.h:177
city_icon::big_shield_surplus
SDL_Surface * big_shield_surplus
Definition gui_tilespec.h:163
government
Definition government.h:52
impr_type
Definition improvement.h:50
nation_type
Definition nation.h:98
theme_icons
Definition gui_tilespec.h:39
theme_icons::o_load_icon
SDL_Surface * o_load_icon
Definition gui_tilespec.h:145
theme_icons::block
SDL_Surface * block
Definition gui_tilespec.h:79
theme_icons::OAirLift_Icon
SDL_Surface * OAirLift_Icon
Definition gui_tilespec.h:144
theme_icons::back_icon
SDL_Surface * back_icon
Definition gui_tilespec.h:71
theme_icons::new_turn_icon
SDL_Surface * new_turn_icon
Definition gui_tilespec.h:86
theme_icons::o_autoconnect_icon
SDL_Surface * o_autoconnect_icon
Definition gui_tilespec.h:114
theme_icons::o_autoexp_icon
SDL_Surface * o_autoexp_icon
Definition gui_tilespec.h:112
theme_icons::o_nuke_icon
SDL_Surface * o_nuke_icon
Definition gui_tilespec.h:133
theme_icons::o_sentry_icon
SDL_Surface * o_sentry_icon
Definition gui_tilespec.h:125
theme_icons::l_arrow_icon
SDL_Surface * l_arrow_icon
Definition gui_tilespec.h:74
theme_icons::o_clean_icon
SDL_Surface * o_clean_icon
Definition gui_tilespec.h:135
theme_icons::o_done_icon
SDL_Surface * o_done_icon
Definition gui_tilespec.h:111
theme_icons::edit
SDL_Surface * edit
Definition gui_tilespec.h:51
theme_icons::prod_icon
SDL_Surface * prod_icon
Definition gui_tilespec.h:99
theme_icons::lock_icon
SDL_Surface * lock_icon
Definition gui_tilespec.h:75
theme_icons::small_cancel_icon
SDL_Surface * small_cancel_icon
Definition gui_tilespec.h:69
theme_icons::o_railroad_icon
SDL_Surface * o_railroad_icon
Definition gui_tilespec.h:130
theme_icons::o_goto_city_icon
SDL_Surface * o_goto_city_icon
Definition gui_tilespec.h:117
theme_icons::cbox_unsell_icon
SDL_Surface * cbox_unsell_icon
Definition gui_tilespec.h:55
theme_icons::fr_top
SDL_Surface * fr_top
Definition gui_tilespec.h:44
theme_icons::units2_icon
SDL_Surface * units2_icon
Definition gui_tilespec.h:84
theme_icons::small_ok_icon
SDL_Surface * small_ok_icon
Definition gui_tilespec.h:68
theme_icons::delete_icon
SDL_Surface * delete_icon
Definition gui_tilespec.h:89
theme_icons::o_disband_icon
SDL_Surface * o_disband_icon
Definition gui_tilespec.h:109
theme_icons::o_road_icon
SDL_Surface * o_road_icon
Definition gui_tilespec.h:129
theme_icons::order_icon
SDL_Surface * order_icon
Definition gui_tilespec.h:108
theme_icons::log_icon
SDL_Surface * log_icon
Definition gui_tilespec.h:82
theme_icons::button
SDL_Surface * button
Definition gui_tilespec.h:48
theme_icons::down_icon
SDL_Surface * down_icon
Definition gui_tilespec.h:59
theme_icons::o_return_icon
SDL_Surface * o_return_icon
Definition gui_tilespec.h:143
theme_icons::o_homecity_icon
SDL_Surface * o_homecity_icon
Definition gui_tilespec.h:119
theme_icons::fr_right
SDL_Surface * fr_right
Definition gui_tilespec.h:43
theme_icons::cbox_sell_icon
SDL_Surface * cbox_sell_icon
Definition gui_tilespec.h:54
theme_icons::FORWARD_Icon
SDL_Surface * FORWARD_Icon
Definition gui_tilespec.h:70
theme_icons::info_icon
SDL_Surface * info_icon
Definition gui_tilespec.h:72
theme_icons::o_cultivate_icon
SDL_Surface * o_cultivate_icon
Definition gui_tilespec.h:127
theme_icons::ok_icon
SDL_Surface * ok_icon
Definition gui_tilespec.h:66
theme_icons::army_icon
SDL_Surface * army_icon
Definition gui_tilespec.h:95
theme_icons::OPlantForest_Icon
SDL_Surface * OPlantForest_Icon
Definition gui_tilespec.h:122
theme_icons::up_icon
SDL_Surface * up_icon
Definition gui_tilespec.h:58
theme_icons::r_arrow_icon
SDL_Surface * r_arrow_icon
Definition gui_tilespec.h:73
theme_icons::fr_bottom
SDL_Surface * fr_bottom
Definition gui_tilespec.h:45
theme_icons::o_transform_icon
SDL_Surface * o_transform_icon
Definition gui_tilespec.h:137
theme_icons::OCutDownForest_Icon
SDL_Surface * OCutDownForest_Icon
Definition gui_tilespec.h:123
theme_icons::o_patrol_icon
SDL_Surface * o_patrol_icon
Definition gui_tilespec.h:120
theme_icons::o_mine_icon
SDL_Surface * o_mine_icon
Definition gui_tilespec.h:121
theme_icons::horiz
SDL_Surface * horiz
Definition gui_tilespec.h:63
theme_icons::o_fortify_icon
SDL_Surface * o_fortify_icon
Definition gui_tilespec.h:124
theme_icons::cancel_pact_icon
SDL_Surface * cancel_pact_icon
Definition gui_tilespec.h:105
theme_icons::fr_left
SDL_Surface * fr_left
Definition gui_tilespec.h:42
theme_icons::o_fortress_icon
SDL_Surface * o_fortress_icon
Definition gui_tilespec.h:134
theme_icons::map_icon
SDL_Surface * map_icon
Definition gui_tilespec.h:81
theme_icons::support_icon
SDL_Surface * support_icon
Definition gui_tilespec.h:96
theme_icons::buy_prod_icon
SDL_Surface * buy_prod_icon
Definition gui_tilespec.h:101
theme_icons::o_trade_icon
SDL_Surface * o_trade_icon
Definition gui_tilespec.h:140
theme_icons::left_icon
SDL_Surface * left_icon
Definition gui_tilespec.h:60
theme_icons::o_wonder_icon
SDL_Surface * o_wonder_icon
Definition gui_tilespec.h:139
theme_icons::qprod_icon
SDL_Surface * qprod_icon
Definition gui_tilespec.h:100
theme_icons::units_icon
SDL_Surface * units_icon
Definition gui_tilespec.h:80
theme_icons::o_autowork_icon
SDL_Surface * o_autowork_icon
Definition gui_tilespec.h:113
theme_icons::OAddCity_Icon
SDL_Surface * OAddCity_Icon
Definition gui_tilespec.h:138
theme_icons::options_icon
SDL_Surface * options_icon
Definition gui_tilespec.h:78
theme_icons::vertic
SDL_Surface * vertic
Definition gui_tilespec.h:62
theme_icons::cancel_icon
SDL_Surface * cancel_icon
Definition gui_tilespec.h:67
theme_icons::unlock_icon
SDL_Surface * unlock_icon
Definition gui_tilespec.h:76
theme_icons::o_spy_icon
SDL_Surface * o_spy_icon
Definition gui_tilespec.h:141
theme_icons::right_icon
SDL_Surface * right_icon
Definition gui_tilespec.h:61
theme_icons::o_airbase_icon
SDL_Surface * o_airbase_icon
Definition gui_tilespec.h:136
theme_icons::save_icon
SDL_Surface * save_icon
Definition gui_tilespec.h:87
theme_icons::o_paradrop_icon
SDL_Surface * o_paradrop_icon
Definition gui_tilespec.h:132
theme_icons::happy_icon
SDL_Surface * happy_icon
Definition gui_tilespec.h:97
theme_icons::players_icon
SDL_Surface * players_icon
Definition gui_tilespec.h:83
theme_icons::find_city_icon
SDL_Surface * find_city_icon
Definition gui_tilespec.h:85
theme_icons::o_irrigation_icon
SDL_Surface * o_irrigation_icon
Definition gui_tilespec.h:126
theme_icons::o_pillage_icon
SDL_Surface * o_pillage_icon
Definition gui_tilespec.h:131
theme_icons::cma_icon
SDL_Surface * cma_icon
Definition gui_tilespec.h:98
theme_icons::load_icon
SDL_Surface * load_icon
Definition gui_tilespec.h:88
theme_icons::tech_tree_icon
SDL_Surface * tech_tree_icon
Definition gui_tilespec.h:92
theme_icons::o_plant_icon
SDL_Surface * o_plant_icon
Definition gui_tilespec.h:128
theme_icons::o_goto_icon
SDL_Surface * o_goto_icon
Definition gui_tilespec.h:118
theme_icons::o_wait_icon
SDL_Surface * o_wait_icon
Definition gui_tilespec.h:110
theme_icons::o_unload_icon
SDL_Surface * o_unload_icon
Definition gui_tilespec.h:115
theme_icons::ok_pact_icon
SDL_Surface * ok_pact_icon
Definition gui_tilespec.h:104
theme_icons::o_build_city_icon
SDL_Surface * o_build_city_icon
Definition gui_tilespec.h:116
theme_icons::o_wakeup_icon
SDL_Surface * o_wakeup_icon
Definition gui_tilespec.h:142
tileset
Definition tilespec.c:482
unit_type
Definition unittype.h:507
city_style
int city_style(struct city *pcity)
Definition style.c:241
get_government_sprite
struct sprite * get_government_sprite(const struct tileset *t, const struct government *gov)
Definition tilespec.c:6832
get_building_sprite
struct sprite * get_building_sprite(const struct tileset *t, const struct impr_type *pimprove)
Definition tilespec.c:6822
get_sample_city_sprite
struct sprite * get_sample_city_sprite(const struct tileset *t, int style_idx)
Definition tilespec.c:6890
get_tax_sprite
struct sprite * get_tax_sprite(const struct tileset *t, Output_type_id otype)
Definition tilespec.c:6918
get_citizen_sprite
struct sprite * get_citizen_sprite(const struct tileset *t, enum citizen_category type, int citizen_index, const struct city *pcity)
Definition tilespec.c:6761
get_unittype_sprite
struct sprite * get_unittype_sprite(const struct tileset *t, const struct unit_type *punittype, enum unit_activity activity, enum direction8 facing)
Definition tilespec.c:6844
get_nation_flag_sprite
struct sprite * get_nation_flag_sprite(const struct tileset *t, const struct nation_type *pnation)
Definition tilespec.c:6795
tilespec.h