Dustin Carlino
|
1e7760062d
|
rephrase render API to not include transformation, so we can cache Text
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
3ff56f54cf
|
prepping for a caching layer by changing render API, plumbing ctx...
getting close
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
7c76f2d119
|
migrating all callers of draw_text_at_mapspace to do something better now
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
d806d9509b
|
draw traffic signal text label properly (and way more efficiently now)
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
95c1f47047
|
clean up text_dims, then unplumb a BUNCH of stuff
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
9355bcf5fd
|
cutover mapspace text quickly (without doing the scaling down yet.
delete lots of stuff.
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
7f0539bcac
|
cutting over more internal callers to new thing
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
613fa73a32
|
offset negative dims. doesnt quite work but kinda leaving this in...
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
a9ef443c17
|
handle empty lines
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
3eea1f2a45
|
changing DrawBoth internally to use the new thing. this actually gets
most callers!
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
fa6cbea28c
|
be able to handle generic Text
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
b6b1be7d18
|
starting a way to add some text to a GeomBatch
|
2020-02-08 10:36:44 -08:00 |
|
Dustin Carlino
|
43ea723111
|
tune lane editor style, and refactor some widget centering patterns
[rebuild]
|
2020-01-29 12:16:18 -08:00 |
|
Dustin Carlino
|
1c3b7fe52b
|
cut down the places populating covered_areas. mainly Composite should do it, being aware of clipping. some temporary exceptions remain.
|
2020-01-17 13:58:33 -08:00 |
|
Dustin Carlino
|
aff092776e
|
fix hidpi issue ONCE AND FOR ALL. tested successfully on linux and
windows. [rebuild]
|
2020-01-16 10:38:01 -08:00 |
|
Dustin Carlino
|
f613b003a4
|
fix scissor DPI issue once and for all? the math was backwards [rebuild]
|
2020-01-14 10:50:18 -08:00 |
|
Dustin Carlino
|
bb141c7026
|
also clip text. not used quite yet.
|
2020-01-13 18:26:24 -08:00 |
|
Dustin Carlino
|
8a7e3cecff
|
make clipping be a stateful API, as prep for clipping composites
|
2020-01-13 16:57:09 -08:00 |
|
Dustin Carlino
|
af76ad9d60
|
wrap text in signal diagram to limit width
|
2020-01-13 14:57:46 -08:00 |
|
Dustin Carlino
|
642084c595
|
rotate walk icons
|
2020-01-02 10:24:12 -06:00 |
|
Dustin Carlino
|
1ad3dfd634
|
always draw crosswalks, draw walk / dont walk icons
|
2020-01-01 13:47:55 -06:00 |
|
Dustin Carlino
|
2a8c657770
|
only upload widget backgrounds once
|
2019-12-22 10:52:41 -08:00 |
|
Dustin Carlino
|
56285a7b30
|
add screen positioning to some Composites
|
2019-12-19 10:59:39 -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
|
cb68536989
|
ripping out the old ezgui context menu gunk. woo!
|
2019-12-11 16:08:58 -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
|
3187fc7ef8
|
replace MultiText with DrawBoth
|
2019-12-09 13:03:28 -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 |
|
Dustin Carlino
|
631cc493c1
|
hack around mac dpi minimap issue
|
2019-12-06 10:29:24 -08:00 |
|
Dustin Carlino
|
5fd067ea62
|
adding roboto
|
2019-11-29 10:17:14 -08:00 |
|
Dustin Carlino
|
6c6113d1bc
|
ripping text data out of canvas
|
2019-11-28 22:41:08 -08:00 |
|
Dustin Carlino
|
c0cfbde4ec
|
add a bit of padding to the minimap, pick an initial zoom to fit the entire width, and clip using scissor test
|
2019-11-27 09:55:08 -08:00 |
|
Dustin Carlino
|
b47a186373
|
unify the two JustDraw things
|
2019-11-26 13:55:16 -08:00 |
|
Dustin Carlino
|
202cfcf0d6
|
hack in a mask to change the color of image buttons without backgrounds
|
2019-11-26 10:59:33 -08:00 |
|
Dustin Carlino
|
188b2fd372
|
adding in some image buttons for the main menu. no highlighting yet.
wrong bounding boxes.
|
2019-11-25 19:31:39 -08:00 |
|
Dustin Carlino
|
dfd036300b
|
refactor: make text_dims return ScreenDims. also, update the logo image
|
2019-11-25 17:38:37 -08:00 |
|
Dustin Carlino
|
573edbd13e
|
adding the logo to the title screen and filling out some credits
|
2019-11-24 19:09:07 -08:00 |
|
Dustin Carlino
|
1440a8630b
|
prototyping a text button, using it for a title screen
|
2019-11-24 15:23:28 -08:00 |
|
Dustin Carlino
|
a2ea691fa3
|
fix the 16 texture limit on mac properly, by using texture arrays for icons
|
2019-11-24 07:38:32 -08:00 |
|
Dustin Carlino
|
e7bda09978
|
simple perf boosts: avoiding some unnecessary GPU uploads every frame
|
2019-11-22 14:06:44 -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
|
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
|
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
|
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
|
430b1245c4
|
working on a new traffic signal scroller. disabled. decent start.
|
2019-10-13 18:44:19 -07:00 |
|