Atrinik Client  4.0
Data Fields
_mapdata Struct Reference

#include <map.h>

Data Fields

char name [HUGE_BUF]
 
char name_new [HUGE_BUF]
 
char region_name [MAX_BUF]
 
bool region_has_map
 
char region_longname [MAX_BUF]
 
char map_path [HUGE_BUF]
 
uint32_t name_fadeout_start
 
int xlen
 
int ylen
 
int posx
 
int posy
 
int height_diff: 1
 
int in_building: 1
 
uint8_t player_sub_layer
 
struct region_mapregion_map
 

Detailed Description

Map data structure

Definition at line 117 of file map.h.

Field Documentation

int _mapdata::height_diff

If set, height difference will be taken into account when rendering tiles (even if they are not FoW tiles).

Definition at line 154 of file map.h.

int _mapdata::in_building

If 1, the player is currently in a building.

Definition at line 159 of file map.h.

char _mapdata::map_path[HUGE_BUF]

Map path.

Definition at line 134 of file map.h.

char _mapdata::name[HUGE_BUF]

Map name.

Definition at line 119 of file map.h.

char _mapdata::name_new[HUGE_BUF]

New map name.

Definition at line 122 of file map.h.

uint8_t _mapdata::player_sub_layer

Player's current sub-layer.

Definition at line 164 of file map.h.

int _mapdata::posx

Position X.

Definition at line 145 of file map.h.

int _mapdata::posy

Position Y.

Definition at line 148 of file map.h.

bool _mapdata::region_has_map

Whether the region itself actually has map.

Definition at line 128 of file map.h.

char _mapdata::region_longname[MAX_BUF]

Region's long name.

Definition at line 131 of file map.h.

struct region_map* _mapdata::region_map

Region map.

Definition at line 169 of file map.h.

char _mapdata::region_name[MAX_BUF]

Region's name.

Definition at line 125 of file map.h.

int _mapdata::xlen

X length.

Definition at line 139 of file map.h.

int _mapdata::ylen

Y length.

Definition at line 142 of file map.h.


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