Freeciv-3.1: /fast/freeciv/nightly/S3_1/client/gui-sdl2/mapview.h Source File

Freeciv-3.1

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);
40SDL_Surface *create_city_map(struct city *pcity);
41void city_map_canvas_free(void);
42SDL_Surface *get_terrain_surface(struct tile *ptile);
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 */
create_city_map
SDL_Surface * create_city_map(struct city *pcity)
Definition mapview.c:1196
refresh_overview
void refresh_overview(void)
Definition mapview.c:1119
dirty_sdl_rect
void dirty_sdl_rect(SDL_Rect *rect)
Definition mapview.c:181
flush_rect
void flush_rect(SDL_Rect *rect, bool force_flush)
Definition mapview.c:103
get_terrain_surface
SDL_Surface * get_terrain_surface(struct tile *ptile)
Definition mapview.c:1212
queue_flush
void queue_flush(void)
Definition mapview.c:152
redraw_unit_info_label
void redraw_unit_info_label(struct unit_list *punitlist)
Definition mapview.c:517
unqueue_flush
void unqueue_flush(void)
Definition mapview.c:140
city_map_canvas_free
void city_map_canvas_free(void)
Definition mapview.c:1185
flush_all
void flush_all(void)
Definition mapview.c:201
mapview_common.h
mapview_g.h
city
Definition city.h:309
tile
Definition tile.h:49
unitlist.h