byond - Modules - TypesDefine Details

code/__DEFINES/directional.dm

ISDIAGONALDIRReturns true if the dir is diagonal, false otherwise
NSCOMPONENTTrue if the dir is north or south, false therwise
EWCOMPONENTTrue if the dir is east/west, false otherwise
NSDIRFLIPFlips the dir for north/south directions
EWDIRFLIPFlips the dir for east/west directions
MAPPING_DIRECTIONAL_HELPERSCreate directional subtypes for a path to simplify mapping.

Define Details

EWCOMPONENT

True if the dir is east/west, false otherwise

EWDIRFLIP

Flips the dir for east/west directions

ISDIAGONALDIR

Returns true if the dir is diagonal, false otherwise

MAPPING_DIRECTIONAL_HELPERS

Create directional subtypes for a path to simplify mapping.

NSCOMPONENT

True if the dir is north or south, false therwise

NSDIRFLIP

Flips the dir for north/south directions