From 85faa57ddaff64858b2e2bcc7f5ae6abf5b4a8ea Mon Sep 17 00:00:00 2001 From: dabreegster Date: Sun, 13 Mar 2022 18:47:47 +0000 Subject: [PATCH] deploy: 34345ce3418b48049dbb5404b8326118708e6e89 --- .../ltn/per_neighborhood/fn.handle_world_outcome.html | 2 +- rustdoc/ltn/per_neighborhood/fn.make_world.html | 2 +- rustdoc/ltn/per_neighborhood/index.html | 2 +- .../built_info/constant.BUILT_TIME_UTC.html | 2 +- rustdoc/src/ltn/per_neighborhood.rs.html | 10 +++++++--- .../build/map_gui-49fc0ec202264eb2/out/built.rs.html | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) diff --git a/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html b/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html index 87b7ddeb86..6c9fdeef45 100644 --- a/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html +++ b/rustdoc/ltn/per_neighborhood/fn.handle_world_outcome.html @@ -1,6 +1,6 @@ handle_world_outcome in ltn::per_neighborhood - Rust

Function ltn::per_neighborhood::handle_world_outcome[][src]

pub fn handle_world_outcome(
    ctx: &mut EventCtx<'_>,
    app: &mut SimpleApp<Session>,
    outcome: WorldOutcome<FilterableObj>
) -> bool
Expand description

If true, the neighborhood has changed and the caller should recalculate stuff, including the +

Function ltn::per_neighborhood::handle_world_outcome[][src]

pub fn handle_world_outcome(
    ctx: &mut EventCtx<'_>,
    app: &mut SimpleApp<Session>,
    outcome: WorldOutcome<FilterableObj>
) -> bool
Expand description

If true, the neighborhood has changed and the caller should recalculate stuff, including the panel

\ No newline at end of file diff --git a/rustdoc/ltn/per_neighborhood/fn.make_world.html b/rustdoc/ltn/per_neighborhood/fn.make_world.html index 6a2894ae57..1492b5b44a 100644 --- a/rustdoc/ltn/per_neighborhood/fn.make_world.html +++ b/rustdoc/ltn/per_neighborhood/fn.make_world.html @@ -1,6 +1,6 @@ make_world in ltn::per_neighborhood - Rust

Function ltn::per_neighborhood::make_world[][src]

pub fn make_world(
    ctx: &mut EventCtx<'_>,
    app: &SimpleApp<Session>,
    neighborhood: &Neighborhood,
    rat_runs: &RatRuns
) -> World<FilterableObj>
Expand description

Creates clickable objects for managing filters on roads and intersections. Everything is +

Function ltn::per_neighborhood::make_world[][src]

pub fn make_world(
    ctx: &mut EventCtx<'_>,
    app: &SimpleApp<Session>,
    neighborhood: &Neighborhood,
    rat_runs: &RatRuns
) -> World<FilterableObj>
Expand description

Creates clickable objects for managing filters on roads and intersections. Everything is invisible; the caller is responsible for drawing things.

\ No newline at end of file diff --git a/rustdoc/ltn/per_neighborhood/index.html b/rustdoc/ltn/per_neighborhood/index.html index 58eaf2c83d..90a0d0af4a 100644 --- a/rustdoc/ltn/per_neighborhood/index.html +++ b/rustdoc/ltn/per_neighborhood/index.html @@ -1,6 +1,6 @@ ltn::per_neighborhood - Rust

Module ltn::per_neighborhood[][src]

Enums

+

Module per_neighborhood

Module ltn::per_neighborhood[][src]

Enums

Functions

If true, the neighborhood has changed and the caller should recalculate stuff, including the panel

diff --git a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html index b90bc73564..eea0254dd3 100644 --- a/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/map_gui/tools/title_screen/built_info/constant.BUILT_TIME_UTC.html @@ -1,5 +1,5 @@ BUILT_TIME_UTC in map_gui::tools::title_screen::built_info - Rust

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Sun, 13 Mar 2022 17:43:51 +0000";
Expand description

The build time in RFC2822, UTC.

+

Constant map_gui::tools::title_screen::built_info::BUILT_TIME_UTC[][src]

pub const BUILT_TIME_UTC: &str = r"Sun, 13 Mar 2022 18:46:24 +0000";
Expand description

The build time in RFC2822, UTC.

\ No newline at end of file diff --git a/rustdoc/src/ltn/per_neighborhood.rs.html b/rustdoc/src/ltn/per_neighborhood.rs.html index e4af26c81d..e0658720d0 100644 --- a/rustdoc/src/ltn/per_neighborhood.rs.html +++ b/rustdoc/src/ltn/per_neighborhood.rs.html @@ -259,6 +259,8 @@ 257 258 259 +260 +261
use geom::Distance;
 use map_model::{IntersectionID, PathConstraints, RoadID};
 use widgetry::mapspace::{ObjectID, World, WorldOutcome};
@@ -439,14 +441,16 @@
     let mut world = World::bounded(map.get_bounds());
 
     for r in &neighborhood.orig_perimeter.interior {
+        let road = map.get_r(*r);
         world
             .add(FilterableObj::InteriorRoad(*r))
-            .hitbox(map.get_r(*r).get_thick_polygon())
+            .hitbox(road.get_thick_polygon())
             .drawn_in_master_batch()
             .hover_outline(Color::BLACK, Distance::meters(5.0))
             .tooltip(Text::from(format!(
-                "{} rat-runs cross this street",
-                rat_runs.count_per_road.get(*r)
+                "{} rat-runs cross {}",
+                rat_runs.count_per_road.get(*r),
+                road.get_name(app.opts.language.as_ref()),
             )))
             .hotkey(lctrl(Key::D), "debug")
             .clickable()
diff --git a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
index dce10d18d2..c5d659c11b 100644
--- a/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
+++ b/rustdoc/src/map_gui/home/runner/work/abstreet/abstreet/target/debug/build/map_gui-49fc0ec202264eb2/out/built.rs.html
@@ -176,7 +176,7 @@
 pub const RUSTDOC_VERSION: &str = r"rustdoc 1.59.0 (9d1b2106e 2022-02-23)";
 #[doc=r#"The build time in RFC2822, UTC."#]
 #[allow(dead_code)]
-pub const BUILT_TIME_UTC: &str = r"Sun, 13 Mar 2022 17:43:51 +0000";
+pub const BUILT_TIME_UTC: &str = r"Sun, 13 Mar 2022 18:46:24 +0000";
 #[doc=r#"The target architecture, given by `CARGO_CFG_TARGET_ARCH`."#]
 #[allow(dead_code)]
 pub const CFG_TARGET_ARCH: &str = r"x86_64";