Commit Graph

1819 Commits

Author SHA1 Message Date
Dustin Carlino
e754bf3a14 hider into debug mode 2019-04-25 22:17:24 -07:00
Dustin Carlino
f8d81a92c6 plumbing a ShowObjects trait to UI stuff, will use for hider and layers 2019-04-25 17:06:35 -07:00
Dustin Carlino
1e267c9d5d object debugger / tooltip thingy 2019-04-25 16:50:05 -07:00
Dustin Carlino
6447657ad8 connected roads plugin 2019-04-25 16:38:46 -07:00
Dustin Carlino
30411b66c3 moving polygon debugger 2019-04-25 16:33:55 -07:00
Dustin Carlino
43628c280e original road plugin to debug mode 2019-04-25 16:22:30 -07:00
Dustin Carlino
4df4a0931e chokepoints finder -> debug mode 2019-04-25 16:15:18 -07:00
Dustin Carlino
a2fb26d5fb starting a debug mode... for me, basically :P 2019-04-25 15:58:55 -07:00
Dustin Carlino
dd88b8724d time traveler pt2 -- plumbing GetDrawAgents 2019-04-25 15:42:53 -07:00
Dustin Carlino
5d0e43269b moving time traveler into sandbox mode 2019-04-25 15:19:26 -07:00
Dustin Carlino
e93bf0f357 moving show_activity viz to sandbox mode 2019-04-25 15:09:18 -07:00
Dustin Carlino
e763171bc9 moving route viewer to sandbox 2019-04-25 14:55:51 -07:00
Dustin Carlino
79b87d6040 agent follower in sandbox mode 2019-04-25 14:36:47 -07:00
Dustin Carlino
e1a854609c moving agent spawner to sandbox mode 2019-04-25 14:28:36 -07:00
Dustin Carlino
1fabf29747 start the sandbox mode, just with sim controls. remove unused sim score
plugin.
2019-04-25 12:22:12 -07:00
Dustin Carlino
ce25f8bbf6 making menus support multi-line prompts 2019-04-24 16:51:35 -07:00
Dustin Carlino
faea4538a1 remove old unused debug plugins: OSM classifier, geometry validation,
floodfiller
2019-04-24 13:54:40 -07:00
Dustin Carlino
3c2a8feef3 cleaning up apply_map_edits 2019-04-24 13:46:28 -07:00
Dustin Carlino
e86f88199c reset RenderingHints properly for traffic signal editor 2019-04-24 13:10:44 -07:00
Dustin Carlino
0694283b10 detect reverts to original for traffic signal 2019-04-24 13:06:58 -07:00
Dustin Carlino
02e1cd559c moving traffic signal editor into edit mode 2019-04-24 12:58:10 -07:00
Dustin Carlino
81bb9c8d1b moving the stop sign editor into edit mode. figuring out how to plumb show_turn_icons and color_for 2019-04-24 12:04:37 -07:00
Dustin Carlino
2384157108 simplify ezgui API -- event takes &mut EventCtx 2019-04-23 21:28:03 -07:00
Dustin Carlino
138b47512a folding in road editor 2019-04-23 17:29:51 -07:00
Dustin Carlino
1abb5b630a move load edits into new edit mode. remove old plugin. 2019-04-23 17:14:09 -07:00
Dustin Carlino
2affd5f238 put the screensaver and RNG into the SplashScreen state where they belong 2019-04-23 16:56:37 -07:00
Dustin Carlino
2c0c7bfc1d stop calling old UI event from edit mode 2019-04-23 16:48:37 -07:00
Dustin Carlino
74c922daf6 taking over save edits functionality 2019-04-23 16:42:51 -07:00
Dustin Carlino
d771927576 moving the map diffs viewer into a top-level Edit mode 2019-04-23 16:01:33 -07:00
Dustin Carlino
c0947fcb35 refactor tutorial mode impl 2019-04-23 15:48:18 -07:00
Dustin Carlino
6c247d376c clean up ezgui draw() API by putting screencap and naming_hint inside GfxCtx 2019-04-23 15:42:15 -07:00
Dustin Carlino
51db6887fa combine SplashScreen and About modes by adding LogScroller functionality to Wizard natively 2019-04-23 15:30:53 -07:00
Dustin Carlino
410cb17c5f hacky way to split GameState into multiple modules 2019-04-23 15:19:03 -07:00
Dustin Carlino
a8ca4b7dd0 make map edits actually show up reasonably loudly 2019-04-23 14:22:45 -07:00
Dustin Carlino
e627930757 draw text in map-space, except drawing zoomed-in text is extremely slow! 2019-04-23 14:12:30 -07:00
Dustin Carlino
320c91faf7 bam, variable font size 2019-04-22 20:17:18 -07:00
Dustin Carlino
008b2f9de5 preps for variable font size 2019-04-22 20:02:18 -07:00
Dustin Carlino
1aa1be6df2 tweak rust article before publishing 2019-04-22 16:04:38 -07:00
Dustin Carlino
2218f6fd08 filling out rust article 2019-04-22 15:53:26 -07:00
Dustin Carlino
4eece7bae7 borrow text to draw, stop cloning everywhere 2019-04-22 13:29:24 -07:00
Dustin Carlino
c2ddb7587b make neighborhood polygon points easier to see and manipulate at all zoom levels 2019-04-22 12:51:43 -07:00
Dustin Carlino
26fd30191d removing controls from LogScroller, which doesn't do the right thing and
also crashes if you try to scroll
2019-04-22 11:06:07 -07:00
Dustin Carlino
eae301ee1b only need one runner script for the releases, now that we can load different maps easily 2019-04-21 18:27:38 -07:00
Dustin Carlino
7c67ceca2d remove UIState trait 2019-04-21 17:38:22 -07:00
Dustin Carlino
b433fc692e delete old tutorial mode, fold splash.rs into main.rs, change flag to
skip the menu
2019-04-21 17:25:18 -07:00
Dustin Carlino
4a9f9f0ae3 start a new tutorial mode 2019-04-21 17:16:50 -07:00
Dustin Carlino
45083198ea load different maps from splash menu 2019-04-21 15:59:04 -07:00
Dustin Carlino
a718717c5b pause game and return to splash screen, but now without scrolling and
with slightly different options
2019-04-21 14:28:41 -07:00
Dustin Carlino
996cab982c cleanly quit from splash menu 2019-04-21 14:18:45 -07:00
Dustin Carlino
adc12f85b9 continue scrolling while about screen is active 2019-04-21 14:16:19 -07:00