Commit Graph

3699 Commits

Author SHA1 Message Date
Dustin Carlino
8f88d58952 adding a quadtree to halloween demo, by copying lots of code 2018-10-07 13:07:44 -07:00
Dustin Carlino
403ef7d0ec also move the buildings 2018-10-07 12:51:27 -07:00
Dustin Carlino
daac00155e start animating the lines 2018-10-06 14:30:57 -07:00
Dustin Carlino
282a4a6712 rendering buildings statically 2018-10-06 13:57:06 -07:00
Dustin Carlino
b14df8a090 starting new halloween experiment... just rendering thick roads 2018-10-06 13:45:10 -07:00
Dustin Carlino
661d784b6e adjusting logging to not include debug by default 2018-10-06 12:21:12 -07:00
Dustin Carlino
da550910c7 prune unrouteable bus routes in map model layer 2018-10-06 12:13:36 -07:00
Dustin Carlino
7b3069a1a1 clean up ezgui draw() API and hide window size inside ezgui entirely 2018-10-06 11:52:08 -07:00
Dustin Carlino
8c7e89702f fix turn cycler plugin overriding others 2018-10-06 11:30:50 -07:00
Dustin Carlino
0048f90734 removing use_event_directly 2018-10-06 11:15:37 -07:00
Dustin Carlino
94ac54d7e8 stop using Color and Vec2d types from piston, to slowly move away from dependence on piston 2018-10-05 14:58:48 -07:00
Dustin Carlino
478d12aecb plumb car properties between driving and parking sims. seems simpler... 2018-10-05 12:35:32 -07:00
Dustin Carlino
9150ea3f6a traffic signals shouldnt be marked as changed by default because of expanding cycles 2018-10-05 11:00:27 -07:00
Dustin Carlino
2b0af3ea52 fixing name of map edits... 2018-10-05 10:58:45 -07:00
Dustin Carlino
30b0ace7bb woops, major performance bug in map edit manager 2018-10-04 11:23:21 -07:00
Dustin Carlino
2c8aa62f97 describe map edits in GUI 2018-10-04 11:16:00 -07:00
Dustin Carlino
bed2c604f3 directly save control intersection policies, dont need this intermedite savestate struct 2018-10-04 11:05:53 -07:00
Dustin Carlino
f8803b9b2b dont reinitialize logs 2018-10-04 10:45:42 -07:00
Dustin Carlino
2d08a11889 making the map import script download, unzip, and extract stuff if
needed
2018-10-03 22:59:32 -07:00
Dustin Carlino
b1ef405892 filling out edits manager 2018-10-03 17:03:26 -07:00
Dustin Carlino
53993feebb skeleton of plugin that can manage different map edits 2018-10-02 21:29:50 -07:00
Dustin Carlino
190d9be972 sharing flags for specifying sim to load 2018-10-02 16:34:27 -07:00
Dustin Carlino
04acd6723b rename scenario_name, now that we have scenarios 2018-10-02 16:13:20 -07:00
Dustin Carlino
72d0294efb load named map edits, not a single one 2018-10-02 16:07:48 -07:00
Dustin Carlino
f30dae570c loading map edits from named place 2018-10-02 15:55:31 -07:00
Dustin Carlino
7b718b4621 bundling all map edits together 2018-10-02 15:48:10 -07:00
Dustin Carlino
bbfe00ce63 dont even give option to edit sidewalks, since that doesnt work 2018-10-02 14:27:19 -07:00
Dustin Carlino
7ee75ea6be renaming osd -> just text 2018-10-01 13:56:43 -07:00
Dustin Carlino
d9ff599332 refactoring text alignment 2018-09-28 07:59:05 -07:00
Dustin Carlino
8badd7a813 show optional sidepanel in UI with current sim score 2018-09-28 07:43:53 -07:00
Dustin Carlino
4f3afa3894 very primitively tracking trip times, only showing in headless 2018-09-28 07:19:16 -07:00
Dustin Carlino
c1427a044c dont lose logs in editor 2018-09-27 14:57:01 -07:00
Dustin Carlino
6e0f58f4c6 accept scenarios on the CLI 2018-09-27 14:53:46 -07:00
Dustin Carlino
30362f138d spawn drivers too from scenarios 2018-09-27 14:42:22 -07:00
Dustin Carlino
287528bb66 handle spawn commands in any order 2018-09-27 14:19:25 -07:00
Dustin Carlino
b7a3dc852c spawn walking agents over time 2018-09-27 12:37:03 -07:00
Dustin Carlino
dc6549f726 seeding parked cars in polygon 2018-09-27 12:08:35 -07:00
Dustin Carlino
8e12d4d6f0 interlude: make spawn functions directly populate car_properties 2018-09-27 11:53:51 -07:00
Dustin Carlino
fa1d7e8182 WIP instantiating a scenario 2018-09-27 11:47:29 -07:00
Dustin Carlino
3d2255d728 move wizard to ezgui \o/ 2018-09-25 14:43:56 -07:00
Dustin Carlino
7dabbc0323 dont make wizard know about neighborhoods or ticks; move that to the scenario manager plugin 2018-09-25 14:33:43 -07:00
Dustin Carlino
4aea666f56 use generic menus to make choosing a scenario very nice 2018-09-25 11:16:59 -07:00
Dustin Carlino
337d3f1586 generic menus in wizard 2018-09-25 11:10:49 -07:00
Dustin Carlino
d0b4e9cb3a made a generic text entry function, with help from
https://www.reddit.com/r/rust/comments/9ip8cq/trouble_cloning_an_any/
2018-09-25 08:37:08 -07:00
Dustin Carlino
9704675239 making a generic wizard part 1: storing generic state 2018-09-24 18:39:43 -07:00
Dustin Carlino
6c7b6fd4af fix build for playground gui 2018-09-24 16:44:02 -07:00
Dustin Carlino
f49998043d gluing together wizard for editing a scenario 2018-09-24 16:03:09 -07:00
Dustin Carlino
9ec19452af saving scenarios 2018-09-24 15:52:15 -07:00
Dustin Carlino
49ab31c1ca woops, was displaying ansi codes in logscroller 2018-09-24 15:42:10 -07:00
Dustin Carlino
d134706db7 bigger FSM for managing scenarios... it initially seems to work? :P 2018-09-24 15:40:37 -07:00