Crossfire Server, Branches 1.12  R18729
MapSpace Struct Reference

#include <map.h>

+ Collaboration diagram for MapSpace:

Data Fields

objectbottom
 
objectfaces_obj [MAP_LAYERS]
 
uint8 flags
 
sint8 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 279 of file map.h.

Field Documentation

object* MapSpace::bottom

Lowest object on this space.

Definition at line 280 of file map.h.

object* MapSpace::faces_obj[MAP_LAYERS]

Face objects for the layers.

Definition at line 282 of file map.h.

uint8 MapSpace::flags

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

Definition at line 283 of file map.h.

Referenced by blocked_link(), and get_map_flags().

sint8 MapSpace::light

How much light this space provides.

Definition at line 284 of file map.h.

MoveType MapSpace::move_block

What movement types this space blocks.

Definition at line 285 of file map.h.

MoveType MapSpace::move_off

What movement types are activated.

Definition at line 288 of file map.h.

MoveType MapSpace::move_on

What movement types are activated.

Definition at line 287 of file map.h.

MoveType MapSpace::move_slow

What movement types this space slows.

Definition at line 286 of file map.h.

object* MapSpace::pl

Definition at line 289 of file map.h.

object* MapSpace::top

Highest object on this space.

Definition at line 281 of file map.h.


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