Commit Graph

2191 Commits

Author SHA1 Message Date
Dustin Carlino
2e41b2284e use the turn restriction data to filter more turns 2019-07-04 19:57:07 -05:00
Dustin Carlino
90236c3afb filter OSM restrictions only to roads where they really apply 2019-07-04 18:47:59 -05:00
Dustin Carlino
d1fc655aec move some methods from helpers.rs to debug/objects, the one call-site 2019-07-03 17:23:04 -05:00
Dustin Carlino
9f9db35c38 capture raw turn restriction data from OSM, hacky way to debug them 2019-07-03 17:16:00 -05:00
Dustin Carlino
f6105f3998 include OSM IDs in search results 2019-07-03 16:24:56 -05:00
Dustin Carlino
57425c170c actually use OSM turn restrictions 2019-07-03 09:44:50 -05:00
Dustin Carlino
5fa824f504 preps for interpreting turn:lanes from OSM 2019-07-02 15:03:18 -05:00
Dustin Carlino
142c34af4e interpret lanes:forward and lanes:backward from OSM 2019-07-02 14:00:54 -05:00
Dustin Carlino
f26289e176 woops, we were double-drawing in debug mode. detected by trying to screenshot everything 2019-07-01 14:37:07 -05:00
Dustin Carlino
6bb5ed4407 parking lane overrides in hints. removing parking from much of 23rd.
more involved than I anticipated, because the override changes road
width and forces us to recalc intersection polygons
2019-07-01 14:14:18 -05:00
Dustin Carlino
7349d4aaa5 use separate states for some traffic signal editor code. allow general actions even when an icon is selected 2019-06-30 11:01:01 -05:00
Dustin Carlino
e215a36bf1 adding fresh videos to README 2019-06-28 10:38:53 -05:00
Dustin Carlino
334081b844 very basic tool to explore an agent's full trip 2019-06-27 11:58:55 -07:00
Dustin Carlino
218082140f don't use a bimap for NodeMap. less dependencies, marginal speed boost 2019-06-27 10:30:56 -07:00
Dustin Carlino
ab088479dd use bincode, not json, for savestates. add loading screens around saving/loading 2019-06-27 09:56:04 -07:00
Dustin Carlino
f6dafe2118 refresh front-page README. still need to take new GIFs 2019-06-26 19:27:41 -07:00
Dustin Carlino
5e1a7238e8 preserve OSM tags when merging degenerate intersections. this lets 24th and lake washington be fixed without messing up the z-layering 2019-06-26 17:33:31 -07:00
Dustin Carlino
d08c794cfe woops, didnt use GeomBatch for all the new ModalMenu stuff 2019-06-26 15:20:25 -07:00
Dustin Carlino
9707dbd9b3 highlight search results even when unzoomed 2019-06-26 14:46:47 -07:00
Dustin Carlino
5e97c9f548 add a minimize/expand icon to modal menus 2019-06-26 12:14:43 -07:00
Dustin Carlino
8d1581241f render separators between groups of menu items. very messy
implementation, but many other ideas fell through, and this works.
2019-06-25 10:58:40 -07:00
Dustin Carlino
f7b5cf9a9f organize all modal menus into groups. dont render them yet. 2019-06-24 15:43:22 -07:00
Dustin Carlino
02c50453ad tiny anti-refactor: explicitly copy the 3 CommonState keys into the 4 places they're used 2019-06-24 15:28:37 -07:00
Dustin Carlino
b996b3773e view all routes tool in debug mode 2019-06-24 15:04:16 -07:00
Dustin Carlino
66b21c81ec use a loading screen when exiting a/b test mode, since it's so laggy 2019-06-24 14:46:06 -07:00
Dustin Carlino
36b3558db5 share agent following and route tools also 2019-06-24 14:38:37 -07:00
Dustin Carlino
b9c9a77f40 share time stepping controls btwn sandbox and abtest mode 2019-06-24 14:03:44 -07:00
Dustin Carlino
e137fcf15c refactor mouseover recalculation for the common case 2019-06-24 13:31:04 -07:00
Dustin Carlino
17460b1deb use debug mode's special baselayer drawing 2019-06-24 10:28:32 -07:00
Dustin Carlino
8c67267d28 moving time traveler over to new stackable state model. and with that,
the stackable state model is good enough!
2019-06-23 18:57:45 -07:00
Dustin Carlino
6905595a05 less work for the default InputOnly 2019-06-23 17:25:41 -07:00
Dustin Carlino
fe38f2ff97 move secondary to UI, fixing two things that needed access 2019-06-23 16:54:34 -07:00
Dustin Carlino
eac7be2028 recalculate mouseover when unhiding stuff in debug mode. can do this now
that we're not borrowing the world.
2019-06-23 09:56:02 -07:00
Dustin Carlino
e67305d084 a way to pop states and pass data back 2019-06-22 20:37:01 -07:00
Dustin Carlino
3958ec556e state transitions for nicely handling a few things... in particular,
clearing splash screen wizard state so we dont get stuck on a choice ;)
2019-06-22 20:05:12 -07:00
Dustin Carlino
551866169a make Warp and Navigate use nested states inside CommonState 2019-06-22 18:24:46 -07:00
Dustin Carlino
8250bd5a1e restore jumping to time in sandbox 2019-06-22 18:07:39 -07:00
Dustin Carlino
965a458b15 move state stuff into game.rs too 2019-06-22 17:04:23 -07:00
Dustin Carlino
6c6299c1d0 moving splash screen code to its own file 2019-06-22 13:57:38 -07:00
Dustin Carlino
665ba52d63 convert tutorial mode 2019-06-22 13:51:15 -07:00
Dustin Carlino
281a0ffcb9 converting mission mode 2019-06-22 13:42:11 -07:00
Dustin Carlino
859429a493 converting abtest mode 2019-06-22 12:59:21 -07:00
Dustin Carlino
6f2f6a3a75 converting editmode over 2019-06-22 11:36:17 -07:00
Dustin Carlino
f86e9666d5 convert DebugMode to stackable states 2019-06-22 10:30:40 -07:00
Dustin Carlino
a451c06d46 proof of concept for stackable game states. most things in splash screen
and sandbox mode converted. already feeling MUCH cleaner.
2019-06-21 16:01:07 -07:00
Dustin Carlino
0711056d89 save and restore savestates for entire a/b tests. launching from scratch
takes 33s in debug, this takes 19s
2019-06-21 12:47:00 -07:00
Dustin Carlino
284a0f8c69 dont start crossing a traffic signal if the timer will run out. optimistically move at full speed. 2019-06-20 15:36:31 -07:00
Dustin Carlino
1ce616b0be recenter when loading a different map 2019-06-20 15:19:35 -07:00
Dustin Carlino
6738de2488 draw text beneath Sliders, not in the ModalMenu 2019-06-20 14:48:32 -07:00
Dustin Carlino
220d3d57ab tool to convert to a ped scramble cycle completely 2019-06-20 12:36:26 -07:00