Commit Graph

1900 Commits

Author SHA1 Message Date
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
Dustin Carlino
c97c189975 about screen 2019-04-21 14:08:45 -07:00
Dustin Carlino
31f9f455bb scroll the map in the background while the splash screen menu is up.
remove screensaver as a plugin.
2019-04-21 13:55:18 -07:00
Dustin Carlino
17870baf9d actually start with a menu. just play and quit right now. 2019-04-21 13:32:28 -07:00
Dustin Carlino
8ff293bdc4 dont plumb last_data through ezgui layer. apps can just... store that themselves. removes unnecessary plumbing. 2019-04-21 13:20:40 -07:00
Dustin Carlino
0b4694dcba start splash screen wrapping everything. doesn't do anything yet 2019-04-21 13:05:03 -07:00
Dustin Carlino
1dca1bd560 handle arrow-making for short last lines 2019-04-20 21:59:17 -07:00
Dustin Carlino
f5a863c64a argh, i cant do algebra. fixed arrowheads. 2019-04-20 18:20:42 -07:00
Dustin Carlino
bc47237f8d super basic reset sim function 2019-04-20 16:24:48 -07:00
Dustin Carlino
24d6924231 screensaver mode 2019-04-20 16:00:24 -07:00
Dustin Carlino
4b1107bf57 clean up ezgui runner API 2019-04-20 15:10:03 -07:00
Dustin Carlino
669fd886d5 improve turn markings on lanes 2019-04-20 11:47:42 -07:00
Dustin Carlino
3364cd1d0c smoothing out some of the weird SharedSidewalkCorners, starting article
for r/rust
2019-04-20 10:40:35 -07:00
Dustin Carlino
a1176e053b use hotkey color in OSD, to make OSD slightly more readable 2019-04-19 16:05:06 -07:00
Dustin Carlino
beba58924c pedestrian turn arrows 2019-04-19 15:35:51 -07:00
Dustin Carlino
64506f0007 woops, forgot the table of contents 2019-04-19 13:28:47 -07:00
Dustin Carlino
380bb159a0 link to binary releases and patreon and slightly rearrange main article 2019-04-19 13:25:32 -07:00
Dustin Carlino
46d24a7c58 compile on mac 2019-04-19 09:23:36 -07:00
Dustin Carlino
dc2649ad59 fix some crashes when spawning agents 2019-04-18 18:42:52 -07:00
Dustin Carlino
2a833d1e62 polishing docs 2019-04-17 17:34:57 -07:00