Commit Graph

1872 Commits

Author SHA1 Message Date
Dustin Carlino
e767a704d3 remove old modal menu stuff from ezgui 2019-05-01 16:02:50 -07:00
Dustin Carlino
2915af1b7c converting last things to NewModalMenu 2019-05-01 15:55:38 -07:00
Dustin Carlino
36df2e7908 convert more to NewModalMenu 2019-05-01 14:55:47 -07:00
Dustin Carlino
d10cbd9b7c manage the ModalMenu directly in each state, not in ezgui. convert 2
uses of it to start.
2019-05-01 14:00:46 -07:00
Dustin Carlino
1eb1b0ea40 slightly refactoring Text creation 2019-05-01 11:46:22 -07:00
Dustin Carlino
b2b7d0767c use a modal menu for tutorial mode 2019-05-01 11:37:19 -07:00
Dustin Carlino
c904e9cdcf get rid of set_mode_with_extra; legend plugin is gone 2019-05-01 11:27:28 -07:00
Dustin Carlino
b42bba799d ModalMenus can be mostly hidden 2019-05-01 11:17:30 -07:00
Dustin Carlino
6e2689f68c a round of adding/removing things from the TODOs 2019-04-30 15:59:34 -07:00
Dustin Carlino
a1d1c3d3bc refactor some warping code 2019-04-30 14:54:53 -07:00
Dustin Carlino
82627ce927 prompt for the cross-street next 2019-04-30 14:43:57 -07:00
Dustin Carlino
3b2c1a1d73 new warp function that autocompletes street names 2019-04-30 12:48:00 -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
51f279c3a2 always draw full turn when hovering over an icon, to be clear what the icon means 2019-04-29 13:33:57 -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
5d7769694d moving loading utilities to the single module that uses them 2019-04-29 10:10:43 -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
2cb01aa613 new release 2019-04-28 20:37:20 -07:00
Dustin Carlino
8b2d74cad8 simplify instructions after all the GUI refactor 2019-04-28 20:24:37 -07:00
Dustin Carlino
aa6f8f61fd make escape key work in modal menus 2019-04-28 20:16:27 -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
2f6cc5fe4d remove vestiges of top menu being in the way 2019-04-28 20:10:00 -07:00
Dustin Carlino
8f69d5bbac woops, ModalMenus and context menus broke if the top menu didnt exist. :P decouple them 2019-04-28 18:06:17 -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
db67c734ef moving turn cycler to CommonState 2019-04-28 17:18:54 -07:00
Dustin Carlino
78fc973611 move the show_associated plugin to some CommonState, invoke it from relevant modes 2019-04-28 17:09:31 -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
c10819b546 dont totally cover up things with the diff color after editing them 2019-04-27 13:52:52 -07:00
Dustin Carlino
01628624c0 hotkeys on the wizard splash screen 2019-04-27 13:48:22 -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
Dustin Carlino
3c85284e59 skeletons for mission editing and a/b test modes 2019-04-26 14:35:29 -07:00
Dustin Carlino
4fe09e3040 moving color picker to debug mode 2019-04-26 10:56:49 -07:00
Dustin Carlino
5450739231 move OSM search into debug mode. most players wont care about OSM metadata. 2019-04-26 10:40:37 -07:00