Atrinik Server  4.0
Data Fields
MapCell_struct Struct Reference

#include <newserver.h>

Data Fields

tag_t sound_ambient_count
 
uint8_t cleared
 
uint16_t darkness [NUM_SUB_LAYERS]
 
int16_t faces [NUM_REAL_LAYERS]
 
uint8_t quick_pos [NUM_REAL_LAYERS]
 
uint8_t flags [NUM_REAL_LAYERS]
 
uint8_t anim_speed [NUM_REAL_LAYERS]
 
uint8_t anim_facing [NUM_REAL_LAYERS]
 
uint8_t anim_flags [NUM_SUB_LAYERS]
 
uint8_t probe
 
tag_t target_object_count
 
uint8_t ext_flags
 Last ext flags.
 
uint8_t client_flags [NUM_SUB_LAYERS]
 
uint8_t anim_num
 Last number of animations sent.
 
uint8_t is_friend:NUM_SUB_LAYERS
 Friendly state cache.
 

Detailed Description

One map cell. Used to hold 'cache' of faces we already sent to the client.

Definition at line 43 of file newserver.h.

Field Documentation

uint16_t MapCell_struct::darkness[NUM_SUB_LAYERS]

Darkness cache.

Definition at line 53 of file newserver.h.

int16_t MapCell_struct::faces[NUM_REAL_LAYERS]

Faces we sent.

Definition at line 56 of file newserver.h.

uint8_t MapCell_struct::flags[NUM_REAL_LAYERS]

Flags cache.

Definition at line 62 of file newserver.h.

uint8_t MapCell_struct::probe

Probe cache. No need for an array, since this only appears for players or monsters, both on layer 6.

Definition at line 74 of file newserver.h.

uint8_t MapCell_struct::quick_pos[NUM_REAL_LAYERS]

Multi-arch cache.

Definition at line 59 of file newserver.h.

tag_t MapCell_struct::sound_ambient_count

Cache of last sent ambient sound.

Definition at line 45 of file newserver.h.

tag_t MapCell_struct::target_object_count

Possible target object UID cache.

Definition at line 79 of file newserver.h.


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