Commit Graph

587 Commits

Author SHA1 Message Date
Dustin Carlino
2a194a9bea actually, with the previous fix, now we can get rid of all the transitions that ask for Animation when entering a new state! 2020-01-22 11:57:37 -08:00
Dustin Carlino
75281ed354 when we change states, immediately run through a round of no-op event(). this lets us immediately draw a WizardState without having to flail the mouse a bit to trigger a first event.
(also, fix release script again)
2020-01-22 11:47:06 -08:00
Dustin Carlino
9a10c52d92 rename the wrapped managed things, for great sanity 2020-01-22 10:41:58 -08:00
Dustin Carlino
54d7f31097 generalize overlays, stick it in UI. only sandbox and tutorial mode can modify it for now though. 2020-01-22 10:24:52 -08:00
Dustin Carlino
09e87687db more of the minimap tut 2020-01-21 15:45:43 -08:00
Dustin Carlino
95a84fd26a tweaking rustfmt options; the long literal string vecs in tutorial look awful 2020-01-21 15:20:02 -08:00
Dustin Carlino
dfd8d43b83 tutorial stage introducing the minimap. point to widgets more precisely. 2020-01-21 15:01:10 -08:00
Dustin Carlino
42e5597539 warp to certain positions in some tutorial phases, and other polishing
to the tutorial so far [rebuild]
2020-01-21 12:17:46 -08:00
Dustin Carlino
f198a6c35f dont insist on prebaked data existing in some places. also go update
scenarios with the new name, oops.
2020-01-21 11:50:56 -08:00
Dustin Carlino
6303cf52a4 next tutorial stage, following an agent 2020-01-21 11:23:39 -08:00
Dustin Carlino
a8a55aaaef trying a more declarative way of specifying tutorial stages 2020-01-20 22:45:09 -08:00
Dustin Carlino
389d033ed2 starting a few more tutorial stages 2020-01-20 14:38:43 -08:00
Dustin Carlino
73680948b5 use top-center panel for more things in all challenge modes. remove help
functions in favor of putting more info in the challenge description
2020-01-20 13:52:11 -08:00
Dustin Carlino
67ebb76f94 tiny refactor of rounded_rectangle. pad time panel 2020-01-20 12:36:27 -08:00
Dustin Carlino
3eb8d61dd2 adjust title screen layouting [rebuild] 2020-01-19 17:59:37 -08:00
Dustin Carlino
562f462519 draw an icon on parked cars 2020-01-19 15:48:41 -08:00
Dustin Carlino
e9d40fe494 just kidding, use two counters in meters panel 2020-01-19 15:34:53 -08:00
Dustin Carlino
7ce3d5dd24 adjust agent meters panel (move info button there, display (un)finished
trips more succinctly)
2020-01-19 15:20:19 -08:00
Dustin Carlino
ca6b81099c rename scenarios to be less confusing 2020-01-19 14:39:46 -08:00
Dustin Carlino
1e49d4b6eb adjust parking heatmap color. start changing sandbox mode's top-center
panel
2020-01-19 14:04:59 -08:00
Dustin Carlino
790e860632 start poking at tutorial mode again. don't expect much yet. 2020-01-18 20:04:15 -08:00
Dustin Carlino
7d238ceff5 jump to stop sign editor from sandbox mode too 2020-01-18 16:57:15 -08:00
Dustin Carlino
afcd694524 fade out map when a blocking menu is open 2020-01-17 14:33:35 -08:00
Dustin Carlino
901b938b31 dont let screenspace things see cursor if it's in mapspace. fixes clicking buttons hidden by clipping. 2020-01-17 14:11:07 -08:00
Dustin Carlino
4327322ea4 turn edit mode's lane brushes into a proper Composite 2020-01-17 13:44:58 -08:00
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
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
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