Commit Graph

198 Commits

Author SHA1 Message Date
Dustin Carlino
ee90ce1ed8 cleaning up redundant extern crates 2018-06-25 09:14:44 -07:00
Dustin Carlino
ba310cbd45 removing geom crate, using just map model 2018-06-25 09:00:43 -07:00
Dustin Carlino
2b9eb66ba1 moving polyline to map_model, using pt2d 2018-06-24 17:01:40 -07:00
Dustin Carlino
3e33162779 polygons for a polyline. the simple method somehow didn't work, not sure
why!
2018-06-24 16:49:00 -07:00
Dustin Carlino
2314907f4e unit test for polyline shifting 2018-06-23 21:19:58 -07:00
Dustin Carlino
2334c46cd3 now with 4 points, and shifting an entire polyline intelligently 2018-06-23 16:23:56 -07:00
Dustin Carlino
8530622beb label all points by the magic of macros 2018-06-23 15:37:18 -07:00
Dustin Carlino
3f1b867809 multiple lanes on each side of the road 2018-06-23 15:15:08 -07:00
Dustin Carlino
3270d9f1ba messing around with the multiline drawing. moving point, labeling
points, using line intersection to find a decent join point.
2018-06-23 14:52:18 -07:00
Dustin Carlino
0327432f2f adding a second UI for experimenting 2018-06-23 10:27:30 -07:00
Dustin Carlino
0d46b413bb move gfxctx 2018-06-22 14:42:13 -07:00
Dustin Carlino
b3267bb2e7 make background color configurable 2018-06-22 14:08:52 -07:00
Dustin Carlino
5ce158cb90 refactoring json saving/loading 2018-06-22 13:36:12 -07:00
Dustin Carlino
915ad9f7fe slightly refactor some zoom stuff 2018-06-22 10:56:18 -07:00
Dustin Carlino
d54bce01ac make plugins track their own active state 2018-06-22 10:35:35 -07:00
Dustin Carlino
2770b59f85 make the color tuner actually change things live 2018-06-21 21:33:08 -07:00
Dustin Carlino
348f9a0a0f very hacky menu to pick what color to change 2018-06-21 13:45:09 -07:00
Dustin Carlino
6b8a5a0103 moving more colors to scheme 2018-06-21 11:18:17 -07:00
Dustin Carlino
dde825fa56 dont clobber colors when introducing a new one 2018-06-21 10:42:30 -07:00
Dustin Carlino
e7e334a460 using color scheme in most places 2018-06-21 10:32:07 -07:00
Dustin Carlino
623f0528cd saving and loading a color scheme, but not using it yet 2018-06-21 09:40:53 -07:00
Dustin Carlino
e0a613fb21 basic color picker plugin 2018-06-20 21:13:41 -07:00
Dustin Carlino
480bf5ffbe always display the front path for buildings 2018-06-20 18:13:18 -07:00
Dustin Carlino
c2473828a6 finding paths between buildings and nearest sidewalk 2018-06-20 17:29:04 -07:00
Dustin Carlino
03df50c96e fill in parcel interior with color 2018-06-19 14:24:30 -07:00
Dustin Carlino
3838a1c4ac extra lanes on one-ways 2018-06-19 13:39:10 -07:00
Dustin Carlino
0d43b8da88 dont put cars on wrong lane types 2018-06-19 12:24:29 -07:00
Dustin Carlino
5411310b20 rm snake game plugin and poorly written animation stuff 2018-06-19 12:19:05 -07:00
Dustin Carlino
592f284be3 fix center lines for two-ways 2018-06-19 10:28:08 -07:00
Dustin Carlino
52b8570e6c sidewalks for two-ways 2018-06-19 10:10:30 -07:00
Dustin Carlino
854eee4fd0 rendering parking lanes for two-ways... 2018-06-19 09:54:21 -07:00
Dustin Carlino
55fea2d5a7 moving to new way of generating lanes from osm ways 2018-06-19 09:29:58 -07:00
Dustin Carlino
ef78902f9a slowly moving away from depending on other_side in Road, and declaring LaneType stuff 2018-06-19 09:03:26 -07:00
Dustin Carlino
91920c3e1d dont reach into DrawRoad's polygon directly from DrawIntersection 2018-06-18 14:46:11 -07:00
Dustin Carlino
40ec99592d making DrawRoad use pts from GeomRoad 2018-06-18 12:46:25 -07:00
Dustin Carlino
923883883b updating README and trimming license declarations 2018-06-03 17:56:53 -07:00
Dustin Carlino
37b3909596 dont print a newline in the OSD unless necessary 2018-05-16 19:31:57 -07:00
Dustin Carlino
0e672f9e09 remove svg rendering. output is too large, never used. 2018-05-16 18:58:30 -07:00
Dustin Carlino
d8aa559e0e draw OSD from one place, accumulating lines 2018-05-16 17:09:44 -07:00
Dustin Carlino
b8842d5852 detect and fix when two parts of the UI try to read the same key 2018-05-14 19:00:26 -07:00
Dustin Carlino
f2b7344940 using new rust 1.26 match stuff, and fmt 2018-05-10 16:19:26 -07:00
Dustin Carlino
677f74770a dont crash in traffic signal editor when reading keyboard 2018-04-22 16:47:14 -07:00
Dustin Carlino
9f3fd72417 changing f64 time to u32 ticks. this gets rid of the custom serde stuff
and lets us compare full sim states
2018-04-14 15:29:18 -07:00
Dustin Carlino
401123d11a make rng part of sim 2018-04-13 22:44:24 -07:00
Dustin Carlino
f8436f9017 add UI hooks to save/load sim state 2018-04-13 21:52:30 -07:00
Dustin Carlino
ff2f284d1f serializing (most of) the sim state 2018-04-13 19:08:18 -07:00
Dustin Carlino
065c2ce9ba Importing everything since the initial import 2018-04-10 17:51:37 -07:00
Dustin Carlino
1863289f6d Initial import of A/B Street prototype. 2018-03-13 08:06:03 -07:00