Commit Graph

467 Commits

Author SHA1 Message Date
Dustin Carlino
1ce616b0be recenter when loading a different map 2019-06-20 15:19:35 -07:00
Dustin Carlino
0adeac1d53 remove the single point associated with intersections, now that we're
actually going to be mucking with geometry. it wasnt doing anything
useful anyway. also a round of clippy.
2019-06-12 10:10:04 -07:00
Dustin Carlino
7d4df3df8e do a/b test setup in one loading screen timer 2019-06-07 11:04:16 -07:00
Dustin Carlino
36cddbf5df recalculate current selection in all the places that used to before a big UI refactor. if not, hovering on agent + jumping savestates can crash badly. also refactor how mouseover is detected 2019-06-06 12:51: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
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
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
314489c63f overhaul unzoomed agent rendering -- just colored circles 2019-06-01 10:13:17 -07:00
Dustin Carlino
1cdbe0ea81 refactor parallelized pathfinding and use it in trip viz too 2019-05-24 12:50:01 -07:00
Dustin Carlino
21520c6afa also mouseover KML shapes in debug mode when unzoomed 2019-05-19 15:01:40 -07:00
Dustin Carlino
bb2ce2c2f5 only mouseover areas in unzoomed debug mode 2019-05-15 14:28:35 -07:00
Dustin Carlino
06aa3e7cb3 woops, broke drawing agents in intersections in 3501c0ab4f 2019-05-11 16:14:45 -07:00
Dustin Carlino
9b848c894a better selection polygons for polyline-based things 2019-05-11 16:03:39 -07:00
Dustin Carlino
2454704b6b better selection polygons... at least for intersections and buildings 2019-05-11 15:12:12 -07:00
Dustin Carlino
3501c0ab4f dont handle turn icons in UI by default; make the two editors explicitly do mouseover and draw them 2019-05-11 11:51:16 -07:00
Dustin Carlino
f63f694576 organizing stop sign drawing code a bit 2019-05-10 15:55:07 -07:00
Dustin Carlino
a53e9ee8cb only restore editor_state when --no_splash used. start screensaver on a random building, not potentially some dead space 2019-05-10 11:16:06 -07:00
Dustin Carlino
8b79c55d13 show extra shapes when zoomed out 2019-05-09 14:04:53 -07:00
Dustin Carlino
8e949d5fa9 make --num_agents work exactly when specified 2019-05-09 10:51:07 -07:00
Dustin Carlino
fce5d0f6dc animate pedestrian feet smoothly regardless of sim speed 2019-05-08 18:34:41 -07:00
Dustin Carlino
b060a3ecc2 giving pedestrians more shape 2019-05-06 12:45:52 -07:00
Dustin Carlino
a921469da9 dont special-case having a loading screen during make_gui. pass in EventCtx to make_gui to undo some hacks 2019-05-04 17:19:45 -07:00
Dustin Carlino
eed33931de proof-of-concept for gluing Timer to loading screen. hacky and not
featurefull yet.
2019-05-04 16:41:01 -07:00
Dustin Carlino
67d34413fd erase sim at strategic state-changing times 2019-05-04 09:56:36 -07:00
Dustin Carlino
e25af2e450 remove sim's dependency on ezgui and hopefully speed up draw_unzoomed in the process 2019-05-01 19:32:39 -07:00
Dustin Carlino
30db2e7fc2 flatten mouseover_something impl 2019-04-29 14:44:43 -07:00
Dustin Carlino
5a7c712f55 move DrawCtx to render module 2019-04-29 14:42:25 -07:00
Dustin Carlino
096dbd99f7 replace RenderOptions with DrawOptions 2019-04-29 14:39:08 -07:00
Dustin Carlino
1972ceeab5 actually, dont plumb DrawOptions in DrawCtx 2019-04-29 14:27:19 -07:00
Dustin Carlino
623401f588 plumb DrawOptions through DrawCtx, get rid of RenderingHints 2019-04-29 14:19:45 -07:00
Dustin Carlino
c59d76d40c organizing input to UI's draw into a struct 2019-04-29 14:05:43 -07:00
Dustin Carlino
1c5d3f6bbf never draw turn icons for SharedSidewalkCorners. remove a field from RenderingHints accordingly. 2019-04-29 13:25:09 -07:00
Dustin Carlino
6c95bdc0cd merge some stuff into a single helpers module 2019-04-29 10:03:43 -07:00
Dustin Carlino
f29570a28e flatten UIState into UI 2019-04-29 09:52:52 -07:00
Dustin Carlino
a1f50e4dfb remove OSD, which just had number of uploaded GPU things 2019-04-28 20:12:04 -07:00
Dustin Carlino
a72e779a89 remove legacy mode, UI's new_event, the top_menu... impl GUI on Game, no
more forwarding to UI ever
2019-04-28 18:00:44 -07:00
Dustin Carlino
9ed882a31c deleting unused plugin boilerplate 2019-04-28 17:45:22 -07:00
Dustin Carlino
e1f35b07cf moving warp into CommonState 2019-04-28 17:38:27 -07:00
Dustin Carlino
52ffb5cce7 common screenshot just this function 2019-04-28 17:23:35 -07:00
Dustin Carlino
4caec9c5d6 cleaning up old UI plugin structures 2019-04-28 14:15:55 -07:00
Dustin Carlino
0fb0ee0952 move the other diff plugin into a/b test mode 2019-04-28 14:05:49 -07:00
Dustin Carlino
b3949d5da7 moving one diff plugin into a/b test mode 2019-04-28 13:56:24 -07:00
Dustin Carlino
4a3e8177c4 the vital swap control 2019-04-28 13:35:01 -07:00
Dustin Carlino
58b3d6d201 moving a/b test edit plugin to a/b test mode as the initial state. putting secondary sim state into the mode directly 2019-04-28 13:31:01 -07:00
Dustin Carlino
8cc86f623a starting a/b test mode as a fork of sandbox mode, with slightly less controls 2019-04-28 12:47:19 -07:00
Dustin Carlino
6c88981d48 move neighborhood summary plugin to debug mode; ultimately for SandBoxMode but needs more work 2019-04-27 14:10:17 -07:00
Dustin Carlino
8e20e0fa89 move scenario plugin to mission edit mode 2019-04-27 13:17:10 -07:00
Dustin Carlino
6207540dc0 debug areas in debug mode; flags are silly 2019-04-27 12:05:21 -07:00
Dustin Carlino
aaff183402 move neighborhood editor into mission edit mode 2019-04-26 14:54:21 -07:00