Refactor runtime bootstrap and ship control flows

This commit is contained in:
2026-04-03 01:12:26 -04:00
parent 0bb72bee35
commit 706e1cda8f
129 changed files with 9588 additions and 3548 deletions

View File

@@ -520,6 +520,8 @@ public sealed class SystemGenerationService
private static float Jitter(int index, int salt, float amplitude) =>
(Hash01(index, salt) * 2f - 1f) * amplitude;
// Cheap deterministic pseudo-random helper: same (index, salt) pair always maps to the same 0..1 value.
// Generation code uses it instead of a mutable RNG so each procedural choice stays stable for a given seed.
private static float Hash01(int index, int salt)
{
uint value = (uint)(index + 1);