mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-24 15:02:59 +03:00
Rename some code, to trigger a [rebuild] [release]
This commit is contained in:
parent
9c9e10cc0f
commit
d6d1bb581f
@ -130,7 +130,9 @@ impl State<App> for BrowseNeighborhoods {
|
||||
return Transition::Push(crate::impact::ShowResults::new_state(ctx, app));
|
||||
}
|
||||
"Plan a route" => {
|
||||
return Transition::Push(crate::pathfinding::RoutePlanner::new_state(ctx, app));
|
||||
return Transition::Push(crate::route_planner::RoutePlanner::new_state(
|
||||
ctx, app,
|
||||
));
|
||||
}
|
||||
"Automatically place filters" => {
|
||||
ctx.loading_screen("automatically filter all neighborhoods", |ctx, timer| {
|
||||
|
@ -24,10 +24,10 @@ mod filters;
|
||||
mod impact;
|
||||
mod neighborhood;
|
||||
mod partition;
|
||||
mod pathfinding;
|
||||
mod per_neighborhood;
|
||||
mod rat_run_viewer;
|
||||
mod rat_runs;
|
||||
mod route_planner;
|
||||
mod save;
|
||||
mod select_boundary;
|
||||
|
||||
|
@ -287,7 +287,7 @@ impl PreserveState {
|
||||
Transition::Replace(BrowseNeighborhoods::new_state(ctx, app))
|
||||
}
|
||||
PreserveState::Route => {
|
||||
Transition::Replace(crate::pathfinding::RoutePlanner::new_state(ctx, app))
|
||||
Transition::Replace(crate::route_planner::RoutePlanner::new_state(ctx, app))
|
||||
}
|
||||
PreserveState::PerNeighborhood(tab, blocks) => {
|
||||
// Count which new neighborhoods have the blocks from the original. Pick the one
|
||||
|
Loading…
Reference in New Issue
Block a user