/tg/ Station 13 - Modules - Types — Define Details

modular_aphelion/modules/character_preview/code/rebuilds.dm

CHARACTER_PREVIEW_OVERRUN_BUDGETOf each second, how many ms rebuilds that don't fit in what is left of their tick may take, running it over.
CHARACTER_PREVIEW_OVERRUN_BURSTHow many ms of such rebuilds may build up for a burst.
CHARACTER_PREVIEW_REBUILD_OVERDUEThe longest the queue goes without a rebuild. Once it has, its oldest is rebuilt whether the tick has room or not, so a busy server still rebuilds previews, a little late, and runs a tick over for them at most this often.
/var/SScharacter_previewStarts character preview drawings, and rebuilds preview mobs in turn when many change at once.

Define Details

CHARACTER_PREVIEW_OVERRUN_BUDGET

Of each second, how many ms rebuilds that don't fit in what is left of their tick may take, running it over.

CHARACTER_PREVIEW_OVERRUN_BURST

How many ms of such rebuilds may build up for a burst.

CHARACTER_PREVIEW_REBUILD_OVERDUE

The longest the queue goes without a rebuild. Once it has, its oldest is rebuilt whether the tick has room or not, so a busy server still rebuilds previews, a little late, and runs a tick over for them at most this often.