Crossfire Server, Trunk  1.75.0
MapSpace Struct Reference

This structure contains all information related to one map square. More...

#include <map.h>

+ Collaboration diagram for MapSpace:

Data Fields

object * bottom
 Lowest object on this space. More...
 
object * faces_obj [MAP_LAYERS]
 Face objects for the layers. More...
 
uint8_t flags
 Flags about this space (see the P_ values above). More...
 
int8_t light
 How much light this space provides. More...
 
MoveType move_block
 What movement types this space blocks. More...
 
MoveType move_off
 What movement types are activated. More...
 
MoveType move_on
 What movement types are activated. More...
 
MoveType move_slow
 What movement types this space slows. More...
 
object * pl
 Player who is on this space, may be NULL. More...
 
object * top
 Highest object on this space. More...
 

Detailed Description

This structure contains all information related to one map square.

Definition at line 261 of file map.h.

Field Documentation

◆ bottom

object* MapSpace::bottom

Lowest object on this space.

Definition at line 262 of file map.h.

◆ faces_obj

object* MapSpace::faces_obj[MAP_LAYERS]

Face objects for the layers.

Definition at line 264 of file map.h.

◆ flags

uint8_t MapSpace::flags

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

Definition at line 265 of file map.h.

Referenced by get_map_flags().

◆ light

int8_t MapSpace::light

How much light this space provides.

Definition at line 266 of file map.h.

◆ move_block

MoveType MapSpace::move_block

What movement types this space blocks.

Definition at line 267 of file map.h.

◆ move_off

MoveType MapSpace::move_off

What movement types are activated.

Definition at line 270 of file map.h.

◆ move_on

MoveType MapSpace::move_on

What movement types are activated.

Definition at line 269 of file map.h.

◆ move_slow

MoveType MapSpace::move_slow

What movement types this space slows.

Definition at line 268 of file map.h.

◆ pl

object* MapSpace::pl

Player who is on this space, may be NULL.

Definition at line 271 of file map.h.

◆ top

object* MapSpace::top

Highest object on this space.

Definition at line 263 of file map.h.


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