Dustin Carlino
a94e210c22
changing speed controls to be a panel of manually arranged buttons. not
...
done, but functionality is cutover. fix details later.
2019-10-30 15:01:11 -07:00
Dustin Carlino
9d828abbd0
move bus explorer to sandbox mode. make it start at the current stop
2019-10-30 12:20:04 -07:00
Dustin Carlino
7faeafd998
nice hatching for construction lanes, hackily encoded
2019-10-29 17:19:36 -07:00
Dustin Carlino
d757b45bff
manually workaround y inversion with stretched textures by modifying the
...
images
2019-10-29 16:36:19 -07:00
Dustin Carlino
0575e57584
tweaks to buttons
2019-10-29 15:45:26 -07:00
Dustin Carlino
aae6d6d998
cleanup: collapse the old separated modal menu groups
2019-10-29 15:37:19 -07:00
Dustin Carlino
7574869798
tie together a popup menu and a button in a really simple way. move some
...
info and location things there
2019-10-29 15:14:17 -07:00
Dustin Carlino
00253d2783
using textures for the hide/show buttons. making it easier to sometimes
...
upload expensive textures. draw show/hide buttons on top of modal menus,
even when they sometimes overlap.
2019-10-29 13:47:04 -07:00
Dustin Carlino
573fc4dc35
redo zooming towards mouse. support zooming really far out, useful for
...
huge_seattle
2019-10-29 11:50:29 -07:00
Dustin Carlino
0d948cef91
share camera state between game and map_editor
2019-10-26 16:16:32 -07:00
Dustin Carlino
7d7bfef5ea
filter out parking garages with 0 spots. render water on top of parks,
...
to workaround issue of the green lake park polygon covering everything
up
2019-10-26 11:37:10 -07:00
Dustin Carlino
cb4720946c
experiment with texturing cars, with some fun UV coordinates. looks half
...
reasonable when it works. breaks on duplicate points, not sure what's
wrong yet
2019-10-24 14:07:03 -07:00
Dustin Carlino
17e02ebdf0
adding in support for rotating textures, except missing y-inversion
2019-10-23 16:30:23 -07:00
Dustin Carlino
d133dfd152
experimentally use textures for pedestrians. add support for stretching
...
texture coordinates
2019-10-23 15:46:00 -07:00
Dustin Carlino
63127960c9
skip info phase of menus if there is no info
2019-10-21 15:28:31 -07:00
Dustin Carlino
56a277a284
show live parking counts in that analytics legend
2019-10-18 12:35:49 -07:00
Dustin Carlino
c70a57e7ae
click to cancel info panel
2019-10-17 11:29:02 -07:00
Dustin Carlino
b479c8afed
hotkeys and tooltips for buttons
2019-10-16 15:42:58 -07:00
Dustin Carlino
83d10c714b
toggle between 3 states for hiding modal menus
2019-10-16 15:21:13 -07:00
Dustin Carlino
10f2f6008f
improve map_editor's intersection preview
...
- timer for setting up world
- preview all intersections
- move world to map_editor; it's too oddly specialized
- dont show circle while previewing intersection geom
- show overlapping intersection polygons
2019-10-16 15:08:22 -07:00
Dustin Carlino
a1cc53d68a
redo mouseover when zooming, so that we never have current_selection when unzoomed.
2019-10-14 15:15:56 -07:00
Dustin Carlino
430b1245c4
working on a new traffic signal scroller. disabled. decent start.
2019-10-13 18:44:19 -07:00
Dustin Carlino
f82000cff4
just select entire road in map_editor. individual lanes were only for labeling one side of the road, which is only a theoretical feature for test maps. also dont allow swapping lanes uselessly.
2019-10-13 16:42:03 -07:00
Dustin Carlino
f772f12a7d
combining info/controls for map_editor sidebar
2019-10-13 16:14:47 -07:00
Dustin Carlino
5358931a5e
fixing up a few lingering places in the game that were constructing text prompts
2019-10-13 15:43:11 -07:00
Dustin Carlino
5304aa6ecf
trying out permanent sidebar in map_editor. no more tooltips
2019-10-13 15:31:17 -07:00
Dustin Carlino
df4d37f996
migrate some map_editor stuff to a proper modal menu. display constant
...
OSD for info and for controls.
2019-10-12 19:02:58 -07:00
Dustin Carlino
d82263978b
simpler context menu impl. finally delete the old one
2019-10-12 14:53:27 -07:00
Dustin Carlino
a077276275
rewriting the wizard menu from scratch too. also making sure to update
...
master GUI state (where's the cursor?) up-front. that's independent from
letting the canvas pan, a client decision
2019-10-12 10:24:07 -07:00
Dustin Carlino
f548ded8cc
most modalmenus will maintain layout themselves. also stop doing
...
layouting in constructors; the first event will work fine.
2019-10-11 20:45:27 -07:00
Dustin Carlino
f1cae9bd37
dont show info when modalmenu hidden, just title. simplify setting info
...
from outside.
2019-10-11 20:10:12 -07:00
Dustin Carlino
0ea138aa02
adding show/hide functionality back to modalmenu, but WAY more cleanly
2019-10-11 15:00:08 -07:00
Dustin Carlino
05b953d639
split sim summary onto two nice lines
2019-10-11 13:25:41 -07:00
Dustin Carlino
81addd9c8c
making menu label swaps more ergonomic
2019-10-11 13:15:14 -07:00
Dustin Carlino
f71d229594
ability to change menu labels. use for speed controls and debug mode.
2019-10-11 13:09:32 -07:00
Dustin Carlino
88be94e789
simple stacked layouting for text box, slider, and modal menu (rewritten
...
from scratch). not fully done, but perfectly usable and clean!
2019-10-11 12:37:48 -07:00
Dustin Carlino
21aa42891d
parameterizing slider dims, making them match menus
2019-10-09 15:03:23 -07:00
Dustin Carlino
da0b880484
place mouse tooltips away from screen edge, just like context menus
2019-10-09 11:21:04 -07:00
Dustin Carlino
ec7d0b463d
force modal menus beneath sliders to have top-left corner at a point; stop doing the jump left/right behavior based on running off the screen. need a proper vertical stacking layout thing for that.
2019-10-09 10:44:11 -07:00
Dustin Carlino
e0ae1d5195
tooltip with key bindings for hide/expand icons. doesn't look great
...
though.
2019-10-09 10:29:11 -07:00
Dustin Carlino
7c3a26fed8
making ItemSlider and all trip viz also combine menu and slider better
2019-10-07 14:54:42 -07:00
Dustin Carlino
3459d9c8fd
change default font size by flag
2019-10-07 10:39:09 -07:00
Dustin Carlino
e7507bad85
plumbing initial settings to ezgui better
2019-10-07 09:45:53 -07:00
Dustin Carlino
1df7c580f3
hack in a way for ModalMenu to work alongside a slider. use in
...
SpeedControls.
2019-10-05 17:01:33 -07:00
Dustin Carlino
47ccf2c70b
making normal ModalMenu be able to add/remove items. killing off DynamicMenu.
2019-10-05 14:59:59 -07:00
Dustin Carlino
bbbfc4a064
fold trip stats into new exclusive analytics thing, so it also auto-updates
2019-10-05 13:56:43 -07:00
Dustin Carlino
5f9cf2accd
display basic labels on trip stats
2019-10-01 19:28:03 -07:00
Dustin Carlino
b11f33f7f6
trying out a different type of menu for agent controls. explicitly
...
add/remove actions, and grow/shrink the menu based on temporarily
activated things
2019-09-24 13:02:23 -07:00
Dustin Carlino
ae31d2d983
disable cpuprofiler dep in ezgui by default, since it requires manually installing some other stuff
2019-09-23 13:37:47 -07:00
Dustin Carlino
f18fc72265
finish structopt removal
2019-09-18 17:29:34 -07:00