Commit Graph

3320 Commits

Author SHA1 Message Date
Dustin Carlino
6bdd557c80 make ModalMenu optional for gameplay modes, now that we dont need it for unfollowing agents. stop using it in freeform and play scenario modes. 2020-01-17 11:24:13 -08:00
Dustin Carlino
44310ffe28 refactor some color legend stuff 2020-01-17 11:07:50 -08:00
Dustin Carlino
d5653e42ab use info panel for finished trips 2020-01-17 10:53:09 -08:00
Dustin Carlino
b6d7acd385 er, we need to do a little caching when hovering on routes after all. such lag. 2020-01-17 10:17:28 -08:00
Dustin Carlino
571c2bb38a link to docs to build from source from homepage, to make #41 less of an issue 2020-01-17 09:35:45 -08:00
Dustin Carlino
3cf916a2bc adjust info panel dims slightly [rebuild] 2020-01-16 18:19:30 -08:00
Dustin Carlino
f63577e2b7 no more toggling on permanent routes. still show little preview when hovering. 2020-01-16 17:21:35 -08:00
Dustin Carlino
3636f7afdc fold trip explorer into info panel 2020-01-16 17:11:51 -08:00
Dustin Carlino
eb0281a294 just move info panel handling code 2020-01-16 16:42:25 -08:00
Dustin Carlino
610f8f7e46 totally remove route explorer, the wonky warping slider one 2020-01-16 16:30:01 -08:00
Dustin Carlino
2068ef2d9e follow agents automatically when info panel is open. drastically simpler
impl.
2020-01-16 16:26:25 -08:00
Dustin Carlino
ad49e37706 gracefully exit info panels for agents that go away 2020-01-16 16:13:21 -08:00
Dustin Carlino
9312d81471 auto-update info panels 2020-01-16 15:57:18 -08:00
Dustin Carlino
5f0dd70d43 jump to info panel object 2020-01-16 15:43:01 -08:00
Dustin Carlino
497d05552a use a locate icon button in a few places 2020-01-16 15:34:30 -08:00
Dustin Carlino
5966460527 change info panels to coexist in a parent state. only contextual action
possible on the map is to close the info panel or open a new one.
2020-01-16 15:33:13 -08:00
Dustin Carlino
9296765369 simplify manage_overlays. make bus picker from big info dash work 2020-01-16 14:45:59 -08:00
Dustin Carlino
1a16a5289b launch bus delay plot from anywhere 2020-01-16 14:38:49 -08:00
Dustin Carlino
f85ca54a44 bail out of spawning parked cars if we're totally out of space. still
horribly slow in maps without enough onstreet parking.

also fix the name of github artifacts [rebuild]
2020-01-16 11:27:15 -08:00
Dustin Carlino
aff092776e fix hidpi issue ONCE AND FOR ALL. tested successfully on linux and
windows. [rebuild]
2020-01-16 10:38:01 -08:00
Dustin Carlino
e4959892d7 new gifs 2020-01-15 19:13:40 -08:00
Dustin Carlino
08a601c45a same for the bus timeline 2020-01-15 16:37:22 -08:00
Dustin Carlino
52c394aaf2 get rid of the scrolling bus explorer thing. be able to launch show bus route as a normal overlay anywhere. 2020-01-15 16:28:12 -08:00
Dustin Carlino
15400dc514 slightly adjust some fullscreen stuff 2020-01-15 14:51:55 -08:00
Dustin Carlino
bb01c30b9d scale scrollbar length to show how much stuff is actually scrollable 2020-01-15 12:07:25 -08:00
Dustin Carlino
0835e58bef use floating panels for signal diagrams too. no more smushing into the
OSD
2020-01-15 11:38:05 -08:00
Dustin Carlino
a349eb330b fix flex wrapping and other weird issues 2020-01-15 11:21:32 -08:00
Dustin Carlino
c1f35aca46 simplify size management -- minimal size by default, can limit max size 2020-01-15 10:33:08 -08:00
Dustin Carlino
5af9c7e17b every composite will automatically be scrollable if needed. simplify API. 2020-01-15 10:19:21 -08:00
Dustin Carlino
ffb8270b10 treat the percentage as a max, not a set limit 2020-01-14 16:53:11 -08:00
Dustin Carlino
8eecb6e190 draw the scrollbars outside the clip 2020-01-14 16:50:26 -08:00
Dustin Carlino
b348e5d393 position the scrollbars so that theyre always visible. is kind of
broken.
2020-01-14 16:46:45 -08:00
Dustin Carlino
851e12f432 simplify some code without changing behavior 2020-01-14 15:57:21 -08:00
Dustin Carlino
d637243f2a support horizontal scrolling 2020-01-14 15:47:35 -08:00
Dustin Carlino
6db84efdae WIP clip composites 2020-01-14 15:18:27 -08:00
Dustin Carlino
51756b570c show selected phase in full view 2020-01-14 15:03:19 -08:00
Dustin Carlino
a29b8f5fd0 render phases differently in the full diagram 2020-01-14 14:57:14 -08:00
Dustin Carlino
eb0fa982c6 click to warp to intersection whose demand is being shown 2020-01-14 14:42:14 -08:00
Dustin Carlino
d21bcb9aa6 make the finished trips histogram closeable easily 2020-01-14 14:27:03 -08:00
Dustin Carlino
801d4f47c9 simpler top-center panel 2020-01-14 14:15:22 -08:00
Dustin Carlino
875f311f55 preserve scenario when changing maps 2020-01-14 14:05:21 -08:00
Dustin Carlino
f613b003a4 fix scissor DPI issue once and for all? the math was backwards [rebuild] 2020-01-14 10:50:18 -08:00
Dustin Carlino
3482d61c0d attempt to detect hidpi changes? [rebuild] 2020-01-13 19:13:00 -08:00
Dustin Carlino
2bb5e3032b dont double-zip things in github (https://github.com/actions/upload-artifact/issues/3) 2020-01-13 19:03:51 -08:00
Dustin Carlino
cca6ce48a6 creep towards floating info panels, by moving it away from the corner of the screen 2020-01-13 18:52:44 -08:00
Dustin Carlino
bb141c7026 also clip text. not used quite yet. 2020-01-13 18:26:24 -08:00
Dustin Carlino
61e8003cca upgrade glutin (and thus winit). maybe will help dpi issues on some
platforms? [rebuild]
2020-01-13 17:07:31 -08:00
Dustin Carlino
8a7e3cecff make clipping be a stateful API, as prep for clipping composites 2020-01-13 16:57:09 -08:00
Dustin Carlino
90300c655e switch remaining signal editor stuff to a top-center panel 2020-01-13 15:56:25 -08:00
Dustin Carlino
af76ad9d60 wrap text in signal diagram to limit width 2020-01-13 14:57:46 -08:00