Dustin Carlino
|
6c6113d1bc
|
ripping text data out of canvas
|
2019-11-28 22:41:08 -08:00 |
|
Dustin Carlino
|
301a35e4df
|
fix hidpi issues on mac once and for all??
|
2019-11-10 18:56:00 -08:00 |
|
Dustin Carlino
|
d82263978b
|
simpler context menu impl. finally delete the old one
|
2019-10-12 14:53:27 -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
|
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
|
9ed38c849c
|
be able to flag off using textures, and sub a fallback color. also move texture loading into the loading screen. and fix the release script
|
2019-09-10 17:04:33 -07:00 |
|
Dustin Carlino
|
9a624397e0
|
supporting up to 10 textures
|
2019-09-10 15:44:07 -07:00 |
|
Dustin Carlino
|
5637a1cf34
|
remove support for glsl 110; i think it was just wine having problems with 140. can restore later easily, is annoying to maintain in the meantime
|
2019-09-10 14:13:23 -07:00 |
|
Dustin Carlino
|
60a48be5bc
|
make it a little easier to snag default text size's line height
|
2019-09-06 12:44:37 -07:00 |
|
Dustin Carlino
|
56ea90c787
|
draw map-space text with proper z-ordering
|
2019-08-15 10:30:17 -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
|
16926d57a1
|
upgrade glium, glutin, etc. fix the HIDPI issues properly!
|
2019-07-26 17:25:19 +02:00 |
|
Dustin Carlino
|
84ac102d05
|
fix major perf regression from modal menus getting sections. need to
call draw_queued for text once per frame, otherwise cache gets ruined
|
2019-07-26 16:26:41 +02:00 |
|
Dustin Carlino
|
639ce25d09
|
hatching shader's stripes are now in map-space, are crosses, and have
color/size tuned
|
2019-05-12 18:35:12 -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
|
b0ca4429ad
|
make turn blinkers work even when sim is paused
|
2019-05-06 12:56:19 -07:00 |
|
Dustin Carlino
|
272503873c
|
avoid menu flickering and incorrect entries by sending a NoOp after used events
|
2019-05-05 18:23:36 -07:00 |
|
Dustin Carlino
|
73f32854be
|
fix up other ezgui apps, run clippy
|
2019-05-04 17:25:05 -07:00 |
|
Dustin Carlino
|
a921469da9
|
dont special-case having a loading screen during make_gui. pass in EventCtx to make_gui to undo some hacks
|
2019-05-04 17:19:45 -07:00 |
|
Dustin Carlino
|
798a7b5354
|
be able to trigger a loading screen anywhere
|
2019-05-04 17:07:07 -07:00 |
|
Dustin Carlino
|
eed33931de
|
proof-of-concept for gluing Timer to loading screen. hacky and not
featurefull yet.
|
2019-05-04 16:41:01 -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 |
|
Dustin Carlino
|
3db78d1ddd
|
hacky way of showing context menu hotkeys in OSD
|
2019-05-03 14:21:43 -07:00 |
|
Dustin Carlino
|
3b6ecbf4af
|
draw everything from ezgui in screencap mode
|
2019-05-01 16:14:15 -07:00 |
|
Dustin Carlino
|
913ec8d4c7
|
remove top menu from ezgui. unused right now, can restore it later if needed
|
2019-05-01 16:06:40 -07:00 |
|
Dustin Carlino
|
e767a704d3
|
remove old modal menu stuff from ezgui
|
2019-05-01 16:02:50 -07:00 |
|
Dustin Carlino
|
2384157108
|
simplify ezgui API -- event takes &mut EventCtx
|
2019-04-23 21:28:03 -07:00 |
|
Dustin Carlino
|
6c247d376c
|
clean up ezgui draw() API by putting screencap and naming_hint inside GfxCtx
|
2019-04-23 15:42:15 -07:00 |
|
Dustin Carlino
|
008b2f9de5
|
preps for variable font size
|
2019-04-22 20:02:18 -07:00 |
|
Dustin Carlino
|
4eece7bae7
|
borrow text to draw, stop cloning everywhere
|
2019-04-22 13:29:24 -07:00 |
|
Dustin Carlino
|
8ff293bdc4
|
dont plumb last_data through ezgui layer. apps can just... store that themselves. removes unnecessary plumbing.
|
2019-04-21 13:20:40 -07:00 |
|
Dustin Carlino
|
0b4694dcba
|
start splash screen wrapping everything. doesn't do anything yet
|
2019-04-21 13:05:03 -07:00 |
|
Dustin Carlino
|
4b1107bf57
|
clean up ezgui runner API
|
2019-04-20 15:10:03 -07:00 |
|
Dustin Carlino
|
46d24a7c58
|
compile on mac
|
2019-04-19 09:23:36 -07:00 |
|
Dustin Carlino
|
9a2699aab9
|
take a single screenshot (hiding menus and stuff)
|
2019-04-15 10:07:50 -07:00 |
|
Dustin Carlino
|
0cf9e1a1cd
|
draw a simple loading screen
|
2019-04-03 08:24:06 +09:00 |
|
Dustin Carlino
|
7100900714
|
load different glsl versions
|
2019-03-18 14:58:41 -07:00 |
|
Dustin Carlino
|
8bf8b958d7
|
supporting glsl 110 as well as 140
|
2019-03-18 12:26:40 -07:00 |
|
Dustin Carlino
|
3eb5270d51
|
trying to cross-compile to windows. making some unix-only dependencies
optional.
|
2019-03-11 17:09:47 -07:00 |
|
Dustin Carlino
|
cab95e91e2
|
dont redraw on ignored Update events either
|
2019-03-11 13:15:16 -07:00 |
|
Dustin Carlino
|
0c26e3e127
|
dont redraw if key release event was unused
|
2019-03-11 13:08:57 -07:00 |
|
Dustin Carlino
|
5830908604
|
version control checksums of screencaps for all maps... well,
still not small_seattle. :P
|
2019-02-17 14:27:48 -08:00 |
|
Dustin Carlino
|
06c8ed72a9
|
flag-based profiling of GUI
|
2019-02-14 13:16:43 -08:00 |
|
Dustin Carlino
|
72e823c2c6
|
only have one Prerender object constructed, simplifying the plumbing of the Cell counters
|
2019-02-11 12:14:43 -08:00 |
|
Dustin Carlino
|
1d3e4284a7
|
do some tracking of video memory used by RenderMap
|
2019-02-11 12:02:29 -08:00 |
|
Dustin Carlino
|
579097dbb1
|
fiddling with the event loop. simplified code, but didn't fix issues.
|
2019-02-06 12:58:26 -08:00 |
|
Dustin Carlino
|
72b39b0401
|
aha, a slight optimization to not call draw() when events happen that aren't even sent to the application
|
2019-02-05 15:10:15 -08:00 |
|
Dustin Carlino
|
40d3c6b0ca
|
count all Prerender uploads, not just the ones that happen in draw()
|
2019-02-05 15:02:10 -08:00 |
|