Dustin Carlino
|
3f2a7d6e68
|
display when a traffic signal is in overtime
|
2018-12-14 12:01:00 -08:00 |
|
Dustin Carlino
|
a8ee229793
|
fix traffic signal bugs letting TurnPriority::Banned cars in on a cycle
|
2018-12-14 11:40:18 -08:00 |
|
Dustin Carlino
|
28d025103c
|
show accepted agents when hovering over an intersection
|
2018-12-14 11:29:14 -08:00 |
|
Dustin Carlino
|
2a8842aa00
|
brief round of clippy
|
2018-12-14 11:13:05 -08:00 |
|
Dustin Carlino
|
c55faec3fe
|
more color in tooltips
|
2018-12-14 11:11:34 -08:00 |
|
Dustin Carlino
|
2b16b9571e
|
making it easier to create one-line Texts
|
2018-12-14 11:01:14 -08:00 |
|
Dustin Carlino
|
0f1c475ab7
|
simplify tutorial map, actually count cars spawning now
|
2018-12-14 10:55:21 -08:00 |
|
Dustin Carlino
|
84b136be14
|
finally letting tutorial mode listen to sim events
|
2018-12-14 10:38:14 -08:00 |
|
Dustin Carlino
|
a3a41ed186
|
move PerMapUI to state module
|
2018-12-13 15:26:02 -08:00 |
|
Dustin Carlino
|
b8ca1728e2
|
dont need PluginsPerUI; collapse it into DefaultUIState
|
2018-12-13 15:21:32 -08:00 |
|
Dustin Carlino
|
59c30ac03e
|
make tutorial mode go through its two states again
|
2018-12-13 14:59:35 -08:00 |
|
Dustin Carlino
|
7c48ec02cc
|
making tutorial UIState that just wraps and delegates, doesn't do
its own thing yet
|
2018-12-13 14:51:40 -08:00 |
|
Dustin Carlino
|
bb71418fd3
|
make UI generic over UIState
|
2018-12-13 14:30:18 -08:00 |
|
Dustin Carlino
|
28327b4905
|
another attempt to remove the list of plugins and use a struct directly. keeping active_plugin idx.
|
2018-12-13 14:24:04 -08:00 |
|
Dustin Carlino
|
79dc9aee40
|
pulling UI state behind a trait. result is a bit convoluted still.
|
2018-12-13 14:03:09 -08:00 |
|
Dustin Carlino
|
f9016c6871
|
move recalc_current_selection... it's this temporary bit of state
|
2018-12-13 11:22:25 -08:00 |
|
Dustin Carlino
|
8e715de098
|
simplify UI state a bit... dont plumb around extra KML shapes to display. if we load an A/B test or different map edits, no need to preserve the KML; its for one-off debugging.
|
2018-12-13 11:13:33 -08:00 |
|
Dustin Carlino
|
4b7a424b1f
|
remove duplicate color definitions and don't allow them
|
2018-12-12 17:27:34 -08:00 |
|
Dustin Carlino
|
a5befc83fe
|
run rustfmt in the build script
|
2018-12-12 17:22:15 -08:00 |
|
Dustin Carlino
|
87bbadecc1
|
change ColorScheme to use the generated code. remove the terrible mutability.
|
2018-12-12 17:18:47 -08:00 |
|
Dustin Carlino
|
90fffe2410
|
invoke from build.rs
|
2018-12-12 17:03:31 -08:00 |
|
Dustin Carlino
|
13134a091b
|
generate a module
|
2018-12-12 16:55:01 -08:00 |
|
Dustin Carlino
|
010a636ae6
|
change the colorscheme method name to find more easily in parsing
|
2018-12-12 16:25:08 -08:00 |
|
Dustin Carlino
|
9d653b103d
|
starting a python script to find ColorScheme calls
|
2018-12-12 16:14:24 -08:00 |
|
Dustin Carlino
|
26af5526f2
|
just moving some plugin-bundling code to a separate module, but not really changing ownership structure yet
|
2018-12-12 14:36:26 -08:00 |
|
Dustin Carlino
|
d61255a4b3
|
lift panic handling from UI's event to ezgui runner, use also for draw
|
2018-12-12 14:11:18 -08:00 |
|
Dustin Carlino
|
e29ff690f8
|
move PluginCtx
|
2018-12-12 13:58:02 -08:00 |
|
Dustin Carlino
|
dd859ba76d
|
clean up interaction between UI and get_objects_onscreen a bit
|
2018-12-12 12:27:45 -08:00 |
|
Dustin Carlino
|
3c710c2e8a
|
fix the sim score plugin
|
2018-12-12 10:47:02 -08:00 |
|
Dustin Carlino
|
0cbc2e5d7e
|
making intersection merging work everywhere: skip dead-ends, don't panic
when stop sign doesn't cover all turns
|
2018-12-11 17:41:44 -08:00 |
|
Dustin Carlino
|
31fc08e1b7
|
apply intersection merging EVERYWHERE... but actually, keep it disabled.
seeing some other bug.
|
2018-12-11 16:14:55 -08:00 |
|
Dustin Carlino
|
0470e676bc
|
move the intersection merging logic to the right module. delete the old logic.
|
2018-12-11 16:01:46 -08:00 |
|
Dustin Carlino
|
9bca0788b6
|
extract out the HalfMap deleter logic
|
2018-12-11 15:54:03 -08:00 |
|
Dustin Carlino
|
65882cf0d9
|
improve intersection polygon by using two points per lane. apply it to all intersections as a second pass.
|
2018-12-11 15:48:55 -08:00 |
|
Dustin Carlino
|
44c9b66d13
|
merge two related intersections, still hardcoded, but making sure applying the fix both orders has the same results
|
2018-12-11 15:39:09 -08:00 |
|
Dustin Carlino
|
dc8e098fc2
|
way nicer merged intersection geometry
|
2018-12-11 15:30:36 -08:00 |
|
Dustin Carlino
|
6cc7399b89
|
draw full turns using sharp bends if needed
|
2018-12-11 15:19:35 -08:00 |
|
Dustin Carlino
|
e267cc7fd4
|
intersection merging... make the new composite turns
|
2018-12-11 15:13:13 -08:00 |
|
Dustin Carlino
|
a65b097e12
|
working on new intersection merging logic for one hardcoded road...
deleting stuff, changing references, compacting IDs
|
2018-12-11 14:10:35 -08:00 |
|
Dustin Carlino
|
42788363ab
|
more prep for merging intersections... make an intermediate HalfMap structure
|
2018-12-11 12:49:57 -08:00 |
|
Dustin Carlino
|
de5c02a6c4
|
preps for merging intersections again... notes and not passing Map
during first few phases of construction
|
2018-12-11 12:26:21 -08:00 |
|
Dustin Carlino
|
577e674e51
|
setting up a scenario for the first tutorial (commit 1,000!)
|
2018-12-11 10:14:21 -08:00 |
|
Dustin Carlino
|
11584efbb6
|
starting a TutorialMode, sneakily installing the plugin based on filename (ew)
|
2018-12-10 16:12:31 -08:00 |
|
Dustin Carlino
|
e76dede109
|
label synthetic intersections
|
2018-12-10 15:59:48 -08:00 |
|
Dustin Carlino
|
dbfd410b0a
|
force synthetic intersections into being border nodes too
|
2018-12-10 15:45:34 -08:00 |
|
Dustin Carlino
|
4805892acd
|
caching polyline length, even though it doesn't seem to affect total
performance
|
2018-12-10 14:59:52 -08:00 |
|
Dustin Carlino
|
4018f1bbf6
|
dealing with a bike stuck trying to end a trip near the end of a lane
|
2018-12-10 14:27:03 -08:00 |
|
Dustin Carlino
|
dcd60dce88
|
dealing with c1483, who's overshooting a weird ending at 0m along a lane
|
2018-12-10 14:02:30 -08:00 |
|
Dustin Carlino
|
79e9e24cf6
|
few tiny rewrites now that we have NLL
|
2018-12-09 18:26:32 -08:00 |
|
Dustin Carlino
|
9ef7e68421
|
work around the poor sucker who's trying to park, but winds up on 520.
|
2018-12-09 18:25:03 -08:00 |
|