Dustin Carlino
35c8447f84
tune MIN_ZOOM_FOR_MOUSEOVER
2018-09-14 13:23:39 -07:00
Dustin Carlino
c08477a9e9
draw lane details with generic quadtree, based on render options
2018-09-14 13:18:02 -07:00
Dustin Carlino
1c5386c011
draw building front paths again with generic quadtree
2018-09-14 13:04:10 -07:00
Dustin Carlino
772ab784a7
generic quadtree support for show_turn_icons
2018-09-14 13:01:28 -07:00
Dustin Carlino
423044a69d
generic quadtree support for ToggleableLayers
2018-09-14 12:55:30 -07:00
Dustin Carlino
4a46990457
generic quadtree - initial round. broke some features, will add them
...
back in next.
2018-09-14 12:44:10 -07:00
Dustin Carlino
46c1fb705e
the more useful get_id for renderables
2018-09-13 22:40:07 -07:00
Dustin Carlino
5303087fa2
making DrawCar implement renderable
2018-09-13 22:33:58 -07:00
Dustin Carlino
b3d2a5c5be
WIP making DrawPed implement Renderable
2018-09-13 22:15:03 -07:00
Dustin Carlino
48a47ff013
make parcels selectable too
2018-09-13 14:14:10 -07:00
Dustin Carlino
78d09fdb6d
make toggleable layer stuff just another plugin
2018-09-13 12:01:53 -07:00
Dustin Carlino
a059bccfd5
making more plugins initiate themselves, instead of UI doing it
2018-09-13 11:57:18 -07:00
Dustin Carlino
853665406b
killing the selection plugin
2018-09-13 11:28:33 -07:00
Dustin Carlino
8db279ff7c
refactoring toggleable layers
2018-09-13 10:49:56 -07:00
Dustin Carlino
799eeec73d
moving all logic out of selection plugin
2018-09-13 10:32:01 -07:00
Dustin Carlino
839ded2eed
moving hider into its own module
2018-09-13 09:51:44 -07:00
Dustin Carlino
1f8a73fb6e
going through and checking definitions of active plugins
2018-09-13 09:41:51 -07:00
Dustin Carlino
05219623bd
one active plugin at a time. easy.
2018-09-13 09:21:47 -07:00
Dustin Carlino
5fb8408a4e
just move plugin event handlers to a list of closures
2018-09-12 23:10:27 -07:00
Dustin Carlino
147901790c
first lift sim out of sim ctrl
2018-09-12 17:43:58 -07:00
Dustin Carlino
04a25bd489
refactor selection plugin at last
2018-09-12 16:58:21 -07:00
Dustin Carlino
f98f8953c1
move more drawing logic out of selection state
2018-09-12 16:26:24 -07:00
Dustin Carlino
855258ac97
moving turn cycling logic out of SelectionState
2018-09-12 16:20:13 -07:00
Dustin Carlino
db098eda69
just refactor selection plugin's color_for
2018-09-12 14:19:13 -07:00
Dustin Carlino
9d96eb1741
making a renderable trait, making everything implement it. killed a few
...
colors.
2018-09-11 13:42:53 -07:00
Dustin Carlino
986717dc76
dont expose ezgui's modules
2018-09-10 17:32:33 -07:00
Dustin Carlino
b30332dff8
WIP playing around with gfx-rs
2018-09-09 21:55:18 -07:00
Dustin Carlino
571aa2f786
split out experimental playground GUI stuff into its own crate
2018-09-09 19:16:41 -07:00
Dustin Carlino
64d4117c0c
moving GUI runner to ezgui
2018-09-09 18:50:36 -07:00
Dustin Carlino
013b3e11c5
pathfinding using bus stops, unused, and not the right interface yet
2018-09-09 14:03:20 -07:00
Dustin Carlino
ad55fd2924
detect when editor_state is for another map and ignore intersection changes
2018-09-09 13:21:53 -07:00
Dustin Carlino
0b127e979a
WIP generalizing pathfinding to have different expansion and costs
2018-09-09 13:15:56 -07:00
Dustin Carlino
0876315d50
make large.abst load, damnit!
...
- deal with loop lanes screwing up trim_lines
- give up when trim_lines fails and just keep the full geometry
- tune some epsilons
- delete duplicate turns instead of panicking
2018-09-08 21:16:58 -07:00
Dustin Carlino
f386278343
tuning EPSILON_DIST to make large.abst closer to loading
2018-09-08 19:48:11 -07:00
Dustin Carlino
dc4806bbcc
drop buildings too far away from sidewalks
2018-09-08 15:04:05 -07:00
Dustin Carlino
b14fcf8449
match bus stops to driving lanes more robustly
2018-09-08 14:54:54 -07:00
Dustin Carlino
f3982282de
speed up building creation by doing sidewalk finding in bulk
2018-09-08 13:28:09 -07:00
Dustin Carlino
630f6504f4
stick in some flamegraph timings to part of map loading
2018-09-08 13:01:39 -07:00
Dustin Carlino
ba9fe54c2a
trying to make medium map load!
...
- new polyline shifting that keeps a constant width, even at sharp
corners. it breaks and is slow when shifting just to make thick
polygons, so keep the old version around for that. actually, disable
it always. :(
- deal with bus stops on sidewalks with no associated driving lane
- more hacks to make dist_along_of_pt work for horiz/vertical lines
- handling bus stops close to the end of a sidewalk
2018-09-08 12:48:25 -07:00
Dustin Carlino
6bff2113be
more OSM types so medium map doesn't immediately crash. trying to fix
...
bad polyline projection in another branch, but don't have it working yet
2018-09-08 10:15:38 -07:00
Dustin Carlino
3cff2cecd7
stop drawing text labels on lanes
2018-09-07 15:15:16 -07:00
Dustin Carlino
87a33a6c78
replaced parts of the polygon ear clipping and seemingly fixed all the
...
problems!
2018-09-07 15:03:28 -07:00
Dustin Carlino
99fe9f170c
fixing up tests
2018-09-07 14:08:36 -07:00
Dustin Carlino
58b01fce9e
instantiate bus routes from GTFS too
2018-09-07 13:03:50 -07:00
Dustin Carlino
143084a8a9
parse gtfs during map conversion
2018-09-07 11:54:27 -07:00
Dustin Carlino
9c317137d7
use itertools in gtfs
2018-09-07 10:55:58 -07:00
Dustin Carlino
1b30dafb03
now construct bus stops in the map model layer... working, seemingly
2018-09-06 19:14:29 -07:00
Dustin Carlino
c1ad5fb39f
working on turning GTFS into map model layer bus stops, but interlude of
...
refactoring a sidewalk pt finder thing
2018-09-06 18:18:56 -07:00
Dustin Carlino
e02ec325de
simpler gtfs parsing
2018-09-06 16:48:28 -07:00
Dustin Carlino
1d732c5a3b
WIP load gtfs
2018-09-06 14:59:02 -07:00