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);
36SDL_Surface *create_city_map(struct city *pcity);
37void city_map_canvas_free(void);
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 */
char * incite_cost
Definition comments.c:75
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:320
Definition tile.h:50