Commit Graph

3546 Commits

Author SHA1 Message Date
Dustin Carlino
4ceae3de14 embed a version number in the title screen 2020-01-29 11:43:54 -08:00
Dustin Carlino
5914b39fc5 adjust bus stop and crosswalk icons after thinner sidewalks. deactivate
turn cycler when hovering on bus stops (and other objects)
2020-01-29 11:13:45 -08:00
Dustin Carlino
b2216bb482 not all lanes have to be the same width. make sidewalks a bit thinner. 2020-01-28 17:26:14 -08:00
Dustin Carlino
5048c69750 scrape named amenities from OSM, match to buildings 2020-01-28 15:57:45 -08:00
Dustin Carlino
8a966395af prevent a crash with spawning agents around intersections. tiny tutorial tweaks 2020-01-28 14:33:55 -08:00
Dustin Carlino
e733fe9d94 plumb real time passed through Update event, just base off of that 2020-01-28 09:39:44 -08:00
Dustin Carlino
8d3f58f214 whoa, time_limited_step always jumped too much 2020-01-28 09:07:09 -08:00
Dustin Carlino
6c0d42ffe7 open bus analytics from an individual bus. open up bus analytic actions
in tutorial mode.
2020-01-27 15:57:34 -08:00
Dustin Carlino
bef513ec8b inactive buttons in tutorial mode 2020-01-27 15:22:53 -08:00
Dustin Carlino
07995fb060 starting a tutorial for bus lanes too 2020-01-27 12:38:51 -08:00
Dustin Carlino
426ebdc606 let vehicles spawn on all lanes from a border. lets the bike tutorial have a better solution 2020-01-27 11:54:36 -08:00
Dustin Carlino
2747ca5181 bike trips were counting as driving trips 2020-01-27 11:01:02 -08:00
Dustin Carlino
8e8e92153c new release 2020-01-26 09:37:16 -08:00
Dustin Carlino
0d3cfb90ec wire up edit mode in tutorial properly. add end condition to bike lane
tutorial [rebuild]
2020-01-26 09:31:03 -08:00
Dustin Carlino
1c7764843a reorder and tune some info panel contents 2020-01-25 14:56:30 -08:00
Dustin Carlino
52e921ff66 tune miter explosion threshold for plots 2020-01-25 14:30:28 -08:00
Dustin Carlino
dea77369a5 fix crash when an info panel becomes smaller in a direction and scroll offset was too big 2020-01-25 14:25:47 -08:00
Dustin Carlino
5f82c855ed slidey windows for thruput plots 2020-01-25 14:19:03 -08:00
Dustin Carlino
d3b2055b8f plot grid lines 2020-01-25 13:28:50 -08:00
Dustin Carlino
91cd0e9852 working more on the bike lane tutorial 2020-01-25 10:28:34 -08:00
Dustin Carlino
a45405055a start a tutorial stage to justify bike lanes 2020-01-24 16:04:58 -08:00
Dustin Carlino
4f60d6cb77 make the all-walk conversion idempotent, and some other bugfixes to the
editor
2020-01-24 15:30:32 -08:00
Dustin Carlino
09b0c47f3c show better names for maps and scenarios 2020-01-24 14:13:27 -08:00
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
74cfa91e43 woops, forgot a line 2020-01-22 17:28:48 -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
fd0cdb4fdb skip empty warps 2020-01-22 15:42:10 -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
d0afcedbaa work around more github action silliness [rebuild] 2020-01-22 10:44:46 -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