/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/spatial_gridmap.dm

SPATIAL_GRID_CELLSIZEeach cell in a spatial_grid is this many turfs in length and width
SPATIAL_GRID_CONTENTS_TYPE_HEARINGeverything that is hearing sensitive is stored in this channel
SPATIAL_GRID_CONTENTS_TYPE_CLIENTSevery movable that has a client in it is stored in this channel
HAS_SPATIAL_GRID_CONTENTSwhether movable is itself or containing something which should be in one of the spatial grid channels.

Define Details

HAS_SPATIAL_GRID_CONTENTS

whether movable is itself or containing something which should be in one of the spatial grid channels.

SPATIAL_GRID_CELLSIZE

each cell in a spatial_grid is this many turfs in length and width

SPATIAL_GRID_CONTENTS_TYPE_CLIENTS

every movable that has a client in it is stored in this channel

SPATIAL_GRID_CONTENTS_TYPE_HEARING

everything that is hearing sensitive is stored in this channel