code/datums/chatmessage.dm ![code/datums/chatmessage.dm0](git.png)
CHAT_MESSAGE_SPAWN_TIME | How long the chat message's spawn-in animation will occur for |
---|---|
CHAT_MESSAGE_LIFESPAN | How long the chat message will exist prior to any exponential decay |
CHAT_MESSAGE_EOL_FADE | How long the chat message's end of life fading animation will occur for |
CHAT_MESSAGE_GRACE_PERIOD | Grace period for fade before we actually delete the chat message |
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_APPROX_LHEIGHT | Approximate height in pixels of an 'average' line, used for height decay |
CHAT_MESSAGE_WIDTH | Max width of chat message in pixels |
CHAT_MESSAGE_ICON_SIZE | The dimensions of the chat message icons |
CHAT_LAYER | Base layer of chat elements |
CHAT_LAYER_MAX | Highest possible layer of chat elements |
CHAT_LAYER_Z_STEP | Maximum precision of float before rounding errors occur (in this context) |
CHAT_LAYER_MAX_Z | The number of z-layer 'slices' usable by the chat message layering |
/datum/chatmessage | Datum for generating a message overlay on the map |
Define Details
CHAT_LAYER ![code/datums/chatmessage.dm 21](git.png)
Base layer of chat elements
CHAT_LAYER_MAX ![code/datums/chatmessage.dm 23](git.png)
Highest possible layer of chat elements
CHAT_LAYER_MAX_Z ![code/datums/chatmessage.dm 27](git.png)
The number of z-layer 'slices' usable by the chat message layering
CHAT_LAYER_Z_STEP ![code/datums/chatmessage.dm 25](git.png)
Maximum precision of float before rounding errors occur (in this context)
CHAT_MESSAGE_APPROX_LHEIGHT ![code/datums/chatmessage.dm 14](git.png)
Approximate height in pixels of an 'average' line, used for height decay
CHAT_MESSAGE_EOL_FADE ![code/datums/chatmessage.dm 6](git.png)
How long the chat message's end of life fading animation will occur for
CHAT_MESSAGE_EXP_DECAY ![code/datums/chatmessage.dm 10](git.png)
Factor of how much the message index (number of messages) will account to exponential decay
CHAT_MESSAGE_GRACE_PERIOD ![code/datums/chatmessage.dm 8](git.png)
Grace period for fade before we actually delete the chat message
CHAT_MESSAGE_HEIGHT_DECAY ![code/datums/chatmessage.dm 12](git.png)
Factor of how much height will account to exponential decay
CHAT_MESSAGE_ICON_SIZE ![code/datums/chatmessage.dm 18](git.png)
The dimensions of the chat message icons
CHAT_MESSAGE_LIFESPAN ![code/datums/chatmessage.dm 4](git.png)
How long the chat message will exist prior to any exponential decay
CHAT_MESSAGE_SPAWN_TIME ![code/datums/chatmessage.dm 2](git.png)
How long the chat message's spawn-in animation will occur for
CHAT_MESSAGE_WIDTH ![code/datums/chatmessage.dm 16](git.png)
Max width of chat message in pixels