Crossfire Server, Trunk
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 254 of file map.h.

Field Documentation

◆ bottom

object* MapSpace::bottom

Lowest object on this space.

Definition at line 255 of file map.h.

◆ faces_obj

object* MapSpace::faces_obj[MAP_LAYERS]

Face objects for the layers.

Definition at line 257 of file map.h.

◆ flags

uint8_t MapSpace::flags

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

Definition at line 258 of file map.h.

Referenced by get_map_flags().

◆ light

int8_t MapSpace::light

How much light this space provides.

Definition at line 259 of file map.h.

◆ move_block

MoveType MapSpace::move_block

What movement types this space blocks.

Definition at line 260 of file map.h.

◆ move_off

MoveType MapSpace::move_off

What movement types are activated.

Definition at line 263 of file map.h.

◆ move_on

MoveType MapSpace::move_on

What movement types are activated.

Definition at line 262 of file map.h.

◆ move_slow

MoveType MapSpace::move_slow

What movement types this space slows.

Definition at line 261 of file map.h.

◆ pl

object* MapSpace::pl

Player who is on this space, may be NULL.

Definition at line 264 of file map.h.

◆ top

object* MapSpace::top

Highest object on this space.

Definition at line 256 of file map.h.


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