diff --git a/rustdoc/game/fn.finish_app_setup.html b/rustdoc/game/fn.finish_app_setup.html index a5741cc683..ac4980443f 100644 --- a/rustdoc/game/fn.finish_app_setup.html +++ b/rustdoc/game/fn.finish_app_setup.html @@ -1,4 +1,4 @@ game::finish_app_setup - Rust

[][src]Function game::finish_app_setup

fn finish_app_setup(
    ctx: &mut EventCtx<'_>,
    app: &mut App,
    title: bool,
    start_with_edits: Option<String>,
    maybe_mode: Option<GameplayMode>,
    initialize_tutorial: bool
) -> Vec<Box<dyn State<App>>>
\ No newline at end of file + Change settings

[][src]Function game::finish_app_setup

fn finish_app_setup(
    ctx: &mut EventCtx<'_>,
    app: &mut App,
    title: bool,
    start_with_edits: Option<String>,
    maybe_mode: Option<GameplayMode>,
    initialize_tutorial: bool
) -> Vec<Box<dyn State<App>>>
\ No newline at end of file diff --git a/rustdoc/game/fn.setup_app.html b/rustdoc/game/fn.setup_app.html index a9f979d81c..77991bd9c0 100644 --- a/rustdoc/game/fn.setup_app.html +++ b/rustdoc/game/fn.setup_app.html @@ -1,4 +1,4 @@ game::setup_app - Rust

[][src]Function game::setup_app

fn setup_app(
    ctx: &mut EventCtx<'_>,
    flags: Flags,
    opts: Options,
    start_with_edits: Option<String>,
    maybe_mode: Option<GameplayMode>,
    initialize_tutorial: bool
) -> (App, Vec<Box<dyn State<App>>>)
\ No newline at end of file + Change settings

[][src]Function game::setup_app

fn setup_app(
    ctx: &mut EventCtx<'_>,
    flags: Flags,
    opts: Options,
    start_with_edits: Option<String>,
    maybe_mode: Option<GameplayMode>,
    initialize_tutorial: bool
) -> (App, Vec<Box<dyn State<App>>>)
\ No newline at end of file diff --git a/rustdoc/game/index.html b/rustdoc/game/index.html index 0a134edaff..7f2cc5ae60 100644 --- a/rustdoc/game/index.html +++ b/rustdoc/game/index.html @@ -1,7 +1,7 @@ game - Rust

[][src]Crate game

Modules

+ Change settings

[][src]Crate game

Modules

app
challenges
common
debug
devtools

This directory contains extra/experimental tools not directly related to A/B Street the game. Eventually some might be split into separate crates.

edit
info
layer
pregame
sandbox

Functions

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 08ff0e6ec5..579cae477a 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,5 +1,5 @@ game::pregame::built_info::BUILT_TIME_UTC - Rust

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

pub const BUILT_TIME_UTC: &str = "Tue, 26 Jan 2021 01:34:02 +0000";

The built-time in RFC2822, UTC

+ Change settings

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

pub const BUILT_TIME_UTC: &str = "Tue, 26 Jan 2021 21:17:36 +0000";

The built-time in RFC2822, UTC

\ No newline at end of file diff --git a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html index 635aec8654..6ec771c881 100644 --- a/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html +++ b/rustdoc/src/game/home/runner/work/abstreet/abstreet/target/debug/build/game-b5501e76eef510ad/out/built.rs.html @@ -122,7 +122,7 @@ /// The output of `rustdoc -V` pub const RUSTDOC_VERSION: &str = "rustdoc 1.49.0 (e1884a8e3 2020-12-29)"; /// The built-time in RFC2822, UTC -pub const BUILT_TIME_UTC: &str = "Tue, 26 Jan 2021 01:34:02 +0000"; +pub const BUILT_TIME_UTC: &str = "Tue, 26 Jan 2021 21:17:36 +0000"; /// The target architecture, given by `cfg!(target_arch)`. pub const CFG_TARGET_ARCH: &str = "x86_64"; /// The endianness, given by `cfg!(target_endian)`. diff --git a/rustdoc/src/game/lib.rs.html b/rustdoc/src/game/lib.rs.html index 47da979896..e69cf60e05 100644 --- a/rustdoc/src/game/lib.rs.html +++ b/rustdoc/src/game/lib.rs.html @@ -262,6 +262,8 @@ 259 260 261 +262 +263
 #[macro_use]
 extern crate anyhow;
@@ -389,6 +391,9 @@
 
     // SimFlags::load doesn't know how to do async IO, which we need on the web. But in the common
     // case, all we're creating there is a map. If so, use the proper async interface.
+    //
+    // Note if we started with a scenario, main() rewrote it to be the appropriate map, along with
+    // maybe_mode.
     if flags.sim_flags.load.contains("/maps/") {
         // Get App created with a dummy blank map
         let map = Map::blank();
@@ -427,9 +432,8 @@
         )];
         (app, states)
     } else {
-        // We're loading a savestate or a scenario or a RawMap. Do it with blocking IO. This won't
+        // We're loading a savestate or a RawMap. Do it with blocking IO. This won't
         // work on the web.
-        // TODO Handle starting from a scenario; that's also a likely useful case for the web.
         let primary = ctx.loading_screen("load map", |ctx, mut timer| {
             assert!(flags.sim_flags.modifiers.is_empty());
             let (map, sim, _) = flags.sim_flags.load(timer);