Alibek Omarov
b1860972c6
engine: font: fix inverted check, fix potential division by zero
9 months ago
Alibek Omarov
c2da125358
engine: client: as an experiment, let users override default font rendermode through hud_fontrender and con_fontrender cvars
9 months ago
Alibek Omarov
6ca5f7c6fb
engine: client: request if font texture has nearest filtering from the renderer
10 months ago
Alibek Omarov
5ea5e1167b
engine: client: font: add CL_DrawStringf wrapper
2 years ago
Alibek Omarov
f910f4896c
engine: client: font: finally add support for tab character in engine
2 years ago
Alibek Omarov
6eae3471cf
engine: client: font: fix consecutive newlines skipped, add flag to reset color after a newline
2 years ago
Alibek Omarov
ba6dd3c751
engine: client: font: fix another inverted check
2 years ago
Alibek Omarov
fd63018fb5
engine: client: make client string drawing functions ignore linefeeds
2 years ago
Alibek Omarov
2225915702
engine: client: font: fix CL_DrawStringLen
2 years ago
Alibek Omarov
d14e486721
engine: client: font: add special flag to ignore linefeeds when drawing strings
2 years ago
Alibek Omarov
bec0b36bb9
engine: client: font: fix colorcodes, don't reset Colo4ub, it will be reset by consequent draw calls anyway
2 years ago
Alibek Omarov
e2c2821191
engine: client: font: do not apply filtering hack when fonts aren't upscaled
2 years ago
Alibek Omarov
a19d34035d
engine: client: font: do not use OpenFile on WADs >_<
2 years ago
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
2 years ago