diff --git a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html index 7e5664ca58..561130ba9b 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,3 +1,3 @@ game::pregame::built_info::BUILT_TIME_UTC - Rust

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Wed, 28 Oct 2020 23:23:41 +0000";

The built-time in RFC2822, UTC

+ Change settings

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Thu, 29 Oct 2020 16:39:36 +0000";

The built-time in RFC2822, UTC

\ No newline at end of file diff --git a/rustdoc/headless/struct.LoadSim.html b/rustdoc/headless/struct.LoadSim.html index 32545f236f..d6f1b1fe59 100644 --- a/rustdoc/headless/struct.LoadSim.html +++ b/rustdoc/headless/struct.LoadSim.html @@ -3,10 +3,10 @@ scenario: String, modifiers: Vec<ScenarioModifier>, edits: Option<PermanentMapEdits>, - rng_seed: u8, + rng_seed: u64, opts: SimOptions, }

- Fields

scenario: Stringmodifiers: Vec<ScenarioModifier>edits: Option<PermanentMapEdits>rng_seed: u8opts: SimOptions

Implementations

impl LoadSim[src]

fn setup(&self, timer: &mut Timer<'_>) -> (Map, Sim)[src]

Trait Implementations

impl<'de> Deserialize<'de> for LoadSim[src]

\ No newline at end of file diff --git a/rustdoc/src/sim/make/scenario.rs.html b/rustdoc/src/sim/make/scenario.rs.html index 312ef86cdc..efc74b4557 100644 --- a/rustdoc/src/sim/make/scenario.rs.html +++ b/rustdoc/src/sim/make/scenario.rs.html @@ -1074,7 +1074,7 @@ pub fn count_parked_cars_per_bldg(&self) -> Counter<BuildingID> { let mut per_bldg = Counter::new(); // Pass in a dummy RNG - let mut rng = XorShiftRng::from_seed([0; 16]); + let mut rng = XorShiftRng::seed_from_u64(0); for p in &self.people { let (_, cars_initially_parked_at, _) = p.get_vehicles(&mut rng); for (_, b) in cars_initially_parked_at { diff --git a/rustdoc/src/sim/sim/mod.rs.html b/rustdoc/src/sim/sim/mod.rs.html index 4bea68f1e0..8078acad74 100644 --- a/rustdoc/src/sim/sim/mod.rs.html +++ b/rustdoc/src/sim/sim/mod.rs.html @@ -1200,7 +1200,7 @@ } impl SimOptions { - pub fn from_args(args: &mut CmdArgs, rng_seed: u8) -> SimOptions { + pub fn from_args(args: &mut CmdArgs, rng_seed: u64) -> SimOptions { SimOptions { run_name: args .optional("--run_name") @@ -1211,7 +1211,7 @@ break_turn_conflict_cycles: !args.enabled("--disable_break_turn_conflict_cycles"), handle_uber_turns: !args.enabled("--disable_handle_uber_turns"), enable_pandemic_model: if args.enabled("--pandemic") { - Some(XorShiftRng::from_seed([rng_seed; 16])) + Some(XorShiftRng::seed_from_u64(rng_seed)) } else { None }, diff --git a/rustdoc/src/widgetry_demo/lib.rs.html b/rustdoc/src/widgetry_demo/lib.rs.html index 810285d1c2..483d5d17eb 100644 --- a/rustdoc/src/widgetry_demo/lib.rs.html +++ b/rustdoc/src/widgetry_demo/lib.rs.html @@ -660,7 +660,7 @@ ); let mut rng = if cfg!(target_arch = "wasm32") { - XorShiftRng::from_seed([0; 16]) + XorShiftRng::seed_from_u64(0) } else { XorShiftRng::from_entropy() };