byond - Modules - TypesDefine Details

code/__DEFINES/text.dm

MAPTEXTPrepares a text to be used for maptext. Use this so it doesn't look hideous.
MAPTEXT_VCR_OSD_MONOPrepares a text to be used for maptext, using a font that can handle larger text better.
WXH_TO_HEIGHTMacro from Lummox used to get height from a MeasureText proc
SANITIZE_FILENAMERemoves characters incompatible with file names.
STRIP_HTML_SIMPLESimply removes the < and > characters, and limits the length of the message.
SHOW_MESSAGE_VISIBLEdefines related to text related procs

Define Details

MAPTEXT

Prepares a text to be used for maptext. Use this so it doesn't look hideous.

MAPTEXT_VCR_OSD_MONO

Prepares a text to be used for maptext, using a font that can handle larger text better.

SANITIZE_FILENAME

Removes characters incompatible with file names.

SHOW_MESSAGE_VISIBLE

defines related to text related procs

STRIP_HTML_SIMPLE

Simply removes the < and > characters, and limits the length of the message.

WXH_TO_HEIGHT

Macro from Lummox used to get height from a MeasureText proc