Crossfire Client, Branches
R11627
|
Data Fields | |
struct MapCellLayer | head |
uint8 | layer |
struct BigCell * | next |
struct BigCell * | prev |
struct MapCellLayer | tail |
uint16 | x |
uint16 | y |
The struct BigCell describes a tile outside the view area. head contains the head (as sent by the server), tail contains the expanded big face. tail is not set for the head cell, that is (for example) a big face with size 2x3 occupies exactly 6 entries: 1 head and 5 tails.
next and prev for a doubly linked list of all currently active entries. Unused entries are set to NULL.
x, y, and layer contain the position of the cell in the bigfaces[] array. This information allows to find the corresponding bigfaces[] cell when iterating through the next pointers.
struct MapCellLayer BigCell::head |
Definition at line 89 of file mapdata.c.
Referenced by expand_clear_bigface(), expand_clear_bigface_from_layer(), expand_set_bigface(), mapdata_animation(), mapdata_bigface(), mapdata_bigface_head(), mapdata_init(), and mapdata_scroll().
uint8 BigCell::layer |
Definition at line 93 of file mapdata.c.
Referenced by mapdata_animation(), mapdata_bigface(), mapdata_bigface_head(), mapdata_init(), mapdata_newmap(), and mapdata_scroll().
struct BigCell* BigCell::next |
Definition at line 86 of file mapdata.c.
Referenced by expand_clear_bigface_from_layer(), expand_set_bigface(), mapdata_init(), and mapdata_scroll().
struct BigCell* BigCell::prev |
Definition at line 87 of file mapdata.c.
Referenced by expand_clear_bigface_from_layer(), expand_set_bigface(), and mapdata_init().
struct MapCellLayer BigCell::tail |
Definition at line 90 of file mapdata.c.
Referenced by expand_clear_bigface(), expand_set_bigface(), mapdata_bigface(), and mapdata_init().
uint16 BigCell::x |
Definition at line 92 of file mapdata.c.
Referenced by mapdata_animation(), mapdata_bigface(), mapdata_bigface_head(), mapdata_init(), mapdata_newmap(), and mapdata_scroll().
uint16 BigCell::y |
Definition at line 92 of file mapdata.c.
Referenced by mapdata_animation(), mapdata_bigface(), mapdata_bigface_head(), mapdata_init(), mapdata_newmap(), and mapdata_scroll().