Dustin Carlino
5afc45182b
show which paint mode is active better
2019-11-13 11:18:43 -08:00
Dustin Carlino
0f427542c7
putting in dummy paint buttons to edit mode
2019-11-13 08:54:25 -08:00
Dustin Carlino
301a35e4df
fix hidpi issues on mac once and for all??
2019-11-10 18:56:00 -08:00
Dustin Carlino
fff1068689
remove text bg in speed panel. adjust text API to remove bg color.
2019-11-08 11:56:29 -08:00
Dustin Carlino
db86a24cda
draw button text in the OSD (not owned by ezgui), not as a mouse tooltip
2019-11-01 11:45:02 -07:00
Dustin Carlino
e9e6664f61
using popup text box in a few more places to show important messages
2019-11-01 11:33:15 -07:00
Dustin Carlino
e564a67ad4
try to wrangle the complexities of synchronizing menus with analytics and colorschemes, which can be separately modified. added something for gridlock mode too.
2019-11-01 10:30:36 -07:00
Dustin Carlino
50ee547994
adding some help text to all gameplay modes
2019-10-31 15:30:12 -07:00
Dustin Carlino
3d68c3b83b
cant click off wizard menus to cancel them
2019-10-31 14:54:45 -07:00
Dustin Carlino
1d08181eaa
parameterize sandboxmode by a gameplaymode. makes the reset sim button
...
reinitialize scenarios properly
2019-10-31 09:59:03 -07:00
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