Commit Graph

2792 Commits

Author SHA1 Message Date
Dustin Carlino
863213eaf0 using trait objects to remove boilerplate 2019-11-07 13:15:59 -08:00
Dustin Carlino
5037b9e077 teasing apart some of the gameplay code 2019-11-07 13:04:35 -08:00
Dustin Carlino
9b82e7288b move load map functionality into freeform/scenario mode. hide other
things that players shouldn't see yet
2019-11-07 10:00:44 -08:00
Dustin Carlino
53d1067414 refactoring some text to compare results 2019-11-07 09:37:04 -08:00
Dustin Carlino
e82abafb70 change gridlock score to use number of finished trips 2019-11-07 08:59:29 -08:00
Dustin Carlino
5b50cac80e log scale for speed slider. thanks julian ;) 2019-11-06 14:26:10 -08:00
Dustin Carlino
255a7f735d very basic way to hover over series in a plot 2019-11-06 13:14:18 -08:00
Dustin Carlino
c326017883 make sim analytics invariant of the step() sizes called. prebaked vs
live sims were artifically different.
2019-11-06 12:31:13 -08:00
Dustin Carlino
7400659820 ah, update fixes to remove synthetic field 2019-11-06 11:30:59 -08:00
Dustin Carlino
179009de32 stop coloring synthetic/original stuff in map editor. not useful now that it's normal to modify existing stuff 2019-11-06 10:16:06 -08:00
Dustin Carlino
7800ac046e WIP detecting problems applying fixes 2019-11-06 09:58:21 -08:00
Dustin Carlino
fc62d96fb4 new release 2019-11-05 18:33:06 -08:00
Dustin Carlino
0292c30b30 cleanup the bus delay plot 2019-11-05 16:50:54 -08:00
Dustin Carlino
af7112592f show blank plots, rather than skipping out when there's no data. handle
the current time and lots of edge cases
2019-11-05 16:40:14 -08:00
Dustin Carlino
21724aa826 moving generic plotting stuff away from trip stats 2019-11-05 13:13:09 -08:00
Dustin Carlino
1a28768df3 displaying bus delay data over time. needs work, but solid start to a
general plotting mechanism
2019-11-05 13:00:51 -08:00
Dustin Carlino
3b1a659f15 prebake results per map, and store in binary 2019-11-05 10:15:44 -08:00
Dustin Carlino
c54842faff get rid of DurationStats, just beef up DurationHistogram slightly 2019-11-04 14:31:40 -08:00
Dustin Carlino
6c16840076 rename analytics in UI to overlays, clash less with analytics from sim 2019-11-04 14:27:33 -08:00
Dustin Carlino
ec956f5b13 turning PrebakedResults into just sim analytics 2019-11-04 14:24:06 -08:00
Dustin Carlino
974ad24ec3 refactoring some TripMode enum stuff 2019-11-04 13:51:25 -08:00
Dustin Carlino
ada5484501 finishing up the montlake map, no gridlock by default 2019-11-04 12:55:04 -08:00
Dustin Carlino
dbf47cbe52 fixing most of montlake again. need turn restrictions and a few border
cleanups
2019-11-04 11:42:59 -08:00
Dustin Carlino
33e2c3a2fe prebaking bus arrivals, and adding a comparison 2019-11-04 11:00:51 -08:00
Dustin Carlino
7eeebb72ec displaying different bus arrival info, and experimenting with storing the data differently. no prebaking yet. 2019-11-04 10:41:50 -08:00
Dustin Carlino
8d32671834 dont spawn buses by default in scenarios 2019-11-04 09:59:52 -08:00
Dustin Carlino
03e2c0b3f2 one master set of fixes in huge_seattle coordinate space, then a single override per map. start over with fixes... again. for the last time?! all the tricky cases from last time work now... 2019-11-04 09:50:59 -08:00
Dustin Carlino
7c6f2c62b6 compare faster trips by baseline over time 2019-11-03 17:17:47 -08:00
Dustin Carlino
3ba33e4bd0 add some initial info on trips to/from different locations to info panel 2019-11-02 16:34:10 -07:00
Dustin Carlino
e7068867fb fix bugs in scenario viz mode and draw demand arrows a little better 2019-11-02 16:01:02 -07:00
Dustin Carlino
2f5b5f1302 new tool to spawn a huge crowd of traffic from one pt to another. needs
viz for src and sink, but basic functionality was easy
2019-11-02 11:01:21 -07:00
Dustin Carlino
432995d8e5 confirm before bailing out of sandbox mode 2019-11-01 20:43:09 -07:00
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
33fe2981af oh wow, traffic signal durations have been hardcoded forever. woops? 2019-11-01 14:26:27 -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
3d68c3b83b cant click off wizard menus to cancel them 2019-10-31 14:54:45 -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