Dustin Carlino
b28874d5bc
find trips using a parked car later
2019-10-16 18:54:28 -07:00
Dustin Carlino
03d31477af
make sim handle parking lanes on off-side of a oneway. ostensibly.
...
haven't forced a test case yet
2019-10-16 17:55:22 -07:00
Dustin Carlino
b479c8afed
hotkeys and tooltips for buttons
2019-10-16 15:42:58 -07:00
Dustin Carlino
83d10c714b
toggle between 3 states for hiding modal menus
2019-10-16 15:21:13 -07:00
Dustin Carlino
10f2f6008f
improve map_editor's intersection preview
...
- timer for setting up world
- preview all intersections
- move world to map_editor; it's too oddly specialized
- dont show circle while previewing intersection geom
- show overlapping intersection polygons
2019-10-16 15:08:22 -07:00
Dustin Carlino
413525aae5
refactor RawRoad -> initial Road
2019-10-16 10:36:39 -07:00
Dustin Carlino
1438a1490b
allow parking lanes on the 'backwards' direction of oneways. they exist, still need to use them properly.
2019-10-16 10:23:29 -07:00
Dustin Carlino
22df33f66a
try to clean up crashes with showing_pts state
2019-10-16 08:58:14 -07:00
Dustin Carlino
84c5241506
when toggling parking, make sure hints applied uniformly to the entire way. warn if not.
2019-10-16 08:47:48 -07:00
Dustin Carlino
1fc9792378
finish producing the osm change
2019-10-15 18:49:06 -07:00
Dustin Carlino
76f5dc21be
steps towards producing an osm change file
2019-10-15 13:43:47 -07:00
Dustin Carlino
74372c64b6
count how many roads have been audited. apply default tags (and mark
...
them inferred) to everything, to count properly.
2019-10-15 12:17:38 -07:00
Dustin Carlino
9a4da1e610
display inferred parking in map editor. fast key to toggle between 4
...
parking states. propagate change to all roads with same way ID.
2019-10-15 12:00:15 -07:00
Dustin Carlino
a762887cf8
interpret parking tags from OSM. explicitly mark when convert_osm infers and adds these.
2019-10-15 09:49:11 -07:00
Dustin Carlino
d6a8b1c1cd
automatically show road points of selected thing in map_editor
2019-10-14 15:39:51 -07:00
Dustin Carlino
a1cc53d68a
redo mouseover when zooming, so that we never have current_selection when unzoomed.
2019-10-14 15:15:56 -07:00
Dustin Carlino
51352d05a9
interpret OSM tags to figure out bike lanes on one side
2019-10-14 15:05:45 -07:00
Dustin Carlino
a55a7d3c48
cleaning up info panel for each case so far, bringing in any lingering stuff from the old sidebar branch
2019-10-14 14:23:48 -07:00
Dustin Carlino
f6865fac43
Get rid of ID::Trip, not sure why that ever made sense
2019-10-14 13:57:37 -07:00
Dustin Carlino
4df994a6c9
moving debug mode's tooltips into a popup info panel, hopefully the precursor to a sidebar
2019-10-14 13:42:22 -07:00
Dustin Carlino
430b1245c4
working on a new traffic signal scroller. disabled. decent start.
2019-10-13 18:44:19 -07:00
Dustin Carlino
f82000cff4
just select entire road in map_editor. individual lanes were only for labeling one side of the road, which is only a theoretical feature for test maps. also dont allow swapping lanes uselessly.
2019-10-13 16:42:03 -07:00
Dustin Carlino
f772f12a7d
combining info/controls for map_editor sidebar
2019-10-13 16:14:47 -07:00
Dustin Carlino
5358931a5e
fixing up a few lingering places in the game that were constructing text prompts
2019-10-13 15:43:11 -07:00
Dustin Carlino
5304aa6ecf
trying out permanent sidebar in map_editor. no more tooltips
2019-10-13 15:31:17 -07:00
Dustin Carlino
85ff33e72d
basic, but working, impl of cars lane-changing opportunistically
2019-10-13 14:30:20 -07:00
Dustin Carlino
df4d37f996
migrate some map_editor stuff to a proper modal menu. display constant
...
OSD for info and for controls.
2019-10-12 19:02:58 -07:00
Dustin Carlino
d82263978b
simpler context menu impl. finally delete the old one
2019-10-12 14:53:27 -07:00
Dustin Carlino
a077276275
rewriting the wizard menu from scratch too. also making sure to update
...
master GUI state (where's the cursor?) up-front. that's independent from
letting the canvas pan, a client decision
2019-10-12 10:24:07 -07:00
Dustin Carlino
f548ded8cc
most modalmenus will maintain layout themselves. also stop doing
...
layouting in constructors; the first event will work fine.
2019-10-11 20:45:27 -07:00
Dustin Carlino
f1cae9bd37
dont show info when modalmenu hidden, just title. simplify setting info
...
from outside.
2019-10-11 20:10:12 -07:00
Dustin Carlino
0ea138aa02
adding show/hide functionality back to modalmenu, but WAY more cleanly
2019-10-11 15:00:08 -07:00
Dustin Carlino
419017a295
small refactor btwn sandbox and abtest mode
2019-10-11 14:01:56 -07:00
Dustin Carlino
05b953d639
split sim summary onto two nice lines
2019-10-11 13:25:41 -07:00
Dustin Carlino
81addd9c8c
making menu label swaps more ergonomic
2019-10-11 13:15:14 -07:00
Dustin Carlino
f71d229594
ability to change menu labels. use for speed controls and debug mode.
2019-10-11 13:09:32 -07:00
Dustin Carlino
88be94e789
simple stacked layouting for text box, slider, and modal menu (rewritten
...
from scratch). not fully done, but perfectly usable and clean!
2019-10-11 12:37:48 -07:00
Dustin Carlino
2edb275d3c
rename cycle -> phase, match the literature
2019-10-09 15:27:25 -07:00
Dustin Carlino
21aa42891d
parameterizing slider dims, making them match menus
2019-10-09 15:03:23 -07:00
Dustin Carlino
da0b880484
place mouse tooltips away from screen edge, just like context menus
2019-10-09 11:21:04 -07:00
Dustin Carlino
ec7d0b463d
force modal menus beneath sliders to have top-left corner at a point; stop doing the jump left/right behavior based on running off the screen. need a proper vertical stacking layout thing for that.
2019-10-09 10:44:11 -07:00
Dustin Carlino
e0ae1d5195
tooltip with key bindings for hide/expand icons. doesn't look great
...
though.
2019-10-09 10:29:11 -07:00
Dustin Carlino
7e40f6797e
avoid crash in individ_trips
2019-10-08 17:09:32 -07:00
Dustin Carlino
b7b3a97a5e
remove parking from SR-99 and other highways :)
2019-10-08 11:41:45 -07:00
Dustin Carlino
8d826c2f43
ah, need to rerender lane on the other side of the road for contraflow to erase dashed white lines
2019-10-08 11:32:30 -07:00
Dustin Carlino
ee5462e7c4
woops, wasnt keeping menu state synced when pausing externally
2019-10-08 11:20:26 -07:00
Dustin Carlino
258f3d4528
reverse lane direction as a new edit. might be a few determinism issues,
...
but seems to mostly work.
2019-10-07 18:04:31 -07:00
Dustin Carlino
98d7f26f2d
change pause/resume button to say the appropriate thing, now that it's easy
2019-10-07 14:58:55 -07:00
Dustin Carlino
7c3a26fed8
making ItemSlider and all trip viz also combine menu and slider better
2019-10-07 14:54:42 -07:00
Dustin Carlino
5b6eb8629c
color buildings by number of cars needed
2019-10-07 13:19:45 -07:00