Freeciv-3.3
Loading...
Searching...
No Matches
mapview.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 mapview.h - description
16 -------------------
17 begin : Aug 10 2002
18 copyright : (C) 2002 by Rafał Bursig
19 email : Rafał Bursig <bursig@poczta.fm>
20***********************************************************************/
21
22#ifndef FC__MAPVIEW_H
23#define FC__MAPVIEW_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/* common */
33#include "unitlist.h"
34
35/* client */
36#include "mapview_g.h"
37#include "mapview_common.h"
38
39void redraw_unit_info_label(struct unit_list *punitlist);
41void city_map_canvas_free(void);
43void refresh_overview(void);
44
45void flush_rect(SDL_Rect *rect, bool force_flush);
46void dirty_sdl_rect(SDL_Rect *rect);
47void unqueue_flush(void);
48void queue_flush(void);
49void flush_all(void);
50
51#endif /* FC__MAPVIEW_H */
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 int const struct action *paction struct unit struct city * pcity
Definition dialogs_g.h:78
SDL_Surface * create_city_map(struct city *pcity)
Definition mapview.c:1201
void refresh_overview(void)
Definition mapview.c:1124
void dirty_sdl_rect(SDL_Rect *rect)
Definition mapview.c:181
void flush_rect(SDL_Rect *rect, bool force_flush)
Definition mapview.c:103
SDL_Surface * get_terrain_surface(struct tile *ptile)
Definition mapview.c:1217
void queue_flush(void)
Definition mapview.c:152
void redraw_unit_info_label(struct unit_list *punitlist)
Definition mapview.c:522
void unqueue_flush(void)
Definition mapview.c:140
void city_map_canvas_free(void)
Definition mapview.c:1190
void flush_all(void)
Definition mapview.c:201
Definition city.h:317
Definition tile.h:50