Crossfire Server, Trunk  R20608
MapSpace Struct Reference

#include <map.h>

+ Collaboration diagram for MapSpace:

Data Fields

objectbottom
 
objectfaces_obj [MAP_LAYERS]
 
uint8_t flags
 
int8_t light
 
MoveType move_block
 
MoveType move_off
 
MoveType move_on
 
MoveType move_slow
 
objectpl
 
objecttop
 

Detailed Description

This structure contains all information related to one map square.

Definition at line 258 of file map.h.

Field Documentation

object* MapSpace::bottom

Lowest object on this space.

Definition at line 259 of file map.h.

object* MapSpace::faces_obj[MAP_LAYERS]

Face objects for the layers.

Definition at line 261 of file map.h.

uint8_t MapSpace::flags

Flags about this space (see the P_ values above).

Definition at line 262 of file map.h.

Referenced by blocked_link(), and get_map_flags().

int8_t MapSpace::light

How much light this space provides.

Definition at line 263 of file map.h.

MoveType MapSpace::move_block

What movement types this space blocks.

Definition at line 264 of file map.h.

MoveType MapSpace::move_off

What movement types are activated.

Definition at line 267 of file map.h.

MoveType MapSpace::move_on

What movement types are activated.

Definition at line 266 of file map.h.

MoveType MapSpace::move_slow

What movement types this space slows.

Definition at line 265 of file map.h.

object* MapSpace::pl

Player who is on this space, may be NULL.

Definition at line 268 of file map.h.

object* MapSpace::top

Highest object on this space.

Definition at line 260 of file map.h.


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