Freeciv-3.2: /fast/freeciv/nightly/S3_2/client/gui-sdl3/mapview.h Source File

Freeciv-3.2

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/* SDL3 */
26#include <SDL3/SDL.h>
27
28/* common */
29#include "unitlist.h"
30
31/* client */
32#include "mapview_g.h"
33#include "mapview_common.h"
34
35void redraw_unit_info_label(struct unit_list *punitlist);
36 SDL_Surface *create_city_map(struct city *pcity);
37void city_map_canvas_free(void);
38 SDL_Surface *get_terrain_surface(struct tile *ptile);
39void refresh_overview(void);
40
41void flush_rect(SDL_Rect *rect, bool force_flush);
42void dirty_sdl_rect(SDL_Rect *rect);
43void unqueue_flush(void);
44void queue_flush(void);
45void flush_all(void);
46
47#endif /* FC__MAPVIEW_H */
incite_cost
char * incite_cost
Definition comments.c:74
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:320
tile
Definition tile.h:50
unitlist.h