Dustin Carlino
041b28ad2a
remove the last traces of override_colors!
2020-01-24 13:38:15 -08:00
Dustin Carlino
0b528c1eff
and buildings with (parked) car. remove the old ShowAssociated debug
...
thing -- if I ever need to see agents doing turns or extra shapes
matched to roads again, I'll impl it differently
2020-01-24 13:17:54 -08:00
Dustin Carlino
89e27b5e3d
associate cars with owner buildings
2020-01-24 13:10:24 -08:00
Dustin Carlino
6452953370
when an info panel is open, keep an outline on the object. dont quite
...
handle peds <-> crowds
2020-01-24 12:59:34 -08:00
Dustin Carlino
ffdde86fc6
reduce use of override_colors. make ColorerBuilder slightly easier to
...
use
2020-01-24 12:02:40 -08:00
Dustin Carlino
971e8ae3a5
rainy night fixes:
...
- skip out-of-bounds turn restrictions during map creation
- don't enter sandbox mode with a tutorial map loaded
- fix intersection demand overlay getting clobbered
- keep updating info panel even when we hover over something else
- tweak bad order in trip details info
2020-01-23 23:03:07 -08:00
Dustin Carlino
6d016cd01b
stop blindly plumbing through no-op events after any input is used. do
...
it more explicitly in just a few places.
fixes crash when cycling through turns while sim is running.
this makes modal menus appear laggy, but that's fine; phasing those out
anyway.
2020-01-23 17:11:29 -08:00
Dustin Carlino
89a269a59e
consolidating other button styles, and adjusting signal editor colors
2020-01-23 16:05:35 -08:00
Dustin Carlino
76f5cde433
nicer text button style for the top bar
2020-01-23 15:35:08 -08:00
Dustin Carlino
ee38657a31
change the escort mission to focus on the parked car, since it's so easy to miss the ped getting out
2020-01-23 15:02:58 -08:00
Dustin Carlino
13e139bd84
encode edits as an overlay, let it be shown in sandbox mode too. some
...
shuffling around to update the overlay in edit mode
2020-01-23 14:31:41 -08:00
Dustin Carlino
622072721b
make download links and build from source instructions easier to see,
...
for #41
2020-01-22 17:27:24 -08:00
Dustin Carlino
1043008ba8
and bus lanes [rebuild]
2020-01-22 15:55:04 -08:00
Dustin Carlino
1b9d5d7c07
bike lane markings! \o/
2020-01-22 15:51:42 -08:00
Dustin Carlino
bdd05ee1a7
point out the car to follow
2020-01-22 15:36:17 -08:00
Dustin Carlino
f8501ace6a
button in info panels to follow an agent, aka, unpause sim
2020-01-22 15:17:33 -08:00
Dustin Carlino
06b83a5f73
less colors: use sidewalk/road color for building connections
2020-01-22 14:12:12 -08:00
Dustin Carlino
1ff48e728e
woops, little crash [rebuild]
2020-01-22 13:02:16 -08:00
Dustin Carlino
c2b4d39efb
applying easy tutorial feedback [rebuild]
2020-01-22 12:56:46 -08:00
Dustin Carlino
2bc48d0568
found a fun case entering tutorial. get rid of scary hack a few commits ago by properly recursing when waking up new states [rebuild]
2020-01-22 12:03:40 -08:00
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