Commit Graph

1324 Commits

Author SHA1 Message Date
Dustin Carlino
f7c59e710d get rid of blinking turn signals. dont be in Animation mode constantly. doesnt look that great and really burns CPU. 2019-05-15 11:56:12 -07:00
Dustin Carlino
faea2e94e3 improve LCing turns with degenerate intersections, turn markings 2019-05-14 10:28:22 -07:00
Dustin Carlino
73aab37fc7 explicitly represent StraightWithLaneChanging turns. fix up preset
stop sign and traffic signal policies
2019-05-13 16:58:02 -07:00
Dustin Carlino
9252dbd14b traffic signal boxes have 3 circles, more recognizable 2019-05-13 14:46:50 -07:00
Dustin Carlino
3ab012906f draw stop signs to the right of the road... initial version with lots of
problems, but looks OK. removing stop lines on lanes.
2019-05-13 14:02:47 -07:00
Dustin Carlino
f4620c1951 add basic hatching support to fragment shader. use it to visualize map
edits when zoomed in
2019-05-12 17:59:12 -07:00
Dustin Carlino
ba71d2d5e6 dont be so confusing with CarAppearing in interactive commands -- dont retry if there's not room 2019-05-12 15:06:12 -07:00
Dustin Carlino
aa7bd11797 tweak edit mode's menu info 2019-05-11 16:53:30 -07:00
Dustin Carlino
4dcdbf0593 show time left for traffic signals 2019-05-11 16:45:24 -07:00
Dustin Carlino
06aa3e7cb3 woops, broke drawing agents in intersections in 3501c0ab4f 2019-05-11 16:14:45 -07:00
Dustin Carlino
9b848c894a better selection polygons for polyline-based things 2019-05-11 16:03:39 -07:00
Dustin Carlino
2454704b6b better selection polygons... at least for intersections and buildings 2019-05-11 15:12:12 -07:00
Dustin Carlino
5c9086a829 controls to naively flip stop signs on/off 2019-05-11 14:53:17 -07:00
Dustin Carlino
ca23950097 base RoadWithStopSign enabledness on turn priorities 2019-05-11 14:46:45 -07:00
Dustin Carlino
6b218fb5ab base stop sign lines on lanes on RoadWithStopSign 2019-05-11 14:38:55 -07:00
Dustin Carlino
c70c83f22b move the StopSignGroup abstraction to map_model. write down some rules for how stop signs _should_ work... 2019-05-11 14:31:46 -07:00
Dustin Carlino
a5505cca17 no reason for DrawTurn to implement Renderable. simplify its API. 2019-05-11 13:51:39 -07:00
Dustin Carlino
b7daea7fb4 make OSD work for intersection editors 2019-05-11 13:37:48 -07:00
Dustin Carlino
3501c0ab4f dont handle turn icons in UI by default; make the two editors explicitly do mouseover and draw them 2019-05-11 11:51:16 -07:00
Dustin Carlino
be9830acc7 make stop signs selectable... with lots of bugginess 2019-05-10 16:10:18 -07:00
Dustin Carlino
f63f694576 organizing stop sign drawing code a bit 2019-05-10 15:55:07 -07:00
Dustin Carlino
8bd4ab72d4 draw full stop sign octagon when editing a single intersection 2019-05-10 15:23:31 -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
ba5de5ad34 different colors for extra shapes. also refactoring the lists of these rotating colors 2019-05-09 14:23:41 -07:00
Dustin Carlino
8b79c55d13 show extra shapes when zoomed out 2019-05-09 14:04:53 -07:00
Dustin Carlino
089b27fb83 notes on demand datasets, handling KMLs that define polygons 2019-05-09 13:25:08 -07:00
Dustin Carlino
994eb2dd73 fix bug with reset sim 2019-05-09 11:02:24 -07:00
Dustin Carlino
8e949d5fa9 make --num_agents work exactly when specified 2019-05-09 10:51:07 -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
fce5d0f6dc animate pedestrian feet smoothly regardless of sim speed 2019-05-08 18:34:41 -07:00
Dustin Carlino
60eea9b413 change sim API to step forward by a variable duration, not a fixed timestep. adjust UI callers accordingly. some bugs introduced, but solid start 2019-05-08 17:44:01 -07:00
Dustin Carlino
240efa5ad7 make warping be slightly snappier with impatient keypressing and a
minimum speed
2019-05-08 12:07:32 -07:00
Dustin Carlino
32b4c073a1 scroll through a particular route 2019-05-08 11:51:32 -07:00
Dustin Carlino
16c606c745 make sure to draw modal menus last; noticed route preview was covering it 2019-05-08 10:48:28 -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
939f2fefdd adding hands to the bikes 2019-05-06 18:33:01 -07:00
Dustin Carlino
6a66276606 every day the pedestrians are shuffling 2019-05-06 17:40:59 -07:00
Dustin Carlino
c034040b27 a start to drawing bikes with more personality 2019-05-06 13:20:57 -07:00
Dustin Carlino
b0ca4429ad make turn blinkers work even when sim is paused 2019-05-06 12:56:19 -07:00
Dustin Carlino
b060a3ecc2 giving pedestrians more shape 2019-05-06 12:45:52 -07:00
Dustin Carlino
3ba56a76fb fix a panic with bike parking 2019-05-06 11:00:41 -07:00
Dustin Carlino
f31f46e483 draw peds on one side of the sidewalk 2019-05-05 23:18:24 -07:00
Dustin Carlino
a921469da9 dont special-case having a loading screen during make_gui. pass in EventCtx to make_gui to undo some hacks 2019-05-04 17:19:45 -07:00
Dustin Carlino
798a7b5354 be able to trigger a loading screen anywhere 2019-05-04 17:07:07 -07:00
Dustin Carlino
eed33931de proof-of-concept for gluing Timer to loading screen. hacky and not
featurefull yet.
2019-05-04 16:41:01 -07:00
Dustin Carlino
951e2f37ce flush text to display immediately, not at the end. prerequisite to drawing scaled text better 2019-05-04 15:36:40 -07:00
Dustin Carlino
71be19163d highlight object after warping 2019-05-04 10:16:01 -07:00
Dustin Carlino
67d34413fd erase sim at strategic state-changing times 2019-05-04 09:56:36 -07:00
Dustin Carlino
2f66c8ca5c remember if modal menus are hidden or not 2019-05-04 09:30:44 -07:00
Dustin Carlino
625d9890d7 dont allow dupe keys in menus 2019-05-03 14:55:40 -07:00
Dustin Carlino
10240aa478 trigger CommonState actions from a bunch of modal menus 2019-05-03 14:47:31 -07:00
Dustin Carlino
6f4252fcae also draw OSD in some modes that dont use CommonState 2019-05-03 14:27:34 -07:00
Dustin Carlino
3db78d1ddd hacky way of showing context menu hotkeys in OSD 2019-05-03 14:21:43 -07:00
Dustin Carlino
4b4e6f17a0 start a really basic OSD 2019-05-02 12:38:12 -05:00
Dustin Carlino
96c3907655 combo calls to update prompt for ModalMenu 2019-05-01 21:45:34 -05:00
Dustin Carlino
e25af2e450 remove sim's dependency on ezgui and hopefully speed up draw_unzoomed in the process 2019-05-01 19:32:39 -07:00
Dustin Carlino
a0b69db71e recalculate modal menu when resizing, hiding, updating prompt... 2019-05-01 17:00:23 -07:00
Dustin Carlino
bc3b883e2f optional modal menu keys 2019-05-01 16:22:14 -07:00
Dustin Carlino
3b6ecbf4af draw everything from ezgui in screencap mode 2019-05-01 16:14:15 -07:00
Dustin Carlino
e767a704d3 remove old modal menu stuff from ezgui 2019-05-01 16:02:50 -07:00
Dustin Carlino
2915af1b7c converting last things to NewModalMenu 2019-05-01 15:55:38 -07:00
Dustin Carlino
36df2e7908 convert more to NewModalMenu 2019-05-01 14:55:47 -07: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
1eb1b0ea40 slightly refactoring Text creation 2019-05-01 11:46:22 -07:00
Dustin Carlino
b2b7d0767c use a modal menu for tutorial mode 2019-05-01 11:37:19 -07:00
Dustin Carlino
b42bba799d ModalMenus can be mostly hidden 2019-05-01 11:17:30 -07:00
Dustin Carlino
a1d1c3d3bc refactor some warping code 2019-04-30 14:54:53 -07:00
Dustin Carlino
82627ce927 prompt for the cross-street next 2019-04-30 14:43:57 -07:00
Dustin Carlino
3b2c1a1d73 new warp function that autocompletes street names 2019-04-30 12:48:00 -07:00
Dustin Carlino
30db2e7fc2 flatten mouseover_something impl 2019-04-29 14:44:43 -07:00
Dustin Carlino
5a7c712f55 move DrawCtx to render module 2019-04-29 14:42:25 -07:00
Dustin Carlino
096dbd99f7 replace RenderOptions with DrawOptions 2019-04-29 14:39:08 -07:00
Dustin Carlino
1972ceeab5 actually, dont plumb DrawOptions in DrawCtx 2019-04-29 14:27:19 -07:00
Dustin Carlino
623401f588 plumb DrawOptions through DrawCtx, get rid of RenderingHints 2019-04-29 14:19:45 -07:00
Dustin Carlino
c59d76d40c organizing input to UI's draw into a struct 2019-04-29 14:05:43 -07:00
Dustin Carlino
51f279c3a2 always draw full turn when hovering over an icon, to be clear what the icon means 2019-04-29 13:33:57 -07:00
Dustin Carlino
1c5d3f6bbf never draw turn icons for SharedSidewalkCorners. remove a field from RenderingHints accordingly. 2019-04-29 13:25:09 -07:00
Dustin Carlino
5d7769694d moving loading utilities to the single module that uses them 2019-04-29 10:10:43 -07:00
Dustin Carlino
6c95bdc0cd merge some stuff into a single helpers module 2019-04-29 10:03:43 -07:00
Dustin Carlino
f29570a28e flatten UIState into UI 2019-04-29 09:52:52 -07:00
Dustin Carlino
8b2d74cad8 simplify instructions after all the GUI refactor 2019-04-28 20:24:37 -07:00
Dustin Carlino
a1f50e4dfb remove OSD, which just had number of uploaded GPU things 2019-04-28 20:12:04 -07:00
Dustin Carlino
2f6cc5fe4d remove vestiges of top menu being in the way 2019-04-28 20:10:00 -07:00
Dustin Carlino
a72e779a89 remove legacy mode, UI's new_event, the top_menu... impl GUI on Game, no
more forwarding to UI ever
2019-04-28 18:00:44 -07:00
Dustin Carlino
9ed882a31c deleting unused plugin boilerplate 2019-04-28 17:45:22 -07:00
Dustin Carlino
e1f35b07cf moving warp into CommonState 2019-04-28 17:38:27 -07:00
Dustin Carlino
52ffb5cce7 common screenshot just this function 2019-04-28 17:23:35 -07:00
Dustin Carlino
db67c734ef moving turn cycler to CommonState 2019-04-28 17:18:54 -07:00
Dustin Carlino
78fc973611 move the show_associated plugin to some CommonState, invoke it from relevant modes 2019-04-28 17:09:31 -07:00
Dustin Carlino
4caec9c5d6 cleaning up old UI plugin structures 2019-04-28 14:15:55 -07:00
Dustin Carlino
0fb0ee0952 move the other diff plugin into a/b test mode 2019-04-28 14:05:49 -07:00
Dustin Carlino
b3949d5da7 moving one diff plugin into a/b test mode 2019-04-28 13:56:24 -07:00
Dustin Carlino
4a3e8177c4 the vital swap control 2019-04-28 13:35:01 -07:00
Dustin Carlino
58b3d6d201 moving a/b test edit plugin to a/b test mode as the initial state. putting secondary sim state into the mode directly 2019-04-28 13:31:01 -07:00
Dustin Carlino
8cc86f623a starting a/b test mode as a fork of sandbox mode, with slightly less controls 2019-04-28 12:47:19 -07:00
Dustin Carlino
6c88981d48 move neighborhood summary plugin to debug mode; ultimately for SandBoxMode but needs more work 2019-04-27 14:10:17 -07:00
Dustin Carlino
c10819b546 dont totally cover up things with the diff color after editing them 2019-04-27 13:52:52 -07:00
Dustin Carlino
01628624c0 hotkeys on the wizard splash screen 2019-04-27 13:48:22 -07:00
Dustin Carlino
8e20e0fa89 move scenario plugin to mission edit mode 2019-04-27 13:17:10 -07:00
Dustin Carlino
6207540dc0 debug areas in debug mode; flags are silly 2019-04-27 12:05:21 -07:00
Dustin Carlino
aaff183402 move neighborhood editor into mission edit mode 2019-04-26 14:54:21 -07:00
Dustin Carlino
3c85284e59 skeletons for mission editing and a/b test modes 2019-04-26 14:35:29 -07:00
Dustin Carlino
4fe09e3040 moving color picker to debug mode 2019-04-26 10:56:49 -07:00
Dustin Carlino
5450739231 move OSM search into debug mode. most players wont care about OSM metadata. 2019-04-26 10:40:37 -07:00
Dustin Carlino
4d73469ec2 screenshot everything moved into debug mode 2019-04-26 10:15:25 -07:00
Dustin Carlino
c7f96778e3 rm legend plugin... tricky code, low-value results... displaying a static picture or using the tutorial makes more sense 2019-04-25 22:49:25 -07:00
Dustin Carlino
cedc7ede10 moving toggleable layers into debug mode 2019-04-25 22:46:34 -07:00
Dustin Carlino
e754bf3a14 hider into debug mode 2019-04-25 22:17:24 -07:00
Dustin Carlino
f8d81a92c6 plumbing a ShowObjects trait to UI stuff, will use for hider and layers 2019-04-25 17:06:35 -07:00
Dustin Carlino
1e267c9d5d object debugger / tooltip thingy 2019-04-25 16:50:05 -07:00
Dustin Carlino
6447657ad8 connected roads plugin 2019-04-25 16:38:46 -07:00
Dustin Carlino
30411b66c3 moving polygon debugger 2019-04-25 16:33:55 -07:00
Dustin Carlino
43628c280e original road plugin to debug mode 2019-04-25 16:22:30 -07:00
Dustin Carlino
4df4a0931e chokepoints finder -> debug mode 2019-04-25 16:15:18 -07:00
Dustin Carlino
a2fb26d5fb starting a debug mode... for me, basically :P 2019-04-25 15:58:55 -07:00
Dustin Carlino
dd88b8724d time traveler pt2 -- plumbing GetDrawAgents 2019-04-25 15:42:53 -07:00
Dustin Carlino
5d0e43269b moving time traveler into sandbox mode 2019-04-25 15:19:26 -07:00
Dustin Carlino
e93bf0f357 moving show_activity viz to sandbox mode 2019-04-25 15:09:18 -07:00
Dustin Carlino
e763171bc9 moving route viewer to sandbox 2019-04-25 14:55:51 -07:00
Dustin Carlino
79b87d6040 agent follower in sandbox mode 2019-04-25 14:36:47 -07:00
Dustin Carlino
e1a854609c moving agent spawner to sandbox mode 2019-04-25 14:28:36 -07:00
Dustin Carlino
1fabf29747 start the sandbox mode, just with sim controls. remove unused sim score
plugin.
2019-04-25 12:22:12 -07:00
Dustin Carlino
ce25f8bbf6 making menus support multi-line prompts 2019-04-24 16:51:35 -07:00
Dustin Carlino
faea4538a1 remove old unused debug plugins: OSM classifier, geometry validation,
floodfiller
2019-04-24 13:54:40 -07:00
Dustin Carlino
3c2a8feef3 cleaning up apply_map_edits 2019-04-24 13:46:28 -07:00
Dustin Carlino
e86f88199c reset RenderingHints properly for traffic signal editor 2019-04-24 13:10:44 -07:00
Dustin Carlino
0694283b10 detect reverts to original for traffic signal 2019-04-24 13:06:58 -07:00
Dustin Carlino
02e1cd559c moving traffic signal editor into edit mode 2019-04-24 12:58:10 -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
2384157108 simplify ezgui API -- event takes &mut EventCtx 2019-04-23 21:28:03 -07:00
Dustin Carlino
138b47512a folding in road editor 2019-04-23 17:29:51 -07:00
Dustin Carlino
1abb5b630a move load edits into new edit mode. remove old plugin. 2019-04-23 17:14:09 -07:00
Dustin Carlino
2affd5f238 put the screensaver and RNG into the SplashScreen state where they belong 2019-04-23 16:56:37 -07:00
Dustin Carlino
2c0c7bfc1d stop calling old UI event from edit mode 2019-04-23 16:48:37 -07:00
Dustin Carlino
74c922daf6 taking over save edits functionality 2019-04-23 16:42:51 -07:00
Dustin Carlino
d771927576 moving the map diffs viewer into a top-level Edit mode 2019-04-23 16:01:33 -07:00
Dustin Carlino
c0947fcb35 refactor tutorial mode impl 2019-04-23 15:48:18 -07:00
Dustin Carlino
6c247d376c clean up ezgui draw() API by putting screencap and naming_hint inside GfxCtx 2019-04-23 15:42:15 -07:00
Dustin Carlino
51db6887fa combine SplashScreen and About modes by adding LogScroller functionality to Wizard natively 2019-04-23 15:30:53 -07:00
Dustin Carlino
410cb17c5f hacky way to split GameState into multiple modules 2019-04-23 15:19:03 -07:00
Dustin Carlino
a8ca4b7dd0 make map edits actually show up reasonably loudly 2019-04-23 14:22:45 -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
008b2f9de5 preps for variable font size 2019-04-22 20:02:18 -07:00
Dustin Carlino
4eece7bae7 borrow text to draw, stop cloning everywhere 2019-04-22 13:29:24 -07:00
Dustin Carlino
c2ddb7587b make neighborhood polygon points easier to see and manipulate at all zoom levels 2019-04-22 12:51:43 -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
Dustin Carlino
7c67ceca2d remove UIState trait 2019-04-21 17:38:22 -07:00
Dustin Carlino
b433fc692e delete old tutorial mode, fold splash.rs into main.rs, change flag to
skip the menu
2019-04-21 17:25:18 -07:00
Dustin Carlino
4a9f9f0ae3 start a new tutorial mode 2019-04-21 17:16:50 -07:00
Dustin Carlino
45083198ea load different maps from splash menu 2019-04-21 15:59:04 -07:00
Dustin Carlino
a718717c5b pause game and return to splash screen, but now without scrolling and
with slightly different options
2019-04-21 14:28:41 -07:00
Dustin Carlino
996cab982c cleanly quit from splash menu 2019-04-21 14:18:45 -07:00
Dustin Carlino
adc12f85b9 continue scrolling while about screen is active 2019-04-21 14:16:19 -07:00
Dustin Carlino
c97c189975 about screen 2019-04-21 14:08:45 -07:00
Dustin Carlino
31f9f455bb scroll the map in the background while the splash screen menu is up.
remove screensaver as a plugin.
2019-04-21 13:55:18 -07:00
Dustin Carlino
17870baf9d actually start with a menu. just play and quit right now. 2019-04-21 13:32:28 -07:00
Dustin Carlino
8ff293bdc4 dont plumb last_data through ezgui layer. apps can just... store that themselves. removes unnecessary plumbing. 2019-04-21 13:20:40 -07:00
Dustin Carlino
0b4694dcba start splash screen wrapping everything. doesn't do anything yet 2019-04-21 13:05:03 -07:00
Dustin Carlino
bc47237f8d super basic reset sim function 2019-04-20 16:24:48 -07:00
Dustin Carlino
24d6924231 screensaver mode 2019-04-20 16:00:24 -07:00
Dustin Carlino
4b1107bf57 clean up ezgui runner API 2019-04-20 15:10:03 -07:00
Dustin Carlino
669fd886d5 improve turn markings on lanes 2019-04-20 11:47:42 -07:00
Dustin Carlino
a1176e053b use hotkey color in OSD, to make OSD slightly more readable 2019-04-19 16:05:06 -07:00
Dustin Carlino
beba58924c pedestrian turn arrows 2019-04-19 15:35:51 -07:00
Dustin Carlino
46d24a7c58 compile on mac 2019-04-19 09:23:36 -07:00
Dustin Carlino
dc2649ad59 fix some crashes when spawning agents 2019-04-18 18:42:52 -07:00
Dustin Carlino
5ed6f2256e also spawn peds around an intersection 2019-04-16 13:37:30 -07:00
Dustin Carlino
9a2699aab9 take a single screenshot (hiding menus and stuff) 2019-04-15 10:07:50 -07:00
Dustin Carlino
72ae49e25f draw real map bg by default now 2019-04-13 16:22:37 -07:00
Dustin Carlino
0772e6e3c8 make_arrow only for PolyLine, simplify and improve the result in most
cases
2019-04-12 15:06:44 -07:00
Dustin Carlino
ab2e37e2ab fix the show_route plugin, enter main state from hovering, not inactive 2019-04-12 12:20:36 -07:00
Dustin Carlino
a9afc3efdd improve arrow API, at least -- creating them from a polyline is fine 2019-04-11 17:39:07 -07:00
Dustin Carlino
94b5307828 use the new SharedSidewalkCorner code for turn geometry, at least 2019-04-11 16:38:06 -07:00
Dustin Carlino
b910960640 partly working, disabled rewrite of SharedSidewalkCorner geometry 2019-04-11 12:46:32 -07:00
Dustin Carlino
d207c3c33a rip out parcels entirely; unused for long time and no anticipated uses 2019-04-11 11:40:37 -07:00
Dustin Carlino
49ec5a312e kind of messy impl for showing a route just by hovering 2019-04-11 10:40:19 -07:00
Dustin Carlino
834384fb10 remove the Trace type rename; serves no purpose. also the unused
stopping_buffer; no more lookahead
2019-04-11 10:27:28 -07:00
Dustin Carlino
c25d544fe2 fixing edits_name in map paths and also supporting Windows backslashes in paths 2019-04-10 11:22:36 -07:00
Dustin Carlino
27fc74c05a implement a stop sign-ish policy 2019-04-10 10:22:13 -07:00
Dustin Carlino
f54443410f draw very basic arrows foreach SpawnOverTime 2019-04-03 17:14:09 +09:00
Dustin Carlino
35d6995a7b starting a plugin to visualize a scenario, by just displaying
neighborhood polygons
2019-04-03 15:03:07 +09:00
Dustin Carlino
d0a3b5c383 lane edit validity 2019-04-03 12:41:10 +09:00
Dustin Carlino
db23ad041d plugin to show map diffs 2019-04-03 11:57:08 +09:00
Dustin Carlino
904d56e563 recalculate DrawTurns upon edits 2019-04-01 13:40:52 +09:00
Dustin Carlino
f3bac035d1 fix mouseover of turn icons by populating list from lane, not
intersection
2019-04-01 12:21:00 +09:00
Dustin Carlino
235125b77f reviving intersection editors, basic functionality there 2019-04-01 10:25:34 +09:00
Dustin Carlino
9744c22955 draw the selected thing as an additional transparent polygon. makes changing lane types reasonable. 2019-03-28 14:28:57 +09:00
Dustin Carlino
b0035cde08 include option for no_edits in menus and make sure we revert things when
loading no_edits
2019-03-20 18:05:14 -07:00
Dustin Carlino
b4c1138baf revive map edits plugin 2019-03-20 17:51:43 -07:00
Dustin Carlino
da3152a0e7 revamp road editor plugin. recalculate DrawMap changes. fixing some
apply_edits bugs
2019-03-18 18:53:32 -07:00
Dustin Carlino
3ea3ea199a completely remove most traces of MapEdits. quietly disconnect some
editor plugins
2019-03-18 15:37:02 -07:00
Dustin Carlino
f99a20163d rip out stubbed MapEdits stuff in sim layer, letting basic UI for
editing work again. only let UI plugins work if sim is empty.
2019-03-18 13:36:46 -07:00
Dustin Carlino
db536a04d5 refactor an exact_slice for polylines 2019-03-15 14:02:43 -07:00
Dustin Carlino
a5a93483c1 prerender neighborhood polygons 2019-03-15 13:47:48 -07:00
Dustin Carlino
961b70d1f4 kind of improved draw_unzoomed, except there are just tons of weird
situations to represent
2019-03-15 13:39:25 -07:00
Dustin Carlino
88c9630f7a check for gridlock every 5m and savestate when it happens 2019-03-15 12:17:35 -07:00
Dustin Carlino
dd198bb37f overly conservative gridlock detection, triggered kind of manually 2019-03-15 12:10:47 -07:00
Dustin Carlino
e6d51cf421 fixing invisible bikes and broken warping 2019-03-14 16:46:09 -07:00
Dustin Carlino
78fe1fcc82 why was tooltip_lines in a different place than everything else? consolidate 2019-03-14 16:14:57 -07:00