Commit Graph

2180 Commits

Author SHA1 Message Date
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
Dustin Carlino
994cdd20ae new release 2019-06-19 14:59:57 -07:00
Dustin Carlino
5a3862dda0 expunge the concept of traffic signals being in overtime. not realistic to how people drive, the current rules allow progress without impacting safety. also disable gridlock detection -- noisy results, easier to visually spot, and slow. 2019-06-19 14:51:09 -07:00
Dustin Carlino
d72aefdc7c add more hints, trying to get a full PSRC day on 23rd to work... 2019-06-19 14:27:53 -07:00
Dustin Carlino
c90073c64a start a very primitive scoreboard for a/b tests 2019-06-19 12:42:16 -07:00
Dustin Carlino
177b33795c adjust building color, update screenshot test 2019-06-18 16:34:28 -07:00
Dustin Carlino
91cc74a30c dramatically slash the one-time preparation time for the 3 VehiclePathfinders by using the node ordering from one for the other two. this actually also exposed a bug that would eventually muck with recalculating after edits (node IDs depending on the original state of the map) 2019-06-18 16:21:35 -07:00
Dustin Carlino
7a49c585cf remove building_type and stop reading the residential permit shapefile 2019-06-18 14:58:57 -07:00
Dustin Carlino
04021f9fd1 print more complete and robust building names. adjust intersection and
building colors -- stop coloring buildings based on type (adds visual
noise, data is very bad)
2019-06-18 14:47:24 -07:00
Dustin Carlino
1835155a47 dont recalculate pathfinder after every map edit; just once at the end 2019-06-18 14:28:14 -07:00
Dustin Carlino
c2576b9ad7 disable path validation. 2.8s down to an even 2s. 2019-06-18 10:53:45 -07:00
Dustin Carlino
cdda463ee4 speed up pathfinding queries even more by reusing the PathCalculator
each thread
2019-06-18 10:25:35 -07:00