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
2d199ac2c3
new release
2019-12-15 11:46:01 -08:00
Dustin Carlino
5089843a4e
use a different method for compiling linux binaries, to try to deal with #17 . and update mac release script to reflect my convoluted process of building the binary on another machine, then copying it over
2019-12-15 11:32:27 -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
2b6c6b3716
document flags for starting on a map or scenario
2019-12-14 21:11:39 -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
16c9819a0d
Check in the first manifest for data/system/, after fixing a
...
nondeterminism issue in fast_paths
2019-12-13 13:44:03 -08:00
Dustin Carlino
5157d87109
start tracking when data/system changes, so I know when to upload new seed data. but oops... RawMap->Map isn't deterministic. fixed one problem, working on another in fast_paths
2019-12-13 12:59:50 -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
1fc7a73882
add version number to release dirs and zips
2019-12-12 19:04:14 -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
1542e237d9
limit precision on ScreenDims. should fix #18
2019-12-12 09:13:25 -08:00
Dustin Carlino
770507610c
try to workaround the mac dpi issue for minimaps again. hardcoding didnt work.
2019-12-11 16:59:13 -08:00
Dustin Carlino
ee598b6ae4
round of clippy. not fixing everything.
2019-12-11 16:17:15 -08:00
Dustin Carlino
cb68536989
ripping out the old ezgui context menu gunk. woo!
2019-12-11 16:08:58 -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
Dustin Carlino
3187fc7ef8
replace MultiText with DrawBoth
2019-12-09 13:03:28 -08:00
Dustin Carlino
954ac97a9f
started a histogram to show relative trip durations for fixing traffic
...
signals. lots of work needed.
2019-12-09 12:50:55 -08:00
Dustin Carlino
7ca08dfaff
new release
2019-12-08 19:44:03 -08:00
Dustin Carlino
4e96363398
tuning color rewriting and placement of some svg icons. removing the
...
crazy shader color masking
2019-12-08 13:44:43 -08:00
Dustin Carlino
5a7314d137
Add color rewriting and stroke support for SVG images. Cut over more
...
images, discovering some break...
2019-12-08 12:46:56 -08:00