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
Michael Kirk
cf69dd0370
slightly better approach to get the cut-scene looking better
2021-02-26 16:30:14 -08:00
Michael Kirk
d99c0e0634
HACK to make cutscene look decent
2021-02-26 16:30:14 -08:00
Michael Kirk
bcba72cddf
enable new day theme, but retain legacy theme for pregame
2021-02-26 16:30:14 -08:00
Dustin Carlino
4468240564
Parallelize file compression in the updater tool. Untested, but about to stress it...
2021-02-26 15:55:41 -08:00
Dustin Carlino
603717a560
Remove the separate_cycleways experiment flag. Always import cyclepaths
...
mapped as separate OSM ways in all maps!!! #330
2021-02-26 14:58:57 -08:00
Dustin Carlino
7110c13d9f
Fix proposl links, broken by the github org move
2021-02-26 14:06:36 -08:00
Michael Kirk
4b2f3888ed
replace btn_solid w/ primary/outline as appropriate
2021-02-26 14:05:19 -08:00
Michael Kirk
6156311576
add btn_primary style
2021-02-26 14:05:19 -08:00
Michael Kirk
b2a0ba1572
logo should always be black
2021-02-26 14:05:19 -08:00
Michael Kirk
143fdc3fd5
label_underlined_text for "link" buttons
2021-02-26 14:05:19 -08:00
Michael Kirk
7e3d8bded9
per design: outline style for dropdowns
2021-02-26 14:05:19 -08:00
Michael Kirk
f5b52073fc
shade dropdown/text-fields in night mode
...
Consistent with other themes, fields in night mode should be distinct
from the panel color, a shade darker.
2021-02-26 14:05:19 -08:00
Dustin Carlino
611b0e8045
Enable separate cycleways experiment for Seattle. #330
...
Cleaned up a few unused (and out-of-date) traffic signals. No impact on
gridlock. See issue for detailed rationale and plan.
2021-02-26 13:53:24 -08:00
Dustin Carlino
8e04cada2e
actdev scenarios for the remainder of the sites.
...
Now the code can be simplified, because the scenario always exists.
2021-02-25 20:15:03 -08:00
Dustin Carlino
fb78ec19cd
Use Noto font, not ZCOOL, because it has a full set of Chinese glyphs
2021-02-25 18:06:34 -08:00
Michael Kirk
3019a6fff1
Introduce Image
component to handle themed icons ( #537 )
2021-02-25 18:06:19 -08:00
Michael Kirk
46593b01ed
theme text field (and fixup layout)
2021-02-25 17:42:04 -08:00
Michael Kirk
abf9a9ade1
STOP sign should always be white text
2021-02-25 17:42:04 -08:00
Michael Kirk
22223d4338
per design, remove separator after title
2021-02-25 17:42:04 -08:00
Michael Kirk
6b8211c3ba
theme dividers
2021-02-25 17:42:04 -08:00
Dustin Carlino
357ba15afe
Add back the zcool font so the Taipei map renders names. But this time, asynchronously load the font instead of bundling it in system assets and increasing the .wasm size. #535
...
Temporarily take on some technical debt with the new RawFileLoader...
2021-02-25 15:25:47 -08:00
Dustin Carlino
92e0c5c0af
Clean up empty directories in the updater. Especially for people
...
updating past things like the country code split, this prevents the game
from later crashing when it finds unexpected old directories.
2021-02-25 13:02:26 -08:00
Dustin Carlino
601d367c32
Import highway=track as a separate cycle+footway. We identified https://www.openstreetmap.org/way/842138587 that really affects the Poundbury site.
2021-02-25 12:59:48 -08:00
Dustin Carlino
378122a329
Specify trip purpose when importing external scenario data.
2021-02-25 11:00:43 -08:00
Dustin Carlino
0feeb3cee4
When nothing's selected, don't display anything in the status bar. Previously, it was '...', which looked clickable.
2021-02-25 10:56:02 -08:00
Dustin Carlino
0320b2be89
Little actdev fixes:
...
- when leaving edit mode, still return to actdev mode
- rename "bike network" layer to "cycling activity", to emphasize it
shows where cyclists have been going so far in the simulation and not
everything on the ground
- add tooltip with exact counts to the cycling activity layer, just like
throughput does
- add a "walking activity" button (throughput layer with filters
pre-applied)
2021-02-25 10:54:03 -08:00
Dustin Carlino
fa4d46e648
Remove the SRTM elevation data from the Seattle import. The link has expired, and I can't find a replacement. The elevation data has always been extremely incorrect, and a proper replacement for it is in the works. #82 , #534
...
Not regenerating Seattle maps yet, but next time, the elevation will be set to 0 everywhere. Should be a no-op.
2021-02-25 10:17:26 -08:00
Dustin Carlino
e0fd8dd369
Import Taipei!
2021-02-25 09:21:45 -08:00
Dustin Carlino
6bfa569923
Support changing fonts in the middle of a line. Use this to draw numeric ( #533 )
...
IDs in the status bar as bold, not red.
2021-02-25 08:57:42 -08:00
Michael Kirk
494be704da
style parking lot info like other info panels
2021-02-24 20:21:14 -08:00
Michael Kirk
a085db301b
theme minimap controls
...
Easier to style as a normal image button
2021-02-24 20:17:18 -08:00
Michael Kirk
5d7875d5be
theme spinner
2021-02-24 20:17:18 -08:00
Michael Kirk
fc4a4d1071
Fix loading screen legibility
...
long-term we should probably get all the colors from Style, but until
then just hardcode White text since all other colors are hardcoded.
2021-02-24 20:17:18 -08:00
Dustin Carlino
7e4d529872
Import all the actdev scenarios again, which have a fix for more diverse destinations.
...
Automated:
1) rm -fv `find data/system/gb/ | grep base.bin | xargs`
2) rm -fv `find data/system/gb/ | grep dutch.bin | xargs`
3) for city in allerton_bywater ashton_park aylesbury aylesham bailrigg bath_riverside bicester castlemead chapelford clackers_brook culm dickens_heath didcot dunton_hills ebbsfleet great_kneighton hampton handforth kidbrooke_village lcid long_marston micklefield newcastle_great_park poundbury priors_hall taunton_firepool taunton_garden tresham trumpington_meadows tyersal_lane upton wichelstowe wixams wynyard; do ./importer/actdev_scenarios.sh $city; done
2021-02-24 18:18:12 -08:00
Michael Kirk
ac30774b06
theme dropdowns and menus
2021-02-24 18:10:06 -08:00
Michael Kirk
c6d361c4b0
remove take_menu
2021-02-24 18:10:06 -08:00
Dustin Carlino
fa515054fb
lcid was missing a friendly map name
...
and adjust the elevation query format
2021-02-24 17:26:23 -08:00
Dustin Carlino
737019a9ec
Emit a file with points to query for an elevation service. #82
2021-02-24 15:58:10 -08:00
Dustin Carlino
5577021ee5
When merging intersections and preserving simple turn restrictions, pay
...
attention to which intersection is being destroyed. Fixes #527 --
montlake and phinney both look correct now.
Regenerating everything. Actually, Phinney now runs, so adding a 4th
prebaked map!!! But Rainier regressed -- there's an issue with the
signal heuristics that's now a problem; I'll fix later.
2021-02-24 15:16:12 -08:00
Michael Kirk
9533c10137
Theme switches
...
The main button API only allows re-writing one color of the image.
Since we need to rewrite multiple colors for the switch, I introduced a
`image_batch` for buttons which lets you do all kinds of manual
fanciness, and pass the result into the button API.
2021-02-24 14:59:47 -08:00
Michael Kirk
f34f6ab315
theme checkbox
2021-02-24 14:59:47 -08:00
Michael Kirk
d774aeae44
rename toggle/checkbox
2021-02-24 14:59:47 -08:00
Dustin Carlino
23b19fa7ce
Add a quick debug tool to find roads with no turns between them, for #527
2021-02-24 11:00:59 -08:00
Michael Kirk
3ab7fc4361
Fix tooltips and hotkey for day-theme ( #528 )
2021-02-24 10:52:57 -08:00
Dustin Carlino
ac615e97c3
Autorepair Lake Wash Blvd proposal, also broken by the service road change.
2021-02-23 20:13:36 -08:00
Dustin Carlino
b36ebec0b9
Penalize unprotected left turns at the routing layer. #494
...
I experimented on the Rainier Valley map, which recently started
gridlocking due to too many cars doing this, to tune the value. Got it
running again! The two other maps keep running, with some trips on
average getting a little slower.
2021-02-23 19:32:00 -08:00
Michael Kirk
1387a8c11f
Text gets default color from Style ( #526 )
2021-02-23 19:30:50 -08:00
Dustin Carlino
9eea3c9247
Draw corners where shoulders and sidewalks meet more carefully.
2021-02-23 14:20:59 -08:00