#include <SDL2/SDL.h>
#include "unitlist.h"
#include "mapview_g.h"
#include "mapview_common.h"
Go to the source code of this file.
◆ city_map_canvas_free()
Free memory allocated for the city map canvas
Definition at line 1190 of file mapview.c.
◆ create_city_map()
Create new city map surface.
Definition at line 1201 of file mapview.c.
◆ dirty_sdl_rect()
Save Flush rect used by "end" flush.
Definition at line 181 of file mapview.c.
◆ flush_all()
flush entire screen.
Definition at line 201 of file mapview.c.
◆ flush_rect()
Flush the given part of the buffer(s) to the screen.
Definition at line 103 of file mapview.c.
◆ get_terrain_surface()
Return surface containing terrain of the tile.
Definition at line 1217 of file mapview.c.
◆ queue_flush()
Called when a region is marked dirty, this function queues a flush event to be handled later by SDL. The flush may end up being done by freeciv before then, in which case it will be a wasted call.
Definition at line 152 of file mapview.c.
◆ redraw_unit_info_label()
void redraw_unit_info_label |
( |
struct unit_list * |
punitlist | ) |
|
◆ refresh_overview()
Refresh (update) the viewrect on the overview. This is the rectangle showing the area covered by the mapview.
Definition at line 1124 of file mapview.c.
◆ unqueue_flush()
A callback invoked as a result of a FLUSH event, this function simply flushes the mapview canvas.
Definition at line 140 of file mapview.c.