Atrinik Server  4.0
Data Fields
MapSpace_s Struct Reference

#include <map.h>

Data Fields

objectlayer [NUM_REAL_LAYERS]
struct MapSpace_sprev_light
struct MapSpace_snext_light
uint32_t round_tag [NUM_SUB_LAYERS]
tag_t map_info_count
tag_t sound_ambient_count
uint32_t update_tile
int32_t light_source
int32_t light_value
int flags
int16_t last_damage [NUM_SUB_LAYERS]
uint16_t move_flags
uint8_t extra_flags

Detailed Description

Single tile on a map

Definition at line 334 of file map.h.

Field Documentation

uint8_t MapSpace_s::extra_flags

Extra flags from Map space extra flags.

Definition at line 390 of file map.h.

object* MapSpace_s::first

Start of the objects on this map tile

Definition at line 336 of file map.h.

int MapSpace_s::flags

Flags about this space

See Also
Map look flags

Definition at line 381 of file map.h.

object* MapSpace_s::last

Last object in this list

Definition at line 342 of file map.h.

int16_t MapSpace_s::last_damage[NUM_SUB_LAYERS]

last_damage tmp backbuffer

Definition at line 384 of file map.h.

object* MapSpace_s::layer[NUM_REAL_LAYERS]

Array of visible layer objects.

Definition at line 339 of file map.h.

int32_t MapSpace_s::light_source

Light source counter - the higher the brighter light source here

Definition at line 369 of file map.h.

int32_t MapSpace_s::light_value

How much light is on this tile. 0 = total dark 255+ = full daylight.

Definition at line 375 of file map.h.

object* MapSpace_s::map_info

Map info object bound to this tile.

Definition at line 345 of file map.h.

tag_t MapSpace_s::map_info_count

ID of ::map_info.

Definition at line 360 of file map.h.

uint16_t MapSpace_s::move_flags

Terrain type flags (water, underwater,...)

Definition at line 387 of file map.h.

struct MapSpace_s* MapSpace_s::next_light

Used to create chained light source list.

Definition at line 354 of file map.h.

struct MapSpace_s* MapSpace_s::prev_light

Used to create chained light source list.

Definition at line 351 of file map.h.

uint32_t MapSpace_s::round_tag[NUM_SUB_LAYERS]

Tag for last_damage

Definition at line 357 of file map.h.

object* MapSpace_s::sound_ambient

Ambient sound effect object bound to this tile.

Definition at line 348 of file map.h.

tag_t MapSpace_s::sound_ambient_count

ID of ::sound_ambient.

Definition at line 363 of file map.h.

uint32_t MapSpace_s::update_tile

Counter for update tile

Definition at line 366 of file map.h.

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