Daedalus Dock - Modules - TypesDefine Details

code/datums/chatmessage.dm

CHAT_MESSAGE_SPAWN_TIMEHow long the chat message's spawn-in animation will occur for
CHAT_MESSAGE_BUMP_TIMEHow long a "Bump" animations takes
CHAT_MESSAGE_LIFESPANHow long the chat message will exist.
CHAT_MESSAGE_EOL_FADEHow long the chat message's end of life fading animation will occur for
CHAT_MESSAGE_EXP_DECAYFactor of how much the message index (number of messages) will account to exponential decay
CHAT_MESSAGE_HEIGHT_DECAYFactor of how much height will account to exponential decay
CHAT_MESSAGE_APPROX_LHEIGHTApproximate height in pixels of an 'average' line, used for height decay
CHAT_MESSAGE_WIDTHMax width of chat message in pixels
CHAT_MESSAGE_MAX_LENGTHMax length of chat message in characters
CHAT_MESSAGE_ICON_SIZEThe dimensions of the chat message icons
CHAT_LAYERBase layer of chat elements
CHAT_LAYER_MAXHighest possible layer of chat elements
CHAT_LAYER_Z_STEPMaximum precision of float before rounding errors occur (in this context)
CHAT_LAYER_MAX_ZThe number of z-layer 'slices' usable by the chat message layering
/datum/chatmessageDatum for generating a message overlay on the map
/proc/colorize_string Gets a color for a name, will return the same color for a given string consistently within a round.atom

Define Details

CHAT_LAYER

Base layer of chat elements

CHAT_LAYER_MAX

Highest possible layer of chat elements

CHAT_LAYER_MAX_Z

The number of z-layer 'slices' usable by the chat message layering

CHAT_LAYER_Z_STEP

Maximum precision of float before rounding errors occur (in this context)

CHAT_MESSAGE_APPROX_LHEIGHT

Approximate height in pixels of an 'average' line, used for height decay

CHAT_MESSAGE_BUMP_TIME

How long a "Bump" animations takes

CHAT_MESSAGE_EOL_FADE

How long the chat message's end of life fading animation will occur for

CHAT_MESSAGE_EXP_DECAY

Factor of how much the message index (number of messages) will account to exponential decay

CHAT_MESSAGE_HEIGHT_DECAY

Factor of how much height will account to exponential decay

CHAT_MESSAGE_ICON_SIZE

The dimensions of the chat message icons

CHAT_MESSAGE_LIFESPAN

How long the chat message will exist.

CHAT_MESSAGE_MAX_LENGTH

Max length of chat message in characters

CHAT_MESSAGE_SPAWN_TIME

How long the chat message's spawn-in animation will occur for

CHAT_MESSAGE_WIDTH

Max width of chat message in pixels