~ubuntu-branches/debian/squeeze/freeciv/squeeze

« back to all changes in this revision

Viewing changes to client/mapview_common.h

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams, Karl Goetz, Clint Adams
  • Date: 2010-02-23 22:09:02 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223220902-kiyrmr9i4152cka5
Tags: 2.2.0-1
[ Karl Goetz ]
* Remove civserver files in /etc/ggzd/ (Closes: 523772, 517787)
* Adding ${misc:Depends} to all binary packages (lintian warnings)

[ Clint Adams ]
* New upstream version.
  - Drop data_dsc_use_bindir.diff (binary pathnames have changed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#ifndef FC__MAPVIEW_COMMON_H
15
15
#define FC__MAPVIEW_COMMON_H
16
16
 
17
 
#include "shared.h"             /* bool type */
 
17
/* utility */
 
18
#include "shared.h"             /* bool type */
18
19
 
 
20
/* common */
19
21
#include "fc_types.h"
 
22
#include "featured_text.h"      /* enum text_link_type type */
20
23
#include "map.h"
21
24
 
 
25
/* include */
22
26
#include "colors_g.h"
23
27
 
24
28
#include "tilespec.h"
257
261
                 struct canvas *pcanvas, int canvas_x, int canvas_y);
258
262
 
259
263
void put_unit_city_overlays(struct unit *punit,
260
 
                            struct canvas *pcanvas,
261
 
                            int canvas_x, int canvas_y);
 
264
                            struct canvas *pcanvas,
 
265
                            int canvas_x, int canvas_y, int *upkeep_cost,
 
266
                            int happy_cost);
262
267
void toggle_city_color(struct city *pcity);
263
268
void toggle_unit_color(struct unit *punit);
264
269
 
272
277
                     int canvas_x, int canvas_y,
273
278
                     const struct city *citymode);
274
279
 
 
280
void put_drawn_sprites(struct canvas *pcanvas,
 
281
                       int canvas_x, int canvas_y,
 
282
                       int count, struct drawn_sprite *pdrawn,
 
283
                       bool fog);
 
284
 
275
285
void update_map_canvas(int canvas_x, int canvas_y, int width, int height);
276
286
void update_map_canvas_visible(void);
277
287
void update_city_description(struct city *pcity);
300
310
                                      char *growth_buffer,
301
311
                                      size_t growth_buffer_len,
302
312
                                      enum color_std *grwoth_color);
 
313
void get_city_mapview_trade_routes(struct city *pcity,
 
314
                                   char *trade_routes_buffer,
 
315
                                   size_t trade_routes_buffer_len,
 
316
                                   enum color_std *trade_routes_color);
303
317
 
304
318
bool map_canvas_resized(int width, int height);
305
319
void init_mapcanvas_and_overview(void);
308
322
void put_spaceship(struct canvas *pcanvas, int canvas_x, int canvas_y,
309
323
                   const struct player *pplayer);
310
324
 
 
325
void link_marks_init(void);
 
326
void link_marks_free(void);
 
327
 
 
328
void link_marks_draw_all(void);
 
329
void link_marks_clear_all(void);
 
330
void link_marks_decrease_turn_counters(void);
 
331
 
 
332
void link_mark_add_new(enum text_link_type type, int id);
 
333
void link_mark_restore(enum text_link_type type, int id);
 
334
 
311
335
#endif /* FC__MAPVIEW_COMMON_H */