Atrinik Client  4.0
Data Fields
region_map Struct Reference

#include <region_map.h>

Data Fields

SDL_Surface * surface
 
SDL_Surface * zoomed
 
SDL_Surface * fow_zoomed
 
region_map_def_tdef
 
region_map_fow_tfow
 
int zoom
 
SDL_Rect pos
 
curl_request_t * request_png
 
curl_request_t * request_def
 

Detailed Description

Region map structure.

Definition at line 176 of file region_map.h.

Field Documentation

region_map_def_t* region_map::def

Parsed definitions.

Warning
This structure is refcounted.

Definition at line 206 of file region_map.h.

SDL_Surface* region_map::fow_zoomed

Zoomed version of the region map's fog of war state.

Not in the region_map_fow_t structure because that structure is refcounted, and different GUI elements may have different zoom levels.

Definition at line 199 of file region_map.h.

SDL_Rect region_map::pos

Coordinates for the region map image.

Definition at line 224 of file region_map.h.

curl_request_t* region_map::request_def

cURL request for downloading the region definitions.

Definition at line 234 of file region_map.h.

curl_request_t* region_map::request_png

cURL request for downloading the region map image.

Definition at line 229 of file region_map.h.

SDL_Surface* region_map::surface

Region map image.

Definition at line 182 of file region_map.h.

int region_map::zoom

Current zoom levels.

Definition at line 219 of file region_map.h.

SDL_Surface* region_map::zoomed

Zoomed version of the region map image.

Definition at line 189 of file region_map.h.


The documentation for this struct was generated from the following file: