Commit Graph

2985 Commits

Author SHA1 Message Date
Dustin Carlino
0f3191bca8 tweak pathfinding to use PathConstraints 2019-11-14 20:10:53 -08:00
Dustin Carlino
9e3f318f48 make floodfiller show reachability based on PathConstraint. start new
methods for valid turns based on PathConstraint.
2019-11-14 20:00:52 -08:00
Dustin Carlino
4c9975f8b0 be a little more precise with PathRequest 2019-11-14 19:18:22 -08:00
Dustin Carlino
354d228ceb oops, allow all speed controls even when not paused 2019-11-14 15:17:14 -08:00
Dustin Carlino
60236956c7 rm the edit impacts tool. it's better to compute and show the problems more granularly, and without using something as heavyweight as scenario trips affected 2019-11-14 13:16:56 -08:00
Dustin Carlino
ccd497848e display connectivity problems in error message state 2019-11-14 13:12:55 -08:00
Dustin Carlino
1c330d856f fix the close-intersection tool. make it check that sidewalks aren't disconnected by the change. implement un-closing an intersection for construction! 2019-11-14 13:03:33 -08:00
Dustin Carlino
98ef31fa24 disabled: import and render pedestrian traffic islands. include them in
search results.
2019-11-14 10:54:11 -08:00
Dustin Carlino
53bbf4e272 manually trim a few disconnected sidewalks 2019-11-13 15:01:53 -08:00
Dustin Carlino
238cb5fa5a move new lane code to separate file 2019-11-13 12:54:05 -08:00
Dustin Carlino
549d57f242 plumbing through some error messages for editing lanes 2019-11-13 12:45:57 -08:00
Dustin Carlino
50e7eb5c82 haha, i uh, forgot the parking button. freudian slip? 2019-11-13 12:22:31 -08:00
Dustin Carlino
7512098411 circular buttons need to act as covered areas too 2019-11-13 11:47:37 -08:00
Dustin Carlino
5afc45182b show which paint mode is active better 2019-11-13 11:18:43 -08:00
Dustin Carlino
f2388044f6 making the paint buttons do something... removed the old lane toggling.
cant mouseover anything except lanes while active
2019-11-13 09:48:51 -08:00
Dustin Carlino
0f427542c7 putting in dummy paint buttons to edit mode 2019-11-13 08:54:25 -08:00
Dustin Carlino
628111b421 show sidewalks disconnected in edit impact. prerequisite to preventing this. 2019-11-12 16:08:39 -08:00
Dustin Carlino
03d599775f clean up some crosswalks generated near roads with sidewalks only on one side 2019-11-12 15:54:47 -08:00
Dustin Carlino
c0eeb8848a still start a scenario, even if theres not enough room for all the parked cars or if some bike trips are impossible 2019-11-11 17:00:45 -08:00
Dustin Carlino
f0e715ed50 load prebaked analytics once per map 2019-11-11 15:28:50 -08:00
Dustin Carlino
65d8f9e3c6 oops, wasnt recomputing pedestrian graphs at all. but now that connectivity can change too, so... 2019-11-11 15:17:40 -08:00
Dustin Carlino
1ff80b2e20 start figuring out what impact edits have on trips in a scenario. also,
count trips with the first path failing as aborted.
2019-11-11 14:14:19 -08:00
Dustin Carlino
1c139da0e0 new release 2019-11-10 19:08:35 -08:00
Dustin Carlino
301a35e4df fix hidpi issues on mac once and for all?? 2019-11-10 18:56:00 -08:00
Dustin Carlino
6fb5fd2239 start modeling intersections closed for construction. ignore impact on trips, pathfinding, etc. bugs with applying edits, but a start. 2019-11-10 15:03:06 -08:00
Dustin Carlino
b24100caba collect and draw info on road throughput per some bucket of time. much
work needed.
2019-11-10 14:38:26 -08:00
Dustin Carlino
0fb358b38d interpret sidewalks=separate as =both for now, so the downtown map is usable again 2019-11-10 12:19:39 -08:00
Dustin Carlino
a776960e25 slightly clarify install instructions 2019-11-10 11:38:39 -08:00
Dustin Carlino
5aecb96d8f refactor turn restriction handling in map_editor... no behavioral changes yet 2019-11-09 16:10:18 -08:00
Dustin Carlino
db33e3fa33 remove geom debug mode. map_editor has superceded this 2019-11-09 14:53:36 -08:00
Dustin Carlino
32aa38d164 very slightly reducing the number of colorscheme entries... 2019-11-09 14:50:42 -08:00
Dustin Carlino
f299d38ea3 improve sidewalk heuristic -- assume larger oneway roads dont have a sidewalk on both sides 2019-11-09 14:34:31 -08:00
Dustin Carlino
5bb8e0a83b overhaul stop signs. can only toggle which roads have a stop sign or
not. no more granular control of individul turns
2019-11-09 14:20:31 -08:00
Dustin Carlino
7b2a0b87b3 just use 3 turn priorities, interpret them a bit differently.
temporarily kinda breaking stop signs
2019-11-09 13:35:55 -08:00
Dustin Carlino
e6fcc50696 better crosswalk rendering, and an overlay for finding bus lanes 2019-11-09 13:11:05 -08:00
Dustin Carlino
965037ce77 mvp of visualizing interactive sources/sinks 2019-11-08 13:16:22 -08:00
Dustin Carlino
8fa813f5c2 match agents spawning somewhere on a lane as a border intersection, so trip counting works. much simpler than the full refactor attempted in another branch. 2019-11-08 12:23:55 -08:00
Dustin Carlino
fff1068689 remove text bg in speed panel. adjust text API to remove bg color. 2019-11-08 11:56:29 -08:00
Dustin Carlino
de88805ec0 move some associated-stuff coloring to debug mode 2019-11-08 11:36:46 -08:00
Dustin Carlino
b7dd4d5ec0 stop flipping colors of cars based on stuck/moving when zoomed in 2019-11-08 09:38:38 -08:00
Dustin Carlino
c6ed4a687b adjusting how routes are shown -- thick when zoomed out, thin and dashed
when zoomed in
2019-11-08 09:32:03 -08:00
Dustin Carlino
6a5b312a07 same for correct end lanes 2019-11-07 16:32:26 -08:00
Dustin Carlino
b0dde63e57 make bulk spawner use correct start lanes 2019-11-07 16:16:04 -08:00
Dustin Carlino
863213eaf0 using trait objects to remove boilerplate 2019-11-07 13:15:59 -08:00
Dustin Carlino
5037b9e077 teasing apart some of the gameplay code 2019-11-07 13:04:35 -08:00
Dustin Carlino
9b82e7288b move load map functionality into freeform/scenario mode. hide other
things that players shouldn't see yet
2019-11-07 10:00:44 -08:00
Dustin Carlino
53d1067414 refactoring some text to compare results 2019-11-07 09:37:04 -08:00
Dustin Carlino
e82abafb70 change gridlock score to use number of finished trips 2019-11-07 08:59:29 -08:00
Dustin Carlino
5b50cac80e log scale for speed slider. thanks julian ;) 2019-11-06 14:26:10 -08:00
Dustin Carlino
255a7f735d very basic way to hover over series in a plot 2019-11-06 13:14:18 -08:00