Commit Graph

161 Commits

Author SHA1 Message Date
Dustin Carlino
fa99c28d23 prebaking gridlock results too 2019-11-01 20:22:39 -07:00
Dustin Carlino
facd9c68b3 remove old gridlock detector, in favor of a tool to find the front of a
chain of blockage
2019-11-01 15:31:26 -07:00
Dustin Carlino
06dd88ec34 first cut on prebaking challenge results against different baselines.
just for faster trips right now.
2019-11-01 13:33:02 -07:00
Dustin Carlino
db86a24cda draw button text in the OSD (not owned by ezgui), not as a mouse tooltip 2019-11-01 11:45:02 -07:00
Dustin Carlino
e9e6664f61 using popup text box in a few more places to show important messages 2019-11-01 11:33:15 -07:00
Dustin Carlino
b6dee0b35d new challenge: speed up trips of some target population 2019-11-01 10:59:27 -07:00
Dustin Carlino
e564a67ad4 try to wrangle the complexities of synchronizing menus with analytics and colorschemes, which can be separately modified. added something for gridlock mode too. 2019-11-01 10:30:36 -07:00
Dustin Carlino
d187332734 prototype a new challenge to create gridlock 2019-11-01 09:59:39 -07:00
Dustin Carlino
6cf9ba678c disabled night color scheme 2019-10-31 17:06:03 -07:00
Dustin Carlino
78904c007f be able to change the statistic in the bus score display. still not
quite presenting something sensible, but...
2019-10-31 16:33:38 -07:00
Dustin Carlino
f0bc8eb1fa move a validity check for border intersections up-front in map construction. be able to skip fixes in precompute scripts too 2019-10-31 15:55:02 -07:00
Dustin Carlino
50ee547994 adding some help text to all gameplay modes 2019-10-31 15:30:12 -07:00
Dustin Carlino
f42d79cdeb avoid initially smushed challenge menus 2019-10-31 15:04:11 -07:00
Dustin Carlino
abf14e1fac track when map edits are dirty 2019-10-31 14:51:35 -07:00
Dustin Carlino
b192bda583 couple edit mode with sandbox mode. always return to sandbox mode, reseting the sim with the correct gameplay mode retained 2019-10-31 14:22:58 -07:00
Dustin Carlino
ef01501509 overhaul finished trips graph. record times in order, build the graph later 2019-10-31 13:46:26 -07:00
Dustin Carlino
c89c0d2a11 remove time travel feature entirely for now. broken, not performant, unused 2019-10-31 12:50:23 -07:00
Dustin Carlino
857a8a4a67 actually, just overlay bus route display, dont use a warping item slider 2019-10-31 12:41:31 -07:00
Dustin Carlino
11af01d0ea prevent bus routes near borders from being filtered out 2019-10-31 12:07:35 -07:00
Dustin Carlino
561a883e19 filling out optimize bus gameplay mode 2019-10-31 10:25:34 -07:00
Dustin Carlino
06170784cb organizing functionality by gameplay mode. can switch scenarios sometimes. cant spawn stuff unless in freeform mode. 2019-10-31 10:14:44 -07:00
Dustin Carlino
1d08181eaa parameterize sandboxmode by a gameplaymode. makes the reset sim button
reinitialize scenarios properly
2019-10-31 09:59:03 -07:00
Dustin Carlino
ccf12edde8 adding a sidebar to sandboxmode to show stuff related to the challenge -- time between bus stops, to start. setting this up from the challenge mode screen. lots of tweaks needed. 2019-10-31 09:04:47 -07:00
Dustin Carlino
53bd77332e start structuring the UI for selecting and running a challenge 2019-10-30 20:44:27 -07:00
Dustin Carlino
7833346fa2 cleaning up speed controls 2019-10-30 18:15:03 -07:00
Dustin Carlino
a94e210c22 changing speed controls to be a panel of manually arranged buttons. not
done, but functionality is cutover. fix details later.
2019-10-30 15:01:11 -07:00
Dustin Carlino
9d828abbd0 move bus explorer to sandbox mode. make it start at the current stop 2019-10-30 12:20:04 -07:00
Dustin Carlino
6ffa5fbf6e move savestating under a save menu 2019-10-30 10:26:44 -07:00
Dustin Carlino
9995bed6ab improve dead-ends by using a shared sidewalk corner, not a crosswalk 2019-10-30 10:10:28 -07:00
Dustin Carlino
1d5064ca1b track all bus arrivals, show distribution. track total number of
passengers per route
2019-10-29 22:11:56 -07:00
Dustin Carlino
7faeafd998 nice hatching for construction lanes, hackily encoded 2019-10-29 17:19:36 -07:00
Dustin Carlino
a5892daedb add a new lane type for road closures 2019-10-29 17:04:57 -07:00
Dustin Carlino
d757b45bff manually workaround y inversion with stretched textures by modifying the
images
2019-10-29 16:36:19 -07:00
Dustin Carlino
0575e57584 tweaks to buttons 2019-10-29 15:45:26 -07:00
Dustin Carlino
aae6d6d998 cleanup: collapse the old separated modal menu groups 2019-10-29 15:37:19 -07:00
Dustin Carlino
c2fd82328a move more controls under a general menu 2019-10-29 15:31:55 -07:00
Dustin Carlino
7574869798 tie together a popup menu and a button in a really simple way. move some
info and location things there
2019-10-29 15:14:17 -07:00
Dustin Carlino
00253d2783 using textures for the hide/show buttons. making it easier to sometimes
upload expensive textures. draw show/hide buttons on top of modal menus,
even when they sometimes overlap.
2019-10-29 13:47:04 -07:00
Dustin Carlino
49ecf2e792 move time stepping controls to speed panel, where they belong 2019-10-29 13:08:59 -07:00
Dustin Carlino
41d9588266 apply zorder in unzoomed view 2019-10-28 17:30:43 -07:00
Dustin Carlino
6f50cbaa30 finishing the big cutover from stable to original IDs. main path works,
now looking at map editor
2019-10-28 12:40:09 -07:00
Dustin Carlino
75e155fec6 filter out parking lanes without any sidewalks at all nearby (and also
warn about them)
2019-10-26 17:53:09 -07:00
Dustin Carlino
0d948cef91 share camera state between game and map_editor 2019-10-26 16:16:32 -07:00
Dustin Carlino
4d2f77e90c simple heatmapish overlay to show the bike lane network 2019-10-26 13:04:58 -07:00
Dustin Carlino
ee02ff9944 display when a bus last served a stop. move some of these analytics to
be owned by sim
2019-10-26 12:33:00 -07:00
Dustin Carlino
7d7bfef5ea filter out parking garages with 0 spots. render water on top of parks,
to workaround issue of the green lake park polygon covering everything
up
2019-10-26 11:37:10 -07:00
Dustin Carlino
1a4cf8c1a0 fix crash in all trip viz. path request might not even be possible 2019-10-26 10:29:44 -07:00
Dustin Carlino
e0bb2f97e0 debug floodfill from sidewalks, now that i'm really messing with that
connectivity
2019-10-25 14:40:52 -07:00
Dustin Carlino
3dfeae8b2c introduce a proper closed polyline abstraction, sub it in 2019-10-25 13:14:05 -07:00
Dustin Carlino
fe14e1709b implement PartialEq on Pt2D using the old epsilon_eq. too many places in the codebase are inconsistent. 2019-10-25 12:24:18 -07:00