Dustin Carlino
dfa1b82c70
stop adjusting agent colors when zoomed in. just one fixed scheme right now. acs just for unzoomed/minimap. get rid of the "arbitrary colors" scheme
2019-12-17 15:50:09 -08:00
Dustin Carlino
75f2b46f08
implement yuwen's car colors and turn indicators
2019-12-17 15:29:36 -08:00
Dustin Carlino
7701e19c05
tune a few text button colors, to make it more obvious they're buttons
2019-12-17 14:58:36 -08:00
Dustin Carlino
a2ac3c5265
make the minimap visibility panel match up with the agent colorscheme.
...
remove the old color legend
2019-12-17 14:54:25 -08:00
Dustin Carlino
9aa4fda837
overhaul color scheme. no more dynamic picker or saving. sometimes
...
generate an easily editable JSON file.
2019-12-17 11:05:07 -08:00
Dustin Carlino
e893e6b98c
add a flag to override DPI, so we can tune on mac
2019-12-16 19:09:02 -08:00
Dustin Carlino
b1da0f0284
get rid of unzoomed_radius, used to highlight agents stuck in intersections. there are better gridlock debug tools now, and this complicates the minimap
2019-12-16 18:51:29 -08:00
Dustin Carlino
4046be3966
start drawing agents in the minimap. theyre a bit big.
2019-12-16 18:46:03 -08:00
Dustin Carlino
eda40ecdec
start an interactive legend for the minimap. pretty disjoint from real
...
AgentColorScheme right now
2019-12-16 15:40:32 -08:00
Dustin Carlino
a7071a1bc4
convert ColorLegend to Composite.
2019-12-16 14:50:21 -08:00
Dustin Carlino
8ced649b62
try a different pattern, where callers keep ownership of the Slider, instead of Composite. lots of plumbing, but it's hidden away, so this seems like an improvement.
2019-12-16 14:13:08 -08:00
Dustin Carlino
2bdd7bef74
switching speed panel to Composite
2019-12-16 13:41:17 -08:00
Dustin Carlino
9a702d5c79
an easy one: use flexbox Composite on splash screen. can't quite express
...
the centering
2019-12-16 10:27:52 -08:00
Dustin Carlino
ec01267dd0
let some buttons skip having callbacks and let the owner query them instead
2019-12-16 10:10:01 -08:00
Dustin Carlino
2c8f68344c
move tool panel to Composite, the first one with interaction. edit mode
...
exit temporarily broken, need to rearrange things a bit
2019-12-16 09:42:12 -08:00
Dustin Carlino
1e9f14f62d
use the new Composite for time controls
2019-12-15 18:42:14 -08:00
Dustin Carlino
d2a18069e7
experiment with using ManagedWidgets and flexbox for AgentMeters.
...
crazy inefficient, but the API is darn nice
2019-12-15 17:09:41 -08:00
Dustin Carlino
97c8a84efb
switching out lane editing icons for yuwen's nice ones
2019-12-15 11:06:59 -08:00
Dustin Carlino
eaf01559d3
temporarily adjust position of color legends and agent meters. not the final position, but doing a release today and ideally not drawing two panels on top of each other
2019-12-15 10:30:19 -08:00
Dustin Carlino
90fcfbc1ea
start with the simulation playing by default. part of #31 and something on the long list of UX issues anyway
2019-12-14 21:02:21 -08:00
Dustin Carlino
9c879ab488
click to toggle signal priority and stop signs. key didnt make sense, because no way to open an info panel for those objects
2019-12-13 15:52:23 -08:00
Dustin Carlino
442a0509dd
invert the default for text background. none by default, should be an exception to use it. planning to support background more generally through some kind of widget layouting.
2019-12-13 15:45:24 -08:00
Dustin Carlino
e307e1f56d
only need to prebake once per map+scenario
2019-12-13 13:57:27 -08:00
Dustin Carlino
bb09f4aa72
remove chokepoints overlay (doesnt say anything meaningful) and bike
...
path costs overlay (was used for debugging why bike lanes werent being
used a while ago)
2019-12-13 12:20:21 -08:00
Dustin Carlino
10e0b229a5
previous fix exposed problem entering the time warp state, need to make sure to switch to animation mode upon entry
2019-12-13 11:51:21 -08:00
Dustin Carlino
33bd713609
fix the weirdness with clicking in the info panel to choose actions. the
...
click event was getting immediately reused after exiting the panel,
causing the panel to reappear. problem was some widget stuff looking for
mouse-down events. instead they should look for mouse-up.
2019-12-13 11:47:02 -08:00
Dustin Carlino
4594bd5a7f
add OSD annotations to let people know when to click something. use to
...
switch interactive spawner away from keypresses, since it's impossible
to open the info panel there anyway
2019-12-12 18:56:27 -08:00
Dustin Carlino
201c0edaab
moving some debug info from the info panel to the console log
2019-12-12 16:09:01 -08:00
Dustin Carlino
5440fca4fe
move the functions from the last MenuUnderButton to the ModalMenus, just so I can get rid of the atrocity that is MenuUnderButton
2019-12-12 15:24:07 -08:00
Dustin Carlino
f51a077ee9
move some more functionality to the tool panel. remove another
...
MenuUnderButton
2019-12-12 15:09:28 -08:00
Dustin Carlino
bd557ef4bb
move savestate tools in debug mode to modal menu, getting rid of another MenuUnderButton
2019-12-12 14:12:14 -08:00
Dustin Carlino
0de212f763
move back and settings to a bottom-left panel, out of the drop-down menus. no more hamburgers!
2019-12-12 14:10:09 -08:00
Dustin Carlino
7d53f536d4
fix up speed controls a bit after yesterday's move. closes #23
2019-12-12 13:16:53 -08:00
Dustin Carlino
ed2f703e85
add some logging to debug #19
2019-12-12 10:35:51 -08:00
Dustin Carlino
dc2cc81249
make Timer methods and ModalMenu take &str or String
2019-12-12 10:25:48 -08:00
Dustin Carlino
ee598b6ae4
round of clippy. not fixing everything.
2019-12-11 16:17:15 -08:00
Dustin Carlino
260574b208
remove dependency on old ezgui context menus
2019-12-11 16:02:08 -08:00
Dustin Carlino
94502a73ed
the magic hack: make the actions usable from the info panel
2019-12-11 15:55:27 -08:00
Dustin Carlino
ec40780ee3
use the action list to populate a menu in InfoPanel. cant choose the actions yet there.
2019-12-11 15:25:43 -08:00
Dustin Carlino
061aed2624
add in a shim to collect contextual actions. just silently pass-through to old behavior for now.
2019-12-11 15:04:32 -08:00
Dustin Carlino
14f4dc2e3c
left click to open info panel. refiddling how drag events are detected.
...
kind of messy code, but the behavior is FINALLY right.
2019-12-11 13:52:01 -08:00
Dustin Carlino
706f602e10
splitting time/speed panels. horrible layouting hacks
2019-12-11 13:08:17 -08:00
Dustin Carlino
b9fd59c930
remove some debug functions from UI, document them in dev guide
2019-12-11 10:29:08 -08:00
Dustin Carlino
f0af92f00e
split out an agent meter with icons for the modes
2019-12-11 10:13:36 -08:00
Dustin Carlino
2afa2ef43f
experimenting with tracking and visualizing demand at traffic signals
2019-12-09 15:23:30 -08:00
Dustin Carlino
b83e61eaee
little outlines for the bars
2019-12-09 14:06:25 -08:00
Dustin Carlino
c35ae15ec0
start gameplay with the histogram shown
2019-12-09 14:00:28 -08:00
Dustin Carlino
f296513b2e
add mouseover to histogram
2019-12-09 13:47:46 -08:00
Dustin Carlino
11e9d7781f
adjust the histogram, hide some text stats now
2019-12-09 13:42:28 -08:00
Dustin Carlino
158f09c3a9
suppress minimap in tutorials
2019-12-09 13:23:18 -08:00