Commit Graph

33 Commits

Author SHA1 Message Date
Dustin Carlino
0ae0a88abb actually, serialize MapFixes as json for now. will switch to binary when this is large later, but for now, this is easier to handle schema changes and debug. 2019-09-19 14:39:31 -07:00
Dustin Carlino
9a58136fc1 remove two debuggers (original roads and reattempting intersection geom) from game. not useful, and this could work better in synthetic or fix_map_geom. also lets us stop copying an extra polyline in the final map 2019-09-19 14:16:50 -07:00
Dustin Carlino
fbb7d8ac96 cleaning up CmdArgs usage 2019-09-19 10:42:16 -07:00
Dustin Carlino
f18fc72265 finish structopt removal 2019-09-18 17:29:34 -07:00
Dustin Carlino
ad8f984359 the convenience of a --dev flag 2019-09-17 16:49:29 -07:00
Dustin Carlino
1e4f36dec1 duplicate OSM ids in tag maps universally, to simplify some other places 2019-09-17 15:37:11 -07:00
Dustin Carlino
af22daaf69 hop to debug mode from a/b test mode, and make it a proper pushed state
from edit and sandbox mode too
2019-09-15 13:28:38 -07:00
Dustin Carlino
1f2c4e3797 make route viewer also handle mode changes and trips ending 2019-09-15 13:07:58 -07:00
Dustin Carlino
5c2d86ee95 improve a/b scoreboard colors and duration printing 2019-09-15 12:25:57 -07:00
Dustin Carlino
ece53430a1 point out the A and B in the a/b test menu 2019-09-15 10:28:10 -07:00
Dustin Carlino
fa898a9c70 fix more a/b test setup bug -- have to reset sim after applying edits.
doh.
2019-09-14 19:34:24 -07:00
Dustin Carlino
f52ab43752 fix HUGE a/b test setup bug... secondary was instantiating scenario, THEN applying map edits. possibly still broken though?! 2019-09-14 14:46:51 -07:00
Dustin Carlino
8730884eb4 dont allow setting up abtest with same edits for both 2019-09-14 13:48:21 -07:00
Dustin Carlino
974e4d43b7 fix debug mode's overlapping UIs... dont keep trying to draw all the special debug mode stuff in nested states. also stop double-drawing when using {Road,Building}Colorer 2019-09-14 13:42:43 -07:00
Dustin Carlino
1248dac270 nicer API for appending bits of text 2019-09-13 15:23:25 -07:00
Dustin Carlino
97361317ed greying out choices in scoreboard that have no trips 2019-09-11 12:51:07 -07:00
Dustin Carlino
c8e3e9ce4b rearrange colorscheme changing, so it doesnt happen in irrelevant modes 2019-09-11 12:43:06 -07:00
Dustin Carlino
612b02d526 migrating all callers off old methods. decided to keep choose_string 2019-09-11 12:32:17 -07:00
Dustin Carlino
aa3fed3395 builder-based API for wizard choosing stuff. need to convert other
callers now.
2019-09-11 11:52:34 -07:00
Dustin Carlino
224461fcdc plumb hatching bit in the style vertex attrib, not this awkward stateful uniform value 2019-09-11 11:06:57 -07:00
Dustin Carlino
9ed38c849c be able to flag off using textures, and sub a fallback color. also move texture loading into the loading screen. and fix the release script 2019-09-10 17:04:33 -07:00
Dustin Carlino
9867619c9c generalize ezgui Color to also cleanly represent textured things 2019-09-10 16:41:35 -07:00
Dustin Carlino
9a624397e0 supporting up to 10 textures 2019-09-10 15:44:07 -07:00
Dustin Carlino
fdd770088d very hacky, minimal impl of texturing water 2019-09-10 15:21:58 -07:00
Dustin Carlino
c4b47aeeb5 make other_crosswalk_ids aware of the degenerate intersection quadruple case, and avoid quadruple-rendering 2019-09-09 14:55:53 -07:00
Dustin Carlino
d98ff19c1d fix route viewer when skipping fwd in time 2019-09-09 14:39:45 -07:00
Dustin Carlino
2d3c079db5 spawn agent from sidewalk 2019-09-09 11:20:06 -07:00
Dustin Carlino
ed559bd71e geom debugger does warping 2019-09-09 09:51:15 -07:00
Dustin Carlino
43c2c72e71 importing street sign dataset to override bad parking categories from blockface. the signs look overeager... so disabling 2019-09-08 17:23:53 -07:00
Dustin Carlino
105f526e9e contextual_action takes &str or String 2019-09-07 13:56:00 -07:00
Dustin Carlino
cacd5174ad make legend crisper by removing transparency 2019-09-07 13:50:34 -07:00
Dustin Carlino
19135c7461 debug feature to kill off a stuck car 2019-09-07 13:46:47 -07:00
Dustin Carlino
caaf0954ab rename the main editor crate to game -- map editing is just a tiny piece ;) 2019-09-07 13:09:09 -07:00