Dustin Carlino
|
5ab5b7b3d3
|
actually apply scenario name when instantiating to sim run name, so savestates look nice. fix find next/prev savestate to not require exact current match -- why did I ever do that?
|
2019-06-06 11:55:49 -07:00 |
|
Dustin Carlino
|
df88486b5e
|
better default for run name when there are scenarios
|
2019-06-05 17:23:04 -07:00 |
|
Dustin Carlino
|
4f6cb2db60
|
fixed bug with UpdateLaggyHead's blind retry
|
2019-06-05 17:08:45 -07:00 |
|
Dustin Carlino
|
0923bfd1ac
|
write scenarios in binary, not json. -shrug-
|
2019-06-05 13:32:02 -07:00 |
|
Dustin Carlino
|
34e637773d
|
simplify wizard.wrap API slightly
|
2019-06-05 13:13:33 -07:00 |
|
Dustin Carlino
|
b2ad0b5ae7
|
converting PSRC trips to a repeatable scenario. along the way,
parallelizing and refactoring a bit of psrc stuff
|
2019-06-05 12:58:06 -07:00 |
|
Dustin Carlino
|
e87581a86e
|
adjusting map of 23rd ave for first real demo. making unzoomed colors
match between sim and psrc trip viz
|
2019-06-05 11:47:17 -07:00 |
|
Dustin Carlino
|
c8846b9e74
|
color unzoomed agents by mode, not stuckness
|
2019-06-04 18:38:26 -07:00 |
|
Dustin Carlino
|
2264aa4b5d
|
raise speed cap to 5 minutes / real second. add a timer to a slow part of spawning PSRC trips
|
2019-06-04 18:20:59 -07:00 |
|
Dustin Carlino
|
12d981c654
|
speed up initial trip spawning by not constantly maintaining an in-order priority queue
|
2019-06-04 17:37:53 -07:00 |
|
Dustin Carlino
|
69a7b92499
|
make headless use something custom, remove Benchmark. oops, and also convert ab test mode to SpeedControls.
|
2019-06-04 16:15:46 -07:00 |
|
Dustin Carlino
|
5e48cde4fc
|
refactor speed controls. savestate WAY less often, now that the sim is
so fast running.
|
2019-06-04 15:23:37 -07:00 |
|
Dustin Carlino
|
0c6a93d38f
|
introducing a basic slider to adjust speed of all route viz player and
sim. code duplication.
|
2019-06-04 14:22:11 -07:00 |
|
Dustin Carlino
|
82120c21a7
|
woops, more CarAppearing crashes for bikes
|
2019-06-03 12:24:44 -07:00 |
|
Dustin Carlino
|
46bf806b49
|
make loading screens more accurately portray what's happening, by adjusting timers
|
2019-06-03 11:50:34 -07:00 |
|
Dustin Carlino
|
661fedaa28
|
fix PSRC trips with borders on larger maps
|
2019-06-01 18:41:45 -07:00 |
|
Dustin Carlino
|
314489c63f
|
overhaul unzoomed agent rendering -- just colored circles
|
2019-06-01 10:13:17 -07:00 |
|
Dustin Carlino
|
7a6a68c292
|
stop drawing routes in all trip viz mode. doesnt add anything
|
2019-06-01 08:31:30 -07:00 |
|
Dustin Carlino
|
b47069811e
|
TRY to adjust departure time and such for trips starting/ending at the border
|
2019-05-31 15:41:38 -07:00 |
|
Dustin Carlino
|
97fe81d271
|
VERY fast clip_trips: parallelism, faster distance function, don't
constantly recalculate pts
|
2019-05-31 14:43:15 -07:00 |
|
Dustin Carlino
|
70a698236b
|
more quietly filter out pass-through trips in popdat bin. move trips
code in editor into its own module
|
2019-05-31 14:03:08 -07:00 |
|
Dustin Carlino
|
142f84a232
|
display passengers on a bus in debug mode. also sort PSRC trips by
departure time to make later viz a little easier to follow
|
2019-05-31 13:52:14 -07:00 |
|
Dustin Carlino
|
29473d00db
|
fix trip spawning and pathfinding when borders involved
|
2019-05-31 13:30:22 -07:00 |
|
Dustin Carlino
|
8b4ed47cc4
|
display the OOB pt for border trips, for sanity
|
2019-05-31 13:12:03 -07:00 |
|
Dustin Carlino
|
a9319dbe6a
|
capture PSRC trips that start/end out-of-bounds, matching them to a border. slow and buggy start!
|
2019-05-31 11:37:25 -07:00 |
|
Dustin Carlino
|
8291f7c942
|
autoplay controls for all-trip viz. copied from sandbox, hoping to refactor next.
|
2019-05-30 15:55:00 -07:00 |
|
Dustin Carlino
|
0c4399e683
|
use mem::replace, not clone, for swapping TimeTravel states
|
2019-05-30 15:34:33 -07:00 |
|
Dustin Carlino
|
53addc79b9
|
use ItemSlider for time travel
|
2019-05-30 15:20:43 -07:00 |
|
Dustin Carlino
|
602a936440
|
using nom to create Text with inline colors. just using in a few places;
still buggy and kind of inconvenient actually.
|
2019-05-30 14:14:38 -07:00 |
|
Dustin Carlino
|
dd9e187db6
|
simple, but seemingly effective remediation for polylines exploding out
to infinity...
|
2019-05-29 15:48:33 -07:00 |
|
Dustin Carlino
|
9faa2bf143
|
using MultiKey a bit more consistently
|
2019-05-29 14:13:46 -07:00 |
|
Dustin Carlino
|
53e2c3e905
|
hack in a way to easily check for ctrl+key. use to jump between
sandbox, debug, and edit modes
|
2019-05-29 14:08:59 -07:00 |
|
Dustin Carlino
|
35b3e4b7be
|
round of clippy / unbreaking the build
|
2019-05-29 13:01:33 -07:00 |
|
Dustin Carlino
|
bad4ea7039
|
gluing file reader to timer, so progress shows up on loading screens
|
2019-05-29 12:52:49 -07:00 |
|
Dustin Carlino
|
17b31582cb
|
delete ModalMenu::hacky_new
|
2019-05-29 11:34:53 -07:00 |
|
Dustin Carlino
|
cce1b6ff88
|
making an ItemSlider to handle the common case of scrolling through items
|
2019-05-29 11:31:01 -07:00 |
|
Dustin Carlino
|
110140f391
|
union make_arrow polygon
|
2019-05-28 18:05:10 -07:00 |
|
Dustin Carlino
|
f2f16ad992
|
make slider just operate on percentages. use for scrolling time in all trip viz
|
2019-05-28 14:56:09 -07:00 |
|
Dustin Carlino
|
b9a8ea6c61
|
interpret PSRC transit trips correctly
|
2019-05-28 13:28:35 -07:00 |
|
Dustin Carlino
|
ea49fe63ba
|
match PSRC trips to OSM building IDs up-front, trimming down filesize and speeding up clipping later
|
2019-05-28 13:04:31 -07:00 |
|
Dustin Carlino
|
28b2734d59
|
starting a slider widget, using in easy places where the range is usize
|
2019-05-28 12:13:22 -07:00 |
|
Dustin Carlino
|
83f62631e9
|
fix cases where path.trace doubles back on itself a bit due to slightly
weird walking geometry
|
2019-05-28 10:19:49 -07:00 |
|
Dustin Carlino
|
c65bb09801
|
dont allow spawning random agents after seeding psrc trips
|
2019-05-27 18:00:28 -07:00 |
|
Dustin Carlino
|
ca6b5d2c7d
|
new release
|
2019-05-27 11:29:17 -07:00 |
|
Dustin Carlino
|
72ac85f540
|
stability round: loading ballard broke, spawning PSRC trips in most maps hit little bugs
|
2019-05-27 10:45:53 -07:00 |
|
Dustin Carlino
|
0e298c756f
|
make it a bit easier to jump to the time when trips are actually
starting. and prepping popdat for release
|
2019-05-26 21:31:44 -07:00 |
|
Dustin Carlino
|
40efcc7b05
|
generalize a parallelize method for timers, use for all trip viz
|
2019-05-25 19:35:35 -07:00 |
|
Dustin Carlino
|
bc69a6b4d4
|
spawn as many trips from PSRC as possible
|
2019-05-25 18:34:50 -07:00 |
|
Dustin Carlino
|
ef60359cc8
|
spawn trips from data. not working yet; hitting a problem with
sidewalk->bike lane on oneways
|
2019-05-25 18:22:07 -07:00 |
|
Dustin Carlino
|
01a4abb64a
|
work around path traces that're breaking PolyLine
|
2019-05-25 13:33:41 -07:00 |
|