Commit Graph

29 Commits

Author SHA1 Message Date
Edo
0d96a0882b
[Deps]: Rename stb_truetype.h to stb_truetype.hpp (#719) 2023-01-12 14:55:26 +00:00
Edo
3ff8486fc3
[Dvar]: Cleanup cg dvars (#718) 2023-01-12 12:50:06 +01:00
Edo
ed3217794e
[Chat] Fix logic error in chat code (#547) 2022-11-01 23:23:25 +00:00
Jan
70bc28ee7b Rewrite fonticon localized string caching to fix strings being reallocated 2021-09-22 22:50:22 +02:00
Jan
e70b329614 Add support for applying the autocomplete for fonticons with the enter key
- This also closes the fonticon sequence
2021-09-21 22:08:12 +02:00
Jan
afc097b432 Use localized strings for fonticon autocompletion 2021-09-21 20:05:30 +02:00
Jan
41e3acb833 Replace fonticon literal characters for modifiers and separators with constants 2021-09-20 20:29:32 +02:00
Jan
b8b8608a3d FontIcon tabs vs spaces stuff 2021-09-20 18:21:38 +02:00
Jan
b36df5130b Change logic that splits chat messages with new lines to support fonticons properly 2021-09-19 15:49:12 +02:00
Jan
539b70d38b Draw Hud icons white by default 2021-09-12 15:46:24 +02:00
Jan
f17cde2791 Load fonticons from csv and alphabetically sort them 2021-09-10 21:07:45 +02:00
Jan
c4d8638674 Add user closing fonticon autocomplete with escape 2021-09-08 19:06:38 +02:00
Jan
5b93848ace Add support for animated icons as fonticons 2021-09-08 16:44:39 +02:00
Jan
cdf81b8ce2 Make fonticon autocorrect use chat font and scale 2021-09-08 15:53:05 +02:00
Jan
d640c4488c add fonticon modifier autocomplete and dvars to control autocomplete and hint text 2021-09-08 14:16:54 +02:00
Jan
68acf467b1 Add fonticon autocompletion inputs and improve rendering 2021-09-08 13:18:28 +02:00
Jan
59e1099c06 Add big fonticon modifier to multiply size by 1.5 2021-09-08 01:53:02 +02:00
Jan
6e0586a335 Add console fonticon autocomplete 2021-09-08 00:40:52 +02:00
Jan
4497b991be Fix characters or cursor vanishing when cursor is in escaped color code that is expanded 2021-09-07 16:45:59 +02:00
Jan
26f2403418 Move playername related patches from TextRenderer to PlayerName component 2021-09-07 15:06:58 +02:00
Jan
967eeb2989 Update playername cleaning to clean fonticons and enforce 3 character minimum serverside 2021-09-07 14:33:36 +02:00
Jan
ccefbeb885 Rename r_colorBlindTeams to r_colorBlind to be compatible to future colorblind patches 2021-09-07 13:53:56 +02:00
Jan
3266c5790f Move remaining patches from color component to text renderer component 2021-09-07 13:15:44 +02:00
Jan
de96cb4b16 Hook R_TextWidth to properly account for fonticons and material icons 2021-09-06 17:02:41 +02:00
Jan
10964ba059 Do not render fonticons if cursor is inside the fonticon text and properly render cursor 2021-09-06 17:02:17 +02:00
Jan
69352103b8 Add ability to flip fonticons either vertically and horizontally or both with the suffixes +h +v +hv 2021-09-06 14:46:30 +02:00
Jan
9cb8a02546 Only draw font icons when material exists 2021-09-05 15:21:11 +02:00
Jan
c30bb4f93c Finish reimplementation of 2D text renderer 2021-09-05 14:50:56 +02:00
Jan
5020d82f68 Add conceptional fonticon in text rendering 2021-09-05 02:25:24 +02:00