Commit Graph

3134 Commits

Author SHA1 Message Date
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
Diavolo
4966a64711
Fix compilation 2021-09-08 11:19:30 +02:00
Diavolo
252c210156
Reversed more client header in preparation for netchan fix 2021-09-08 10:56:42 +02:00
Diavolo
15631bcec2
Removed static assert 2021-09-08 10:05:34 +02:00
Jan
7b70a1c62c Add fonticon autocomplete for chat 2021-09-08 01:53:25 +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
1821d9072e Use TextRenderer to strip material text icons from dedicated server names and chat messages 2021-09-07 14:51:36 +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
Louvenarde
a721818cf6 Better techswap for trees 2021-09-06 21:45:04 +02:00
Louvenarde
cbc980e1c4 Add log print for material state copy 2021-09-06 19:24:48 +02:00
Jan
fe2f3350fe Fix missing new line handling for TextRenderer 2021-09-06 17:49:36 +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
Dss0
d0093e79cf
Merge pull request #118 from XLabsProject/dependabot/submodules/deps/zlib-c3f3043
Bump deps/zlib from `d71dc66` to `c3f3043`
2021-09-06 15:11:27 +02:00
Dss0
f14888d894
Merge pull request #119 from XLabsProject/dependabot/submodules/deps/pdcurses-4bc97e2
Bump deps/pdcurses from `618e0aa` to `4bc97e2`
2021-09-06 15:07:23 +02:00
Dss0
02265b0f7b
Merge pull request #120 from XLabsProject/dependabot/submodules/deps/protobuf-df2bce3
Bump deps/protobuf from `63cfdaf` to `df2bce3`
2021-09-06 15:07:09 +02:00
Dss0
c1e13acf8f
Merge pull request #121 from XLabsProject/dependabot/submodules/deps/json11-2df9473
Bump deps/json11 from `e2e3a11` to `2df9473`
2021-09-06 15:06:52 +02:00
Dss0
9b657a424f
Merge pull request #117 from XLabsProject/dependabot/submodules/deps/libtommath-eda0bd6
Bump deps/libtommath from `6ac0b0c` to `eda0bd6`
2021-09-06 14:51:18 +02:00
Dss0
27c0afd562
Merge pull request #122 from XLabsProject/dependabot/submodules/deps/libtomcrypt-673f5ce
Bump deps/libtomcrypt from `1937f41` to `673f5ce`
2021-09-06 14:50:24 +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
677ac700ca add pushad wrapper around fonticon game functions 2021-09-06 14:45:47 +02:00
Louvenarde
ad9222a3ca Better techset matching 2021-09-06 01:08:02 +02:00
Louvenarde
1f89c55a78 whoopsie 2021-09-06 01:07:53 +02:00
Louvenarde
3d24252a16 Register dvar 2021-09-06 00:25:24 +02:00
Louvenarde
27e9a22e43 Allow loading assets from disk even if they're already in memory 2021-09-06 00:20:16 +02:00
Diavolo
e1a0d881f4 Update client_s 2021-09-05 22:02:38 +02:00
Diavolo
3838cd478e
[Structs] Updated Client_t 2021-09-05 21:53:56 +02:00
Jan
089d3c9180 Swap FontIcon finding method from DB_FindXAssetHeader to DB_FindXAssetEntry 2021-09-05 17:04:35 +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
Jan
cb2e24a52f Make gamepad scoreboard toggable and scrollable 2021-09-04 11:15:34 +02:00
Jan
ac57df648e Make gamepad predator missiles also controllable with right stick 2021-09-04 11:15:14 +02:00
Diavolo
3cb8d31571
Removed unused functions 2021-09-03 10:41:23 +02:00
Diavolo
36a025e1d0
Use game functions to safely change dvar value 2021-09-01 23:19:44 +02:00
Jan
7e9f277ae9 Remove aim assist premake configuration value again in favor of being able to disable aim assist using the server dvar 2021-09-01 18:36:03 +02:00
Jan
67bfad3ae7 Add non cheat protected dvars to disable gamepad lockon and slowdown aim assists additionally to the cheat protected ones 2021-09-01 18:32:12 +02:00
Jan
7a64545f92 Add sv_allowAimAssist dvar to be able to disable aim assist server side 2021-09-01 18:12:44 +02:00
Jan
f364e4db66 Fix gamepad Key_GetCommandAssignmentInternal returning wrong key count when a command is bound to 2 keys 2021-09-01 16:49:51 +02:00
Diavolo
dded312064
Removed extra newline 2021-08-31 18:24:40 +02:00
Jan
f8dd3f2b3a Add gamepad options menu 2021-08-31 18:13:15 +02:00
Jan
abc44e6897 Update gamepad dvar defaults 2021-08-31 18:13:06 +02:00