Dustin Carlino
3e0246edec
find some way to prebake tutorial scenarios
2020-02-16 11:45:23 -08:00
Dustin Carlino
d292e29ad0
get the game crate running in wasm. bundle in lots of data files, fake out a few more IO things, glue timer println's to console log
2020-02-15 16:44:06 -08:00
Dustin Carlino
9a9619ec32
moving game assets to data/system, to more easily bundle in wasm
...
[rebuild]
2020-02-15 16:19:23 -08:00
Dustin Carlino
bdb0844512
make game crate compile under wasm
2020-02-14 16:15:44 -08:00
Dustin Carlino
b2c92ab8f9
upstreaming some changes for wasm here
...
- use instant crate
- bring in the wasm ezgui backend and necessary setup tweaks
- upgrade stdweb
but no map editor build magic yet
2020-02-14 14:28:25 -08:00
Dustin Carlino
d7d8b472e5
adjust escort mission
2020-02-13 14:30:14 -08:00
Dustin Carlino
152568476c
no more Text::prompt
2020-02-13 13:57:48 -08:00
Dustin Carlino
b2e21ea856
disable more controls early in tutorial. change tutorial goal text in a
...
few more cases.
2020-02-13 13:23:48 -08:00
Dustin Carlino
88a58fac8f
adjust tutorial instructions based on progress within a stage. had to
...
internally revamp tutorial state (again for the better!)
2020-02-12 17:08:57 -08:00
Dustin Carlino
1f0b225b6b
cleaning up trip_details
2020-02-12 16:17:41 -08:00
Dustin Carlino
691dcdfbbc
also revamp panels for other objects, except for the trip details part
2020-02-12 12:22:43 -08:00
Dustin Carlino
fc47d2b948
work on info panels a little more. lanes are looking pretty good now.
2020-02-12 11:16:05 -08:00
Dustin Carlino
8b50492d42
trying out a different look for info panel contents. mostly just lanes
...
right now
2020-02-11 17:04:25 -08:00
Dustin Carlino
ba83207477
mitigate accidental tutorial restarting
2020-02-11 16:32:53 -08:00
Dustin Carlino
b033c4f720
round of quick fixes to avoid crashes
2020-02-11 16:13:42 -08:00
Dustin Carlino
606325ac77
make the glow and glium backends toggleable at build-time
2020-02-10 20:23:12 -08:00
Dustin Carlino
66c983d119
refactor away DrawCtx, just pass UI
2020-02-10 13:28:03 -08:00
Dustin Carlino
f359995a27
adjust the indication of some selected objects
2020-02-10 13:16:39 -08:00
Dustin Carlino
6ff0c85a14
cutover to use winit's own event loop. thanks to goddessfreya for help
...
fixing the animation timing in
https://github.com/rust-windowing/winit/pull/1450#pullrequestreview-355698895
2020-02-10 10:01:49 -08:00
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