Commit Graph

632 Commits

Author SHA1 Message Date
Dustin Carlino
a451c06d46 proof of concept for stackable game states. most things in splash screen
and sandbox mode converted. already feeling MUCH cleaner.
2019-06-21 16:01:07 -07:00
Dustin Carlino
994cdd20ae new release 2019-06-19 14:59:57 -07:00
Dustin Carlino
5a3862dda0 expunge the concept of traffic signals being in overtime. not realistic to how people drive, the current rules allow progress without impacting safety. also disable gridlock detection -- noisy results, easier to visually spot, and slow. 2019-06-19 14:51:09 -07:00
Dustin Carlino
7a49c585cf remove building_type and stop reading the residential permit shapefile 2019-06-18 14:58:57 -07:00
Dustin Carlino
8c055312b4 refactor Warper to an ezgui widget, to use it in fix_map_geom 2019-06-14 12:45:46 -07:00
Dustin Carlino
1523f3ec7f WIP rewrite of the a/b street features page, adjust colors in
fix_map_geom, add some simple hints (23rd and madison in particular),
make merging degenerate intersections easier by showing OSM tag diff
2019-06-14 12:11:35 -07:00
Dustin Carlino
0acfc84c3c browse trips in scoreboard 2019-06-13 17:19:50 -07:00
Dustin Carlino
1f34e591e0 debug_initialmap: use loading screens, stop depicting half-roads, draw
OSM tags non-invasively on the side, rename it, highlight degenerate
intersections
2019-06-13 13:20:24 -07:00
Dustin Carlino
ec50a277ea switch to one set of hints for all maps, put it under version control. seed with a few easy ones. :) 2019-06-12 15:16:38 -07:00
Dustin Carlino
35b7c18df9 remove elevation from map model. never been used, no anticipated need for it 2019-06-12 07:25:31 -07:00
Dustin Carlino
8c834da537 remove experimental benchmark_pathfinding crate; something new is coming soon 2019-06-11 14:36:41 -07:00
Dustin Carlino
4e2d16af29 consistently using file extensions of .json and .bin, merging duplicate abstutil io functions accordingly 2019-06-11 14:30:11 -07:00
Dustin Carlino
903d3391db loading popdat broke... handle small number of classes for colorbrewer
too
2019-06-09 13:47:05 -07:00
Dustin Carlino
e54792b883 new release 2019-06-07 13:26:43 -07:00
Dustin Carlino
322176dded detect when edits are equivalent to original 2019-06-06 13:56:42 -07:00
Dustin Carlino
e87581a86e adjusting map of 23rd ave for first real demo. making unzoomed colors
match between sim and psrc trip viz
2019-06-05 11:47:17 -07:00
Dustin Carlino
a9319dbe6a capture PSRC trips that start/end out-of-bounds, matching them to a border. slow and buggy start! 2019-05-31 11:37:25 -07:00
Dustin Carlino
ca6b5d2c7d new release 2019-05-27 11:29:17 -07:00
Dustin Carlino
0e298c756f make it a bit easier to jump to the time when trips are actually
starting. and prepping popdat for release
2019-05-26 21:31:44 -07:00
Dustin Carlino
0569dd4abd reading the PSRC parcels file, converting coordinates 2019-05-23 13:58:15 -07:00
Dustin Carlino
788cd237a8 upload traffic signal Drawable once per state change 2019-05-23 11:31:28 -07:00
Dustin Carlino
6b5945aade put traffic signal box in the true middle of the intersection; it was in a bad spot for one-ways 2019-05-21 13:13:24 -07:00
Dustin Carlino
3663c19cdc starting a new crate to import extra population data 2019-05-20 07:48:30 -07:00
Dustin Carlino
0103c56b69 parsing GIS xml metadata and fixing up attribute names accordingly 2019-05-19 16:48:36 -07:00
Dustin Carlino
a816a3d0be defining a better set of pre-converted maps. disabling fix_ramps in most
cases.
2019-05-16 16:22:52 -07:00
Dustin Carlino
b6cdd0f99c fix crosswalk coupling in intersection editors, not sure when this broke 2019-05-16 14:46:00 -07:00
Dustin Carlino
1d5e5a2795 release 2019-05-15 16:31:26 -07:00
Dustin Carlino
faea2e94e3 improve LCing turns with degenerate intersections, turn markings 2019-05-14 10:28:22 -07:00
Dustin Carlino
a53e9ee8cb only restore editor_state when --no_splash used. start screensaver on a random building, not potentially some dead space 2019-05-10 11:16:06 -07:00
Dustin Carlino
dac08d8d64 push a release 2019-05-09 14:45:32 -07:00
Dustin Carlino
089b27fb83 notes on demand datasets, handling KMLs that define polygons 2019-05-09 13:25:08 -07:00
Dustin Carlino
a4f6a773a9 fix up time limits for headless/tests. fix a few tests now that peds
walk slowly.
2019-05-08 20:05:52 -07:00
Dustin Carlino
89b74b9137 random ped speeds. lots of plumbing needed to implement this. :\ 2019-05-07 10:54:58 -07:00
Dustin Carlino
272503873c avoid menu flickering and incorrect entries by sending a NoOp after used events 2019-05-05 18:23:36 -07:00
Dustin Carlino
cca6f4b5ec displaying names for more roads 2019-05-04 13:56:40 -07:00
Dustin Carlino
3db78d1ddd hacky way of showing context menu hotkeys in OSD 2019-05-03 14:21:43 -07:00
Dustin Carlino
08e1d3f353 place the context menu onscreen, be smart about going OOB 2019-05-02 12:02:15 -05:00
Dustin Carlino
d10cbd9b7c manage the ModalMenu directly in each state, not in ezgui. convert 2
uses of it to start.
2019-05-01 14:00:46 -07:00
Dustin Carlino
b2b7d0767c use a modal menu for tutorial mode 2019-05-01 11:37:19 -07:00
Dustin Carlino
6e2689f68c a round of adding/removing things from the TODOs 2019-04-30 15:59:34 -07:00
Dustin Carlino
2cb01aa613 new release 2019-04-28 20:37:20 -07:00
Dustin Carlino
8b2d74cad8 simplify instructions after all the GUI refactor 2019-04-28 20:24:37 -07:00
Dustin Carlino
3c2a8feef3 cleaning up apply_map_edits 2019-04-24 13:46:28 -07:00
Dustin Carlino
81bb9c8d1b moving the stop sign editor into edit mode. figuring out how to plumb show_turn_icons and color_for 2019-04-24 12:04:37 -07:00
Dustin Carlino
e627930757 draw text in map-space, except drawing zoomed-in text is extremely slow! 2019-04-23 14:12:30 -07:00
Dustin Carlino
320c91faf7 bam, variable font size 2019-04-22 20:17:18 -07:00
Dustin Carlino
1aa1be6df2 tweak rust article before publishing 2019-04-22 16:04:38 -07:00
Dustin Carlino
2218f6fd08 filling out rust article 2019-04-22 15:53:26 -07:00
Dustin Carlino
4eece7bae7 borrow text to draw, stop cloning everywhere 2019-04-22 13:29:24 -07:00
Dustin Carlino
26fd30191d removing controls from LogScroller, which doesn't do the right thing and
also crashes if you try to scroll
2019-04-22 11:06:07 -07:00