Commit Graph

144 Commits

Author SHA1 Message Date
Dustin Carlino
187c8ad4c5 consider again the possibility of merging some degenerate roads 2020-07-07 21:39:42 -07:00
Dustin Carlino
4aaa41dd13 zip screenshots in dropbox, because managing individual files keeps crashing the daemon 2020-07-07 16:31:52 -07:00
Dustin Carlino
3eb8db3f75 interpret OSM center lines as the physical center of the road (excluding
sidewalks), not as the divider between the two directions. this
dramatically changes geometry everywhere for the better.

thanks to
https://wiki.openstreetmap.org/wiki/Proposed_features/placement for
clear explanations. will be looking next at interpreting this tag.

also temporarily removing screenshots, because uploading individual
files and waiting for dropbox to sync isn't sustainable
2020-07-07 15:52:51 -07:00
Dustin Carlino
c3858b9cdd mark construction lanes appropriately. this broke when adapting to the new tagging on the west seattle bridge, but there are some roads tagged this way in krakow.
(not regenerating all the maps yet, expecting to do more work on this
today)
2020-07-06 07:43:42 -07:00
Dustin Carlino
f02fa8bddd add a tool to export roads to https://github.com/d-wasserman/shared-row 2020-07-04 11:29:45 -07:00
Dustin Carlino
4f507ef96a refactor Composite style 2020-07-03 13:01:54 -07:00
Dustin Carlino
8b006c037d slim down sidewalk corners, at the repeated urging of julian 2020-07-02 17:12:08 -07:00
Javed Nissar
1f58cbf16d
Refactor event update loop (#59)
* Refactor event update loop to enable multiple game update types

* Implement pan event to improve panning with cursor at edge of screen and
fixed formatting
2020-07-01 17:47:30 -07:00
Dustin Carlino
1422643973 finish the ezgui layout refactor. most things are way more consistent now, and with less code 2020-07-01 15:39:04 -07:00
Dustin Carlino
834f060462 yet more layout refactor 2020-07-01 15:31:52 -07:00
Dustin Carlino
2881341b63 make parking lots hideable. dont snap parking and sidewalk hints to
light rail. not regenerating all the maps again yet to avoid some churn
2020-06-26 17:02:14 -07:00
Dustin Carlino
b3a480b4c1 clean up old trip positions from Sim. implement the all-route debugger
in a more straightforward way
2020-06-25 09:20:54 -07:00
Dustin Carlino
626636ece7 remove turn lookup. have always found myself using the src lane. edits invalidated it anyway 2020-06-23 18:36:45 -07:00
Dustin Carlino
7f6beb73db mac keyboards maybe dont have right ctrl, use left ctrl instead [rebuild] 2020-06-23 10:38:41 -07:00
Dustin Carlino
eedf80bfef tiny tweaks from final testing:
- cutscene wording
- elide traffic tab on parking lanes
- dont crash when traffic signal data needs fixing, just warn more
loudly. this lets lanes near some signals actually be modified
2020-06-21 11:38:34 -07:00
Dustin Carlino
c66564dd9d try out a new style for road labels 2020-06-19 20:12:25 -07:00
Dustin Carlino
5a9fb4ceef starting work on a brute-force traffic signal heuristic. organizing
existing code better.
2020-06-19 13:07:42 -07:00
Dustin Carlino
1d252bbc40 cleaning up the last of Colorer, and quick_menu too while I'm at it 2020-06-17 10:36:18 -07:00
Dustin Carlino
0477d38c09 consistently showing layers while zoomed. it's useless in some cases,
but helpful in many. just need to find a better way to show detail on
lanes.
2020-06-16 09:54:15 -07:00
Dustin Carlino
287d56efd9 generalizing the old gridlock checker. removing unused savestate_every
support. reimpl it later using the callbacks if needed.
2020-06-09 14:29:35 -07:00
Dustin Carlino
2445bddeb9 prepping to work on sim step 2020-06-09 12:39:31 -07:00
Dustin Carlino
051d6bca24 finish cleaning up geombatch apis 2020-06-05 21:01:03 -07:00
Dustin Carlino
957ee65fc9 starting to place markers for story map. cleaning up inconsistent order
of (app, ctx)
2020-06-04 11:00:19 -07:00
Dustin Carlino
a3724e4b4d boilerplate for a story map editor. also make close buttons consistent 2020-06-03 21:52:54 -07:00
Dustin Carlino
30eafea94a start representing OSM parking lots in the map model and rendering layer 2020-06-01 12:51:14 -07:00
Dustin Carlino
47e6a6b76a clean up old design notes 2020-05-24 11:07:29 -07:00
Dustin Carlino
2d69392e9c move the kml debugging to a separate mode 2020-05-16 11:58:55 -07:00
Dustin Carlino
3145326207 start a tool to understand popular destinations. remove dot map,
superceded by live population map
2020-05-12 12:54:35 -07:00
Dustin Carlino
d6963667ea make MIN_ZOOM_FOR_DETAIL configurable. different value is really nice when thwarting gridlock 2020-05-10 11:10:12 -07:00
Dustin Carlino
7f867fda70 trim down map file size a bit by not storing building OSM tags, which
weren't useful anyway. 873MB for all maps down to 786MB. huge_seattle
343MB to 305MB
2020-05-08 14:46:36 -07:00
Dustin Carlino
c0b5ead639 display the blocked_by graph in debug mode 2020-04-29 12:34:09 -07:00
Dustin Carlino
a104088ccd pt2: rest of sim layer, which forces the UI changes too 2020-04-15 15:48:16 -07:00
Dustin Carlino
2afd83a1b9 orient all layer scales from good (green) to bad (red). make better
labels.
2020-04-07 14:12:03 -07:00
Dustin Carlino
09c4cf7284 fix some layouting problems in the layers panel 2020-04-07 12:38:28 -07:00
Dustin Carlino
fadae3aa85 improve checkbox API, use it for colored minimap checkboxes 2020-04-06 11:12:23 -07:00
Dustin Carlino
5a28f399fc convert to horizontal color legend in few more places 2020-04-04 17:03:26 -07:00
Dustin Carlino
d995a494dd dont draw some overlays when zoomed in 2020-04-04 16:01:44 -07:00
Dustin Carlino
b09c7d2726 moved rest of colors over 2020-04-04 14:15:34 -07:00
Dustin Carlino
4d8ab45750 slowly moving string colors to the struct 2020-04-04 10:59:51 -07:00
Dustin Carlino
fd80a7f2a9 starting the grand colorscheme refactor (there really are lots of grand
refactors lately). plumbing and replacing constants / floating methods
2020-04-04 10:16:18 -07:00
Dustin Carlino
6f56bf64bf dismantle the old draw_text_at, clean up a few more ezgui APIs and
callers
2020-04-02 12:02:14 -07:00
Dustin Carlino
ef90c6935c use the locate header button to follow/unfollow people 2020-04-01 15:50:11 -07:00
Dustin Carlino
3900494b2e add back some form of the follow/unfollow control 2020-03-30 10:15:53 -07:00
Dustin Carlino
12c0809b23 converting the spawner over, one of the most complex 2020-03-28 17:48:50 -07:00
Dustin Carlino
56544d6b14 working on debug mode 2020-03-28 17:09:36 -07:00
Dustin Carlino
6172fa5215 prototyping a different way of specifying contextual actions 2020-03-28 14:55:54 -07:00
Dustin Carlino
5c44f5c667 quick cleanup. ID::Person and ID::Trip no longer make sense, woot 2020-03-27 11:46:09 -07:00
Dustin Carlino
69dab9e27d typography overhaul... [rebuild] 2020-03-26 15:42:37 -07:00
Dustin Carlino
b6eb46ec04 moving ezgui stuff around a little, cleaning up some of the APIs for
instantiating widgets
2020-03-22 23:50:14 -07:00
Dustin Carlino
10d3c0aa60 get rid of the warping and normal item sliders. do something more manual in the (dev tools only) places using them. going to rethink slider API more carefully later.
(removed individual/all PSRC trip viz; these haven't been useful for a
long time, and the people/schedule stuff is kinda replacing it anyway)
2020-03-22 14:55:16 -07:00