Commit Graph

3892 Commits

Author SHA1 Message Date
Dustin Carlino
b4017cc0e2 put action buttons higher up in info panels 2020-02-18 17:31:29 -08:00
Dustin Carlino
171335f64d woops, need rust 1.41 in github actions for the cargo profile overrides
[rebuild]
2020-02-18 15:43:21 -08:00
Dustin Carlino
d112707261 more info about trips to/from bldgs and intersections [rebuild] 2020-02-18 15:15:31 -08:00
Dustin Carlino
f71c1d521e add the trip data button. just removed the svg clip and it worked fine. 2020-02-18 12:19:34 -08:00
Dustin Carlino
f90ac143e0 put IDs back in info panels, in a less scary way. make histogram a bit
smaller, to stop covering new scorecard
2020-02-18 12:14:05 -08:00
Dustin Carlino
8434369d94 simplify representation of intersection edits, to allow proper undoing 2020-02-18 10:45:50 -08:00
Dustin Carlino
93c159b844 convert between stop signs and traffic signals. fixes #16 2020-02-18 09:54:14 -08:00
Dustin Carlino
0f0924ac56 restore an old debug tool to spot what agents are blocking an intersection. optional mode to avoid some gridlock... seemingly working for a few cases, but breaking other stuff, so disabled. 2020-02-18 08:40:05 -08:00
Dustin Carlino
696f78751b oh yeah, rust 1.41 has profile overrides. have some massive speedup in
debug mode. :D
2020-02-18 07:56:38 -08:00
Dustin Carlino
254d07223e option to invert scroll direction 2020-02-18 07:30:32 -08:00
Dustin Carlino
3555e58369 new map! tried to grab fresh OSM, but some of the old fixes broke it, so
will find a workaround tomorrow
2020-02-17 21:54:50 -08:00
Dustin Carlino
bd51208684 name intersections in info panels better, and avoid horizontal scrolling
in most?? cases
2020-02-17 17:07:25 -08:00
Dustin Carlino
46b91f0621 move map_path to be a function of GameplayMode, not Challenge. consolidate soem switch_map callers. 2020-02-17 16:43:36 -08:00
Dustin Carlino
47d367d82f when you complete a challenge, offer to jump to the next step 2020-02-17 16:08:58 -08:00
Dustin Carlino
d56803a12a include ongoing trips in measured trip times. adjust wording of
"finished trips" things.
2020-02-17 15:58:27 -08:00
Dustin Carlino
0a7b8adbe1 new release 2020-02-16 21:06:57 -08:00
Dustin Carlino
2316a725b1 show a score card in the tutorial too [rebuild] 2020-02-16 20:37:35 -08:00
Dustin Carlino
5c79efcc60 move traffic signal challenge score to agent meters. nix the confusing
details button for the moment.
2020-02-16 19:32:27 -08:00
Dustin Carlino
4a4917f2f0 plumb in pieces of SandboxMode into the gameplay. undo the event_with_speed hack. 2020-02-16 19:12:33 -08:00
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
c65b120044 get map_editor working on wasm target 2020-02-14 16:04:33 -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
5948f226a6 new presentation slides 2020-02-12 13:45:42 -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
67846ee2ca X buttons in popup menus werent clickable, fix by unconsuming the event 2020-02-11 16:25:44 -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
0b56ef6dea clipping support 2020-02-10 20:10:58 -08:00
Dustin Carlino
b2e9709c33 fixed the broken drawing, needed indices count, not vertices 2020-02-10 19:51:05 -08:00
Dustin Carlino
7267410ac0 aha, fixed size problem, gotta update viewport 2020-02-10 19:41:15 -08:00
Dustin Carlino
34fdf6a5e5 got stuff displaying! \o/ buggily 2020-02-10 19:28:23 -08:00
Dustin Carlino
dcca8e7147 WIP upload and draw buffers. doesn't work yet. I miss glium's nice
abstractions. :(
2020-02-10 17:44:59 -08:00
Dustin Carlino
5205a0c43e starting a stubbed out port to glow (glutin dependencies still). it
uploads the shaders, clears the window out so far!
2020-02-10 16:59:02 -08:00
Dustin Carlino
c5a055cbb6 rearrange ezgui internals to isolate all glium/glutin specifics into one
module
2020-02-10 16:18:31 -08:00
Dustin Carlino
82f149db56 X button on popup menus 2020-02-10 13:38:14 -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
dd9667b95e make map_editor compile again 2020-02-10 12:06:38 -08:00
Dustin Carlino
e367a5b218 patch yesterday's release -- the building info panel crash is too easy to hit. also introduce a release script for my own sanity 2020-02-10 10:33:21 -08:00