mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-07 14:14:02 -04:00
ba0ecc59aa
Refactor ShipUtils to optionally take a state pointer. Also changed random.h/cpp to be a wrapper around ShipUtils RNG providing a pointer to the rando state variable. Use ShipUtils RNG for UIWidgets GetRandomValue Fix AudioEditor to use ShipUtils RNG and its own state. It seems like shuffling Audio at the right time could have potentially messed with rando seed generation before this, but that bug, if it existed, should also be fixed with this.