Commit Graph

67 Commits

Author SHA1 Message Date
Dustin Carlino
e0ae1d5195 tooltip with key bindings for hide/expand icons. doesn't look great
though.
2019-10-09 10:29:11 -07:00
Dustin Carlino
7e40f6797e avoid crash in individ_trips 2019-10-08 17:09:32 -07:00
Dustin Carlino
ee5462e7c4 woops, wasnt keeping menu state synced when pausing externally 2019-10-08 11:20:26 -07:00
Dustin Carlino
258f3d4528 reverse lane direction as a new edit. might be a few determinism issues,
but seems to mostly work.
2019-10-07 18:04:31 -07:00
Dustin Carlino
98d7f26f2d change pause/resume button to say the appropriate thing, now that it's easy 2019-10-07 14:58:55 -07:00
Dustin Carlino
7c3a26fed8 making ItemSlider and all trip viz also combine menu and slider better 2019-10-07 14:54:42 -07:00
Dustin Carlino
5b6eb8629c color buildings by number of cars needed 2019-10-07 13:19:45 -07:00
Dustin Carlino
3459d9c8fd change default font size by flag 2019-10-07 10:39:09 -07:00
Dustin Carlino
e7507bad85 plumbing initial settings to ezgui better 2019-10-07 09:45:53 -07:00
Dustin Carlino
f09b9f8a19 share shortcuts between maps 2019-10-07 09:34:11 -07:00
Dustin Carlino
1df7c580f3 hack in a way for ModalMenu to work alongside a slider. use in
SpeedControls.
2019-10-05 17:01:33 -07:00
Dustin Carlino
47ccf2c70b making normal ModalMenu be able to add/remove items. killing off DynamicMenu. 2019-10-05 14:59:59 -07:00
Dustin Carlino
13976ea0c5 start undoing the separate DynamicMenu experiment. move agent colorscheme back into main modalmenu 2019-10-05 14:23:52 -07:00
Dustin Carlino
d0879117f3 modernizing chokepoints finder too 2019-10-05 14:13:21 -07:00
Dustin Carlino
bbbfc4a064 fold trip stats into new exclusive analytics thing, so it also auto-updates 2019-10-05 13:56:43 -07:00
Dustin Carlino
85ebb225cd unifying parking availability, intersection delay, thruput stats into one exclusive thing that consistently auto-updates 2019-10-05 13:34:30 -07:00
Dustin Carlino
b40b26def8 dont draw agents when unzoomed and showing some kind of heatmap 2019-10-04 16:07:07 -07:00
Dustin Carlino
1a10e8982a basic heatmap showing busiest roads and intersections. have to revive
Sim Events kind of.
2019-10-04 15:33:26 -07:00
Dustin Carlino
0d27a11b2b map_editor tool to quickly absorb name, speed limit, lanes of nearby road for synthetic roads 2019-10-02 12:11:11 -07:00
Dustin Carlino
5f9cf2accd display basic labels on trip stats 2019-10-01 19:28:03 -07:00
Dustin Carlino
393eaff249 compacting SimOptions and SimFlags 2019-10-01 14:22:00 -07:00
Dustin Carlino
6f75cf32eb mvp of graphing finished trips over time 2019-10-01 14:09:17 -07:00
Dustin Carlino
db4db7e0d9 very basic tool to point out intersections with the most contention 2019-09-30 11:39:55 -07:00
Dustin Carlino
2e5649bf7e show count of aborted trips in scoreboard too 2019-09-29 19:19:51 -07:00
Dustin Carlino
1edb3cf81b digging into why synthetic roads are getting connected to weird places.
warping functionality, more ID debugging
2019-09-29 12:30:48 -07:00
Dustin Carlino
2554b08641 upgrade to rust 1.38, fix new clippy errors 2019-09-26 14:38:50 -07:00
Dustin Carlino
ffc8050623 refactoring OSD text construction 2019-09-25 10:36:22 -07:00
Dustin Carlino
15db77a82b show trips to/from borders, not just bldgs 2019-09-25 10:25:18 -07:00
Dustin Carlino
23166b1aa8 switch to turn restriction enums, so we can easily use IDs in map_editor 2019-09-24 18:58:06 -07:00
Dustin Carlino
b11f33f7f6 trying out a different type of menu for agent controls. explicitly
add/remove actions, and grow/shrink the menu based on temporarily
activated things
2019-09-24 13:02:23 -07:00
Dustin Carlino
39f555a788 trying out traffic signals rendered per lane, resuming from hackathon.
progress, but still doesnt look comprehensible. also flip intersection
color to blend in with roads more -- black doesn't look right, but
matching the parking lanes actually looks reasonable.
2019-09-24 10:20:31 -07:00
Dustin Carlino
fe41fcc858 robustify kml rendering 2019-09-23 17:38:45 -07:00
Dustin Carlino
c54cffe694 render yellow center lines as dashed 2019-09-23 16:42:49 -07:00
Dustin Carlino
536df84844 rename raw_data layer of stuff for easier importing, disambiguation 2019-09-23 15:00:55 -07:00
Dustin Carlino
0ae0a88abb actually, serialize MapFixes as json for now. will switch to binary when this is large later, but for now, this is easier to handle schema changes and debug. 2019-09-19 14:39:31 -07:00
Dustin Carlino
9a58136fc1 remove two debuggers (original roads and reattempting intersection geom) from game. not useful, and this could work better in synthetic or fix_map_geom. also lets us stop copying an extra polyline in the final map 2019-09-19 14:16:50 -07:00
Dustin Carlino
fbb7d8ac96 cleaning up CmdArgs usage 2019-09-19 10:42:16 -07:00
Dustin Carlino
f18fc72265 finish structopt removal 2019-09-18 17:29:34 -07:00
Dustin Carlino
ad8f984359 the convenience of a --dev flag 2019-09-17 16:49:29 -07:00
Dustin Carlino
1e4f36dec1 duplicate OSM ids in tag maps universally, to simplify some other places 2019-09-17 15:37:11 -07:00
Dustin Carlino
af22daaf69 hop to debug mode from a/b test mode, and make it a proper pushed state
from edit and sandbox mode too
2019-09-15 13:28:38 -07:00
Dustin Carlino
1f2c4e3797 make route viewer also handle mode changes and trips ending 2019-09-15 13:07:58 -07:00
Dustin Carlino
5c2d86ee95 improve a/b scoreboard colors and duration printing 2019-09-15 12:25:57 -07:00
Dustin Carlino
ece53430a1 point out the A and B in the a/b test menu 2019-09-15 10:28:10 -07:00
Dustin Carlino
fa898a9c70 fix more a/b test setup bug -- have to reset sim after applying edits.
doh.
2019-09-14 19:34:24 -07:00
Dustin Carlino
f52ab43752 fix HUGE a/b test setup bug... secondary was instantiating scenario, THEN applying map edits. possibly still broken though?! 2019-09-14 14:46:51 -07:00
Dustin Carlino
8730884eb4 dont allow setting up abtest with same edits for both 2019-09-14 13:48:21 -07:00
Dustin Carlino
974e4d43b7 fix debug mode's overlapping UIs... dont keep trying to draw all the special debug mode stuff in nested states. also stop double-drawing when using {Road,Building}Colorer 2019-09-14 13:42:43 -07:00
Dustin Carlino
1248dac270 nicer API for appending bits of text 2019-09-13 15:23:25 -07:00
Dustin Carlino
97361317ed greying out choices in scoreboard that have no trips 2019-09-11 12:51:07 -07:00