Space Station 13 - Nebula13 - Modules - Types — Define Details

code/controllers/subsystems/overlays.dm

OVR_PUMP_RATIOHow many items should we process before we check for yield? Increasing this increases efficiency, but also raises risk of overrun. This was tuned for world.fps = 100, but it should be fine at lower values.
OVR_PUMP_INITInitialize state required for OVR_MC_TRY_YIELD.
OVR_MC_TRY_YIELDCheck if we need to yield to the MC. This macro will sleep or break.

Define Details

OVR_MC_TRY_YIELD

Check if we need to yield to the MC. This macro will sleep or break.

OVR_PUMP_INIT

Initialize state required for OVR_MC_TRY_YIELD.

OVR_PUMP_RATIO

How many items should we process before we check for yield? Increasing this increases efficiency, but also raises risk of overrun. This was tuned for world.fps = 100, but it should be fine at lower values.