18 #define OVERVIEW_TILE_WIDTH ((MAP_IS_ISOMETRIC ? 2 : 1) * OVERVIEW_TILE_SIZE)
19 #define OVERVIEW_TILE_HEIGHT OVERVIEW_TILE_SIZE
33 double *ntl_y,
int gui_x,
int gui_y);
35 int gui_x,
int gui_y);
void overview_init()
Allocates overview resources.
void overview_to_map_pos(int *map_x, int *map_y, int overview_x, int overview_y)
Finds the map coordinates for a given overview (canvas) position.
void gui_to_overview_pos(const struct tileset *t, int *ovr_x, int *ovr_y, int gui_x, int gui_y)
Translate from gui to overview coordinate systems.
void overview_redraw_callback(struct option *option)
Callback to be called when an overview option is changed.
void refresh_overview_canvas()
Redraw the entire backing store for the overview minimap.
void flush_dirty_overview()
Redraw the overview if it is "dirty".
void overview_free()
Free overview resources.
void calculate_overview_dimensions()
Called if the map size is know or changes.
void gui_to_natural_pos(const struct tileset *t, double *ntl_x, double *ntl_y, int gui_x, int gui_y)
Translate from gui to natural coordinate systems.
The base class for options.