Dustin Carlino
604c87f2c7
new release. also sneak in tiny popup menu fix for the next round
2020-02-09 17:32:03 -08:00
Dustin Carlino
1cd7629dfa
dont reload prebaked data unnecessarily [rebuild]
2020-02-09 17:15:33 -08:00
Dustin Carlino
935e42aee6
upgrade glium and glutin
...
- reference events exported from glutin as winit events, which will ease a transition to wasm (where winit is used with glow, not glium)
- also winit stopped requiring a dance to convert logical to physical sizes, so stop tracking dpi!
2020-02-09 10:56:51 -08:00
Dustin Carlino
4f7bed25cd
massive and trivial perf boost to draw_unzoomed_agents
2020-02-08 16:58:26 -08:00
Dustin Carlino
e46cd7b677
cache SVGs
2020-02-08 16:27:45 -08:00
Dustin Carlino
db65e1d41f
slightly less inefficient draw_blocking_text
2020-02-08 13:52:29 -08:00
Dustin Carlino
c51c37caba
draw the OSD better [rebuild]
2020-02-08 10:36:44 -08:00
Dustin Carlino
fad4cdbda2
plumb font directory so it'll work anywhere, but still would prefer to bundle binary data properly
2020-02-08 10:36:44 -08:00
Dustin Carlino
da59362dfe
fix z values, especially for tooltips. also refactor Button::new
2020-02-08 10:36:44 -08:00
Dustin Carlino
12826fe118
start dismantling DrawBoth, and make the JustDraw API nicer
2020-02-08 10:36:44 -08:00
Dustin Carlino
3ff56f54cf
prepping for a caching layer by changing render API, plumbing ctx...
...
getting close
2020-02-08 10:36:44 -08:00
Dustin Carlino
7c76f2d119
migrating all callers of draw_text_at_mapspace to do something better now
2020-02-08 10:36:44 -08:00
Dustin Carlino
d806d9509b
draw traffic signal text label properly (and way more efficiently now)
2020-02-08 10:36:44 -08:00
Dustin Carlino
95c1f47047
clean up text_dims, then unplumb a BUNCH of stuff
2020-02-08 10:36:44 -08:00
Dustin Carlino
b6b1be7d18
starting a way to add some text to a GeomBatch
2020-02-08 10:36:44 -08:00
Dustin Carlino
59686dddbc
can we render svg text directly? need harfbuzz. [rebuild]
2020-02-08 10:36:44 -08:00
Dustin Carlino
a3149d2219
no_edits -> untitled edits
2020-02-06 13:15:09 -08:00
Dustin Carlino
872cd0cba6
'save as' feature for map edits. autosave otherwise.
2020-02-06 12:31:06 -08:00
Dustin Carlino
1147d29d98
get rid of some modalmenus in edit mode [rebuild]
2020-02-05 18:02:19 -08:00
Dustin Carlino
bdb4ba43ba
less terrible stop sign editor [rebuild]
2020-02-05 16:54:10 -08:00
Dustin Carlino
950238af81
close intersections from signal and stop sign editor
2020-02-05 16:34:42 -08:00
Dustin Carlino
2f2f0506fa
jump to lane editor straight from sandbox mode. tune lane editor style
...
slightly [rebuild]
2020-02-05 16:17:16 -08:00
Dustin Carlino
462a812348
ripping out lane paintbrush editor, changing to a popup per lane
2020-02-05 16:03:20 -08:00
Dustin Carlino
bcf4550be2
no info panels in edit mode, just click to jump to editors. no more
...
selecting buildings. removing some of the revert shortcuts from the
direct edit mode, since there's no more info panel to see multiple
actions
2020-02-05 15:22:05 -08:00
Dustin Carlino
a878f57a42
refactor rotating colors, and use a different palette for the 10 bucket case
2020-02-05 14:53:22 -08:00
Dustin Carlino
10ef4057a0
make buttons in sandbox dash look more like tabs
2020-02-05 13:01:35 -08:00
Dustin Carlino
2d73513b0c
flexbox trick to make sure plot axes arent stretched out too much when embedded in larger panels
2020-02-05 12:44:05 -08:00
Dustin Carlino
0909344c15
minimap tuning: add vertical separator, make the dropdown appear by the
...
button
2020-02-05 12:15:37 -08:00
Dustin Carlino
f4c6b4453a
scrape info from PSRC to relate trips to people. not plumbed into
...
scenario layer yet.
2020-02-04 19:54:13 -08:00
Dustin Carlino
91234bf49a
slow day. prototype a dot map from scenarios
2020-02-04 16:30:44 -08:00
Dustin Carlino
b0a56abb6e
no more prompt in some of the popups, adjust the menu coloring, cancel
...
popups by clicking on the map
2020-02-04 13:41:09 -08:00
Dustin Carlino
7f82241ed9
put some popup menus beneath their buttons
2020-02-04 13:25:53 -08:00
Dustin Carlino
17ebb506b5
draw previous state underneath wizards, so everything doesnt vanish
2020-02-04 12:52:47 -08:00
Dustin Carlino
0890a37ee1
carve out a section for showing off curated proposals [rebuild]
2020-02-03 18:01:49 -08:00
Dustin Carlino
28d593797a
overhaul fullscreen layouts: splash menu, about, challenge picker,
...
sandbox dashboards. I think I understand enough of the tricks now.
2020-02-03 16:13:40 -08:00
Dustin Carlino
92c2fca55e
make the details button in signal challenge inactivate
2020-02-03 12:01:13 -08:00
Dustin Carlino
28dcf63c8e
simplify challenge picking flow. stop listing previous proposals, for now. use the same tab style as sandbox dashboards
2020-02-03 11:53:54 -08:00
Dustin Carlino
59f2f03acb
refactoring some UI-related colors
2020-02-03 11:14:17 -08:00
Dustin Carlino
8a2d73ae23
stick tutorial state in UI session data. now we can remember current and
...
latest stage, start dev mode in the right place, and start at any stage
via flag
2020-02-03 10:21:13 -08:00
Dustin Carlino
17bb3548ff
loading screen while clearing edits, and clear edits when leaving
...
tutorial
2020-02-02 17:46:52 -08:00
Dustin Carlino
116d0dfef0
revamp tutorial mode as a gameplay mode underneath sandbox. few small
...
bugs left after the transition. unlocks more fixes and improvements
2020-02-02 14:17:27 -08:00
Dustin Carlino
6f6dda72bd
better turn group blocks that handle variable lane width and
...
non-contiguous turn lanes. also clarify part of tutorial for #42
2020-02-01 19:11:01 -08:00
Dustin Carlino
abba4be202
filter out overlays intelligently
2020-02-01 11:39:48 -08:00
Dustin Carlino
719e720bf7
more obvious way to leave edit mode [rebuild]
2020-01-31 15:34:55 -08:00
Dustin Carlino
2daf5c51ca
fix bugs transitioning around edit mode
2020-01-31 15:30:46 -08:00
Dustin Carlino
adbbe669d7
working on the tutorial again
2020-01-31 15:16:26 -08:00
Dustin Carlino
8228f53d02
make it easier to debug objects by warping to them, draw turn cycler
...
arrows a little more successfully
2020-01-31 14:06:37 -08:00
Dustin Carlino
1d13ae39c3
explain a few more things in the tutorial, improve arrows a bit
...
[rebuild]
2020-01-31 12:18:44 -08:00
Dustin Carlino
800008dc03
making the histogram more clear about same trips
2020-01-30 15:33:27 -08:00
Dustin Carlino
da92518d62
align all overlay panels above the minimap
2020-01-30 14:38:26 -08:00