Commit Graph

329 Commits

Author SHA1 Message Date
Dustin Carlino
23fc634eb4 refactoring wizards and loading/listing stuff 2018-10-08 12:18:13 -07:00
Dustin Carlino
f1503c2de1 rewriting neighborhood plugin to use wizard 2018-10-08 11:16:18 -07:00
Dustin Carlino
2fffbb53f9 refactoring logic to save stuff 2018-10-08 10:21:13 -07:00
Dustin Carlino
fcfef89760 intermission: handling empty directory listings, menus 2018-10-08 09:45:21 -07:00
Dustin Carlino
7ef462d94d defining a plugin to manage A/B tests 2018-10-08 09:00:55 -07:00
Dustin Carlino
daac00155e start animating the lines 2018-10-06 14:30:57 -07:00
Dustin Carlino
661d784b6e adjusting logging to not include debug by default 2018-10-06 12:21:12 -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
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
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
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
c1427a044c dont lose logs in editor 2018-09-27 14:57:01 -07:00
Dustin Carlino
b7a3dc852c spawn walking agents over time 2018-09-27 12:37:03 -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
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
Dustin Carlino
585bb1bcd3 generic way to load stuff from a dir 2018-09-24 14:54:31 -07:00
Dustin Carlino
19e6aaf244 defining scenarios, renaming polygons -> neighborhoods 2018-09-24 14:30:02 -07:00
Dustin Carlino
64e6f6c9cd define a second unused wizard workflow, and move some mostly generic pieces to ezgui 2018-09-24 14:17:29 -07:00
Dustin Carlino
7836df4580 storing associated data with menu 2018-09-24 08:34:02 -07:00
Dustin Carlino
de1033ac66 color log output on terminal 2018-09-23 14:22:25 -07:00
Dustin Carlino
a53dd51ec4 filling out logging in editor crate 2018-09-23 14:01:03 -07:00
Dustin Carlino
6c7d4185b3 proper logging from the editor layer 2018-09-22 20:12:24 -07:00
Dustin Carlino
f9e0b6facc adding a scrollable log buffer widget 2018-09-21 14:09:20 -07:00
Dustin Carlino
f6ddd8aeaa adding categories to unimportant actions, arranging them in a tree 2018-09-21 13:16:46 -07:00
Dustin Carlino
0a50fbd8bd scroll long menus 2018-09-21 09:55:56 -07:00
Dustin Carlino
f1f0683026 prompts on top of menus, too 2018-09-21 08:08:34 -07:00