Commit Graph

2833 Commits

Author SHA1 Message Date
Dustin Carlino
7833346fa2 cleaning up speed controls 2019-10-30 18:15:03 -07:00
Dustin Carlino
a94e210c22 changing speed controls to be a panel of manually arranged buttons. not
done, but functionality is cutover. fix details later.
2019-10-30 15:01:11 -07:00
Dustin Carlino
9d828abbd0 move bus explorer to sandbox mode. make it start at the current stop 2019-10-30 12:20:04 -07:00
Dustin Carlino
6ffa5fbf6e move savestating under a save menu 2019-10-30 10:26:44 -07:00
Dustin Carlino
9995bed6ab improve dead-ends by using a shared sidewalk corner, not a crosswalk 2019-10-30 10:10:28 -07:00
Dustin Carlino
1d5064ca1b track all bus arrivals, show distribution. track total number of
passengers per route
2019-10-29 22:11:56 -07:00
Dustin Carlino
7faeafd998 nice hatching for construction lanes, hackily encoded 2019-10-29 17:19:36 -07:00
Dustin Carlino
a5892daedb add a new lane type for road closures 2019-10-29 17:04:57 -07:00
Dustin Carlino
d757b45bff manually workaround y inversion with stretched textures by modifying the
images
2019-10-29 16:36:19 -07:00
Dustin Carlino
0575e57584 tweaks to buttons 2019-10-29 15:45:26 -07:00
Dustin Carlino
aae6d6d998 cleanup: collapse the old separated modal menu groups 2019-10-29 15:37:19 -07:00
Dustin Carlino
c2fd82328a move more controls under a general menu 2019-10-29 15:31:55 -07:00
Dustin Carlino
7574869798 tie together a popup menu and a button in a really simple way. move some
info and location things there
2019-10-29 15:14:17 -07:00
Dustin Carlino
00253d2783 using textures for the hide/show buttons. making it easier to sometimes
upload expensive textures. draw show/hide buttons on top of modal menus,
even when they sometimes overlap.
2019-10-29 13:47:04 -07:00
Dustin Carlino
49ecf2e792 move time stepping controls to speed panel, where they belong 2019-10-29 13:08:59 -07:00
Dustin Carlino
573fc4dc35 redo zooming towards mouse. support zooming really far out, useful for
huge_seattle
2019-10-29 11:50:29 -07:00
Dustin Carlino
00c9575f0e fix lake washington in the huge_seattle slice in the simplest way, by adjusting the boundary. later have to support the coastline dipping in and out of the boundary multiple times 2019-10-29 11:23:12 -07:00
Dustin Carlino
b3611707c8 transforming fixes into huge_seattle coordinate space, to avoid most
border issues.
2019-10-28 22:26:39 -07:00
Dustin Carlino
8e4bc6961b montlake is completely fixed of short roads! also turn restrictions
around 520, crosswalks over 2 one-ways, decided to use one fix file per
map
2019-10-28 19:08:44 -07:00
Dustin Carlino
41d9588266 apply zorder in unzoomed view 2019-10-28 17:30:43 -07:00
Dustin Carlino
ca43e6fb43 woops, wasnt deleting turn restrictions from world layer. fix up
montlake/520 once again, modulo turn restrictions
2019-10-28 16:16:25 -07:00
Dustin Carlino
6771c965b4 fix bug in road creation. montlake roundabout as the test case. 2019-10-28 14:42:18 -07:00
Dustin Carlino
1f7c113267 fix road merging. simpler now that roads only have one object
associated. require turn restrictions to be deleted first. fix the
boston area as a test
2019-10-28 14:33:10 -07:00
Dustin Carlino
6f50cbaa30 finishing the big cutover from stable to original IDs. main path works,
now looking at map editor
2019-10-28 12:40:09 -07:00
Dustin Carlino
ea50371d64 rip out stable IDs in favor of orig IDs. the extra layer is confusing for things like MapFixes. stop modifying orig IDs when merging roads.
NOT done with this transition yet, just pushing to not lose work
2019-10-28 12:08:11 -07:00
Dustin Carlino
ecc86b6d6a revamping MapFixes. very straightforward full override of synthetic/normal stuff, including geometry. no more semantically weird hints like merging roads. some bugs left. 2019-10-27 17:15:27 -07:00
Dustin Carlino
75e155fec6 filter out parking lanes without any sidewalks at all nearby (and also
warn about them)
2019-10-26 17:53:09 -07:00
Dustin Carlino
9cfd22d5e0 allow creating new internal points for roads in the editor 2019-10-26 16:32:01 -07:00
Dustin Carlino
0d948cef91 share camera state between game and map_editor 2019-10-26 16:16:32 -07:00
Dustin Carlino
e881d13014 find all the short lanes, from map_editor 2019-10-26 15:01:27 -07:00
Dustin Carlino
4d2f77e90c simple heatmapish overlay to show the bike lane network 2019-10-26 13:04:58 -07:00
Dustin Carlino
ee02ff9944 display when a bus last served a stop. move some of these analytics to
be owned by sim
2019-10-26 12:33:00 -07:00
Dustin Carlino
7d7bfef5ea filter out parking garages with 0 spots. render water on top of parks,
to workaround issue of the green lake park polygon covering everything
up
2019-10-26 11:37:10 -07:00
Dustin Carlino
1a4cf8c1a0 fix crash in all trip viz. path request might not even be possible 2019-10-26 10:29:44 -07:00
Dustin Carlino
06ebf3cb2c switch from osmosis to osmconvert in import scripts; it's SO much faster 2019-10-26 09:52:36 -07:00
Dustin Carlino
9a3e7dc758 handling the giant ocean polygon. actually easier after earlier! 2019-10-25 22:44:21 -07:00
Dustin Carlino
e0bb2f97e0 debug floodfill from sidewalks, now that i'm really messing with that
connectivity
2019-10-25 14:40:52 -07:00
Dustin Carlino
27ddb21bc9 best effort include multipolygons that have some pieces unused. gets a few more cases working. 2019-10-25 14:09:35 -07:00
Dustin Carlino
e03e3393dd be a little smarter about finding hits with the boundary 2019-10-25 13:54:09 -07:00
Dustin Carlino
77d0647b4f when gluing together partial multipolygons, trace along the border when possible. improves a few cases. 2019-10-25 13:46:21 -07:00
Dustin Carlino
3dfeae8b2c introduce a proper closed polyline abstraction, sub it in 2019-10-25 13:14:05 -07:00
Dustin Carlino
fe14e1709b implement PartialEq on Pt2D using the old epsilon_eq. too many places in the codebase are inconsistent. 2019-10-25 12:24:18 -07:00
Dustin Carlino
1e903c6cee pass a flag to disable using mapfixes, since it's annoying to keep temporarily deleting these 2019-10-25 10:09:47 -07:00
Dustin Carlino
814349b650 treat junction=roundabout roads as not needing sidewalk/parking confirmation 2019-10-25 09:54:20 -07:00
Dustin Carlino
5890a73a71 woops, accidentally committed deleted map fixes 2019-10-25 09:30:58 -07:00
Dustin Carlino
f107bc1241 fix parking hint application to not erase other side 2019-10-24 17:35:02 -07:00
Dustin Carlino
1a92590c28 some fixes become invalid as osm edits happen. print better errors so the fixes can be manually... fixed. and a script to grab fresh OSM data 2019-10-24 17:11:35 -07:00
Dustin Carlino
a8490aa16f tweaking some map colors 2019-10-24 16:00:27 -07:00
Dustin Carlino
cb4720946c experiment with texturing cars, with some fun UV coordinates. looks half
reasonable when it works. breaks on duplicate points, not sure what's
wrong yet
2019-10-24 14:07:03 -07:00
Dustin Carlino
90e1277152 another attempt: weighted arrows 2019-10-24 13:19:47 -07:00