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 |
|
Dustin Carlino
|
17ef2c5a3a
|
separate Queued and WaitingToTurn states for cars. populate
waiting_to_turn in DrawCar
|
2019-03-13 15:14:49 -07:00 |
|
Dustin Carlino
|
05800e16f9
|
just step the sim from the UI after spawning stuff. problem solved.
|
2019-03-12 13:35:13 -07:00 |
|
Dustin Carlino
|
505b0a9496
|
store events in Sim, not a plugin. switch tutorial mode.
|
2019-03-12 13:23:39 -07:00 |
|
Dustin Carlino
|
9c3c0cca7c
|
move spawning code to better plugin. also stop spawning individ agents
+TIMESTEP later
|
2019-03-12 13:11:57 -07:00 |
|
Dustin Carlino
|
5711e343e8
|
spawn cars around an intersection
|
2019-03-12 11:06:42 -07:00 |
|
Dustin Carlino
|
417615cf3a
|
porting extract_colorscheme.py to rust
|
2019-03-11 17:54:37 -07:00 |
|
Dustin Carlino
|
5ca359998c
|
upgrade some dependencies and list data source licenses in README
|
2019-03-11 16:04:47 -07:00 |
|
Dustin Carlino
|
cab95e91e2
|
dont redraw on ignored Update events either
|
2019-03-11 13:15:16 -07:00 |
|
Dustin Carlino
|
387ced08ea
|
dont try to show detailed active traffic heatmap when unzoomed
|
2019-03-09 12:33:07 -08:00 |
|
Dustin Carlino
|
1f16687c3e
|
flag for num_agents in UI too
|
2019-03-09 12:23:02 -08:00 |
|
Dustin Carlino
|
1eebea8001
|
cutting over to new graph search in some cases. adding support for
one-step walking paths.
|
2019-03-08 10:47:39 -08:00 |
|
Dustin Carlino
|
ce340f5668
|
more frequent status updates, based on real time passing, not sim time
|
2019-03-05 17:10:27 -08:00 |
|
Dustin Carlino
|
385a9044db
|
store requests to intersections, as a prep for notifying them when to retry
|
2019-03-03 20:01:38 -08:00 |
|
Dustin Carlino
|
81d604367e
|
make buses cycle between stops. move the waiting at stop state to
CarState, since idling in Queued doesn't make sense
|
2019-03-01 15:25:42 -08:00 |
|
Dustin Carlino
|
8d9a44fd76
|
making sure to call TripManager and publish events for most transitions
|
2019-02-28 19:07:40 -08:00 |
|
Dustin Carlino
|
50451b6120
|
make tests build again. cleanup sim::load
|
2019-02-27 13:16:28 -08:00 |
|
Dustin Carlino
|
17d9a42218
|
delete the first attempt at a simpler model, the one with time-space intervals
|
2019-02-27 12:27:47 -08:00 |
|
Dustin Carlino
|
54935ab5de
|
draw unzoomed cars, color peds preparing bikes
|
2019-02-27 12:23:15 -08:00 |
|
Dustin Carlino
|
f249c6b2d9
|
call Timer.done automatically using Drop trait. use throwaway less
|
2019-02-27 12:15:04 -08:00 |
|
Dustin Carlino
|
f6a6bb888e
|
cleanup crate dependencies, fix spawning car from lane, reduce
mutability of debug_car
|
2019-02-27 12:06:29 -08:00 |
|
Dustin Carlino
|
11c549331e
|
finally, the big cutover! editor and headless work. tests dont compile.
|
2019-02-27 11:53:45 -08:00 |
|
Dustin Carlino
|
8e522e13dc
|
prepping helpers to spawn ala carte trips
|
2019-02-27 11:25:13 -08:00 |
|
Dustin Carlino
|
350428b6e9
|
impl remaining Sim methods
|
2019-02-27 09:33:49 -08:00 |
|
Dustin Carlino
|
d52be43a30
|
lift owner into Vehicle
|
2019-02-27 09:18:30 -08:00 |
|
Dustin Carlino
|
874b3be519
|
prevent illegal trip from happening, fix bike_to_sidewalk
|
2019-02-27 09:04:06 -08:00 |
|