# M_ClearRandom
function M_ClearRandom()Resets both Doom random-table cursors so demos and gameplay restart from the canonical deterministic sequence.
src/m_random.mlSupplies Doom's deterministic gameplay and miscellaneous pseudo-random byte streams.
doomtype.ml → src/doomtype.mlfunction M_ClearRandom()Resets both Doom random-table cursors so demos and gameplay restart from the canonical deterministic sequence.
function M_Random()Advances the independent miscellaneous random-table stream so UI effects cannot perturb gameplay determinism.
function P_Random()Advances and returns the deterministic gameplay random-table stream used by demo-synchronized simulation.
prndindexTracks the mutable prndindex value used by the m random subsystem.
rndindexTracks the mutable rndindex value used by the m random subsystem.
rndtableStores the rndtable collection used by the m random subsystem.