Dustin Carlino
1f33916502
Match houses/workplaces to zones. #556
2021-03-05 11:27:25 -08:00
Dustin Carlino
aa59677ad2
Transform the UK OD and zone data from raw input into a clean structure. #556
2021-03-05 10:47:48 -08:00
Dustin Carlino
22dd1424db
Download UK OD and zone definitions. #556
2021-03-05 09:59:08 -08:00
Dustin Carlino
92b89001ab
Move road safety data to a new data/input/shared directory, so we can stop duplicating files common to many cities. About to use this for OD and zone data too. #556
2021-03-05 09:50:18 -08:00
Dustin Carlino
42bd63e79b
Lift URL and viewport code from game to map_gui. Also use it for OSM viewer and the 15min tool.
2021-03-04 13:22:09 -08:00
Dustin Carlino
0c81b31d7e
Also, just move the uber-turn viewer to debug mode.
2021-03-04 09:36:48 -08:00
Dustin Carlino
81678822bc
Clean up the old MergeIntersections experiment in the uber-turn viewer. The map_editor can now live-debug intersection geometry and merge short roads; faster to iterate there. #114
2021-03-04 09:34:00 -08:00
Dustin Carlino
6d2587c0f9
Keep the 400MB zoning parcels file in memory in the importer, instead of loading it for every single Seattle map.
2021-03-04 09:27:29 -08:00
Dustin Carlino
3875f6b542
Pick random people with the actdev 'follow someone' button, instead of focusing on the same arbitrary first match.
2021-03-04 08:56:45 -08:00
Dustin Carlino
dd42acdc28
Refactor a CityName::seattle()
2021-03-03 18:08:06 -08:00
Dustin Carlino
006ae01216
Move 4 Seattle maps into the us/huge_seattle category to reduce the size
...
of the binary releases. [rebuild]
Handle this special case in the city picker UI, prompting the player to
do the extra download. NOT yet handling the same for the community
proposal screen -- player will just see a missing file error.
2021-03-03 18:03:15 -08:00
Dustin Carlino
9e92435859
Get 2 more Seattle maps to complete without gridlock! Just had to
...
increase offstreet parking to better match the demand.
2021-03-03 14:53:04 -08:00
Dustin Carlino
9dc181a7c5
Start to detect cases when one vehicle may want to over-take a slower-moving leader. #81
2021-03-03 14:07:32 -08:00
Dustin Carlino
0c12948c86
Also grey out unhighlighted people when zoomed in. #539
2021-03-02 12:03:26 -08:00
Dustin Carlino
17e2f485b4
Add support for highlighting certain people in the simulation. For now,
...
mark random people as highlighted when background traffic is active for
actdev. #539
This changes the unzoomed rendering to "fade out" unhighlighted people.
Next up, similar change for zoomed, info panels, and trip tables.
2021-03-02 10:46:21 -08:00
Dustin Carlino
0ee22ad58e
Add a checkbox for mixing in background traffic to the actdev scenarios. No effect on the scenario yet... #539
2021-03-02 09:55:08 -08:00
Dustin Carlino
6cacaf1c8a
Actdev tweaks: flip walking/biking button order, start with 3x speed
2021-03-02 09:30:44 -08:00
Dustin Carlino
081819d86b
ATTEMPT: Don't use Bezier curves for right/left turns at tiny
...
intersections. They wind up looping back on themselves in a nonsensical
way, causing vehicles to visually glitch when moving through.
This causes lakeslice and rainier to gridlock, due to the magic of
emergent behavior. I think I upstreamed an OSM fix for lakeslice, but I
need to work on rainier before enabling this code.
2021-03-01 18:30:24 -08:00
Dustin Carlino
372b8e23d7
Tool to add lunch trips to people in an existing scenario. #539
2021-03-01 13:33:59 -08:00
Dustin Carlino
99bf415ede
Tool to add return trips for a scenario. #539
2021-03-01 12:42:17 -08:00
Dustin Carlino
18a0197fba
Just starting the skeleton of a tool to modify scenarios for #539 .
2021-03-01 11:21:45 -08:00
Dustin Carlino
c5cfe76b05
Fix turn type classification for four-way intersections that meet at
...
weird angles. This leads to really bad traffic signal heuristics, even
causing gridlock in Rainier Valley.
2021-03-01 10:57:27 -08:00
Dustin Carlino
51386d19db
new release
2021-02-28 10:43:06 -08:00
Dustin Carlino
4d048d83bd
A few misc fixes after the grand button/color refactor:
...
- Always draw traffic signal stage numbers as white, even in day mode
- Always draw loading screen text as white, in any theme
- Double the scrollbar thickness from 4px to 8px (still way thinner than
the original design)
[rebuild] [release]
2021-02-28 10:31:00 -08:00
Michael Kirk
09c98b99c7
better contrast for primary button when disabled ( #548 )
2021-02-27 21:11:03 -08:00
Michael Kirk
86799e2832
Remove StyledButtons - instead implement everything on the individual
...
ButtonStyle
2021-02-27 21:08:26 -08:00
Michael Kirk
703ab1a0e8
inline dark style since we were assigning most of the props via overrides anyway
2021-02-27 21:08:26 -08:00
Michael Kirk
11a904a4da
WIP: separate style for plain
2021-02-27 21:08:26 -08:00
Michael Kirk
6b35060dbb
inline more functionality into ButtonStyle
2021-02-27 21:08:26 -08:00
Michael Kirk
c3985ffdd1
btn_solid -> btn_tab and replace inappropriate uses
2021-02-27 21:08:26 -08:00
Michael Kirk
7fe0e521ee
Use btn_destructive.* methods instead of btn_destructive_*
2021-02-27 21:08:26 -08:00
Michael Kirk
cee0e5dbbd
Use btn_primary.* methods instead of btn_primary_*
2021-02-27 21:08:26 -08:00
Michael Kirk
87a1a3f027
fix outline for spinner (without crashing!) and cache drawable
2021-02-27 15:29:03 -08:00
Michael Kirk
088e434a0a
Revert "Fix too-thin outline of Spinner"
...
This reverts commit 9dc2b365c8
.
2021-02-27 15:29:03 -08:00
Dustin Carlino
fd41d0c573
Fix missing study areas in some actdev maps. It was just me accidentally passing in the site name with underscores.
...
I verified all sites have a study area showing up.
2021-02-27 14:50:55 -08:00
Dustin Carlino
bce3318605
Import halsnead for actdev. It needed a fix to not treat access=private
...
as a no-through-traffic zone for light rail tracks!
2021-02-27 14:35:26 -08:00
Michael Kirk
27b20c45c8
make EdgeInset f64, like other layout
...
Remove unnecessary casts to f64
2021-02-27 13:14:37 -08:00
Michael Kirk
9dc2b365c8
Fix too-thin outline of Spinner
2021-02-27 13:13:41 -08:00
Michael Kirk
1e75352ce0
Theme section bg
...
`Widget::outline` takes OutlineStyle
2021-02-27 13:13:41 -08:00
Michael Kirk
73280bc114
consolidate OutlineStyle
...
We had a lot of constants sprinkled around. This consolidates the
constants and packages the outline thickness and color into a tuple,
making for a (usually) cleaner callsite.
2021-02-27 13:13:41 -08:00
Michael Kirk
300172282b
disabled outline/plain buttons should not gain a background
2021-02-27 13:13:41 -08:00
Dustin Carlino
9984648379
Treat bicycle=designated on footways the same as bicycle=yes. And update Seattle OSM data again to pick up my fixes from yesterday. #330
2021-02-27 13:01:37 -08:00
Michael Kirk
c0fe742810
section styling for lane panel
2021-02-27 10:30:41 -08:00
Michael Kirk
2378da9731
theme signal editor bg
2021-02-27 10:30:41 -08:00
Dustin Carlino
65f970a638
Bring in fresh OSM for Krakow and Seattle, to test various fixes for separate cyclepaths. #330
...
... Except geofabrik missed most of my changes in Seattle. Oh well,
smaller diff when I retry tomorrow.
2021-02-26 21:17:54 -08:00
Michael Kirk
5f3c914e28
Pad SliderArea so it doesn't overlap neighboring elements
...
and shrink it down just a bit to be more in scale with other UI
2021-02-26 18:59:19 -08:00
Michael Kirk
bee4989a5d
make area slider wider than scrollbars
2021-02-26 18:59:19 -08:00
Michael Kirk
cae7f55ba4
theme slider/scrollbars
2021-02-26 18:59:19 -08:00
Dustin Carlino
3a63c11303
Treat footways that allow bikes the same as the other shared-use trails. #330
...
This gets most of the Burke (and other trails) imported, though there
are still some lingering connectivity problems.
2021-02-26 17:23:21 -08:00
Michael Kirk
7f3c07f601
better tab legibility
2021-02-26 16:30:14 -08:00