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 |
|
Dustin Carlino
|
5304aa6ecf
|
trying out permanent sidebar in map_editor. no more tooltips
|
2019-10-13 15:31:17 -07:00 |
|
Dustin Carlino
|
d82263978b
|
simpler context menu impl. finally delete the old one
|
2019-10-12 14:53:27 -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
|
da0b880484
|
place mouse tooltips away from screen edge, just like context menus
|
2019-10-09 11:21:04 -07:00 |
|
Dustin Carlino
|
5f9cf2accd
|
display basic labels on trip stats
|
2019-10-01 19:28:03 -07:00 |
|
Dustin Carlino
|
672899c20f
|
better synthetic drawing: lanes offset properly (still buggy...), draw center line
|
2019-09-12 10:25:34 -07:00 |
|
Dustin Carlino
|
224461fcdc
|
plumb hatching bit in the style vertex attrib, not this awkward stateful uniform value
|
2019-09-11 11:06:57 -07:00 |
|
Dustin Carlino
|
7eae18b71a
|
tiling all the textures seamlessly, instead of stretching
|
2019-09-11 10:46:03 -07:00 |
|
Dustin Carlino
|
ac131ebedf
|
moving some things around ezgui; i can never remember where to find some structs
|
2019-09-11 09:03:59 -07:00 |
|
Dustin Carlino
|
9867619c9c
|
generalize ezgui Color to also cleanly represent textured things
|
2019-09-10 16:41:35 -07:00 |
|
Dustin Carlino
|
9a624397e0
|
supporting up to 10 textures
|
2019-09-10 15:44:07 -07:00 |
|
Dustin Carlino
|
fdd770088d
|
very hacky, minimal impl of texturing water
|
2019-09-10 15:21:58 -07:00 |
|
Dustin Carlino
|
e6bf997bee
|
simplify glium uniforms storage
|
2019-09-10 14:08:05 -07:00 |
|
Dustin Carlino
|
56ea90c787
|
draw map-space text with proper z-ordering
|
2019-08-15 10:30:17 -07:00 |
|
Dustin Carlino
|
caddf69dcc
|
cache unzoomed agent geometry when possible
|
2019-08-14 14:44:43 -07:00 |
|
Dustin Carlino
|
c50830c4c0
|
add an extra scaling factor to map-space text, so we can draw in a reasonable font size, then squish down without losing quality
|
2019-08-13 11:24:04 -07:00 |
|
Dustin Carlino
|
5dc92e6eb8
|
strong steps towards real map-space text. not quite working yet, but
this shouldn't break anything in the meantime.
|
2019-08-12 15:38:57 -07:00 |
|
Dustin Carlino
|
6738de2488
|
draw text beneath Sliders, not in the ModalMenu
|
2019-06-20 14:48:32 -07:00 |
|
Dustin Carlino
|
110140f391
|
union make_arrow polygon
|
2019-05-28 18:05:10 -07:00 |
|
Dustin Carlino
|
788cd237a8
|
upload traffic signal Drawable once per state change
|
2019-05-23 11:31:28 -07:00 |
|
Dustin Carlino
|
de51b1c154
|
simplify some render/ code by using GeomBatch
|
2019-05-17 13:14:58 -07:00 |
|
Dustin Carlino
|
db04553626
|
batch traffic signal drawing
|
2019-05-16 17:55:26 -07:00 |
|
Dustin Carlino
|
f4620c1951
|
add basic hatching support to fragment shader. use it to visualize map
edits when zoomed in
|
2019-05-12 17:59:12 -07:00 |
|
Dustin Carlino
|
73f32854be
|
fix up other ezgui apps, run clippy
|
2019-05-04 17:25:05 -07:00 |
|
Dustin Carlino
|
951e2f37ce
|
flush text to display immediately, not at the end. prerequisite to drawing scaled text better
|
2019-05-04 15:36:40 -07:00 |
|