Alibek Omarov
6ca5f7c6fb
engine: client: request if font texture has nearest filtering from the renderer
2024-01-29 05:41:16 +03:00
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2023-03-13 06:15:45 +03:00
Alibek Omarov
f910f4896c
engine: client: font: finally add support for tab character in engine
2023-02-04 22:53:10 +03:00
Alibek Omarov
6eae3471cf
engine: client: font: fix consecutive newlines skipped, add flag to reset color after a newline
2023-02-04 21:59:46 +03:00
Alibek Omarov
ba6dd3c751
engine: client: font: fix another inverted check
2023-02-04 21:23:51 +03:00
Alibek Omarov
fd63018fb5
engine: client: make client string drawing functions ignore linefeeds
2023-02-04 20:58:33 +03:00
Alibek Omarov
2225915702
engine: client: font: fix CL_DrawStringLen
2023-02-04 20:54:17 +03:00
Alibek Omarov
d14e486721
engine: client: font: add special flag to ignore linefeeds when drawing strings
2023-02-04 20:53:52 +03:00
Alibek Omarov
bec0b36bb9
engine: client: font: fix colorcodes, don't reset Colo4ub, it will be reset by consequent draw calls anyway
2023-02-03 18:20:02 +03:00
Alibek Omarov
e2c2821191
engine: client: font: do not apply filtering hack when fonts aren't upscaled
2023-02-03 18:06:07 +03:00
Alibek Omarov
a19d34035d
engine: client: font: do not use OpenFile on WADs >_<
2023-02-03 17:49:06 +03:00
Alibek Omarov
77ea03a62c
engine: client: introduce bare-bones font manager and text drawing manager
...
* wire hud_fontscale so HUD font scaling can be used independently from
hud_scale
* allow small optimizatinons, like optional UTF-8 decoding, or not calling
SetRenderMode for each character
* even less copypasted code in text drawing between client code and console
* get rid of direct DrawCharacter calls when it can be just DrawString
* fix net_speeds, r_speeds with scaled console fonts
* try to fix MobilityAPI's pfnDrawCharacterScaled
* center keyboard keys in OSK code
2023-02-03 08:51:18 +03:00