YaLTeR / BunnymodXT

Speedrun and TAS tool for Half-Life & friends.
Other
198 stars 37 forks source link

Refactor DrawString functions to add secondary font mode for HUDs (1 = pfnDrawConsoleString, 2 = pfnDrawString) #275

Open SmileyAG opened 2 years ago

SmileyAG commented 2 years ago

To be honest, I don't like console font as some point and want to see command for change font mode in BXT HUDs

pfnDrawString been used a lot for text in KZ plugins, customtimer in OpenAG based on that font too e.g.

Difference:

difference

Declaration of pfnDrawString in cl_enginefunc_t (Xash3D): https://github.com/FWGS/xash3d-fwgs/blob/654bac83a51e401a59a2ec87a61079961c1fc316/engine/cdll_int.h#L283

YaLTeR commented 2 years ago

It isn't a good idea to play OpenAG with BXT though

SmileyAG commented 2 years ago

It isn't a good idea to play OpenAG with BXT though

I playing without BXT in AG lmao, I just launched AG and typed customtimer and some message in chat in same time to make a screenshot, and then cutted image to show the difference between string methods.

Most of stuff in BXT is used by me for segmented on-going runs on goldsrc engine and nothing more.