Commit Graph

  • fa40711ee8 Remove unused hud icon drawing patches from Material component Jan 2021-09-12 15:46:47 +02:00
  • 539b70d38b Draw Hud icons white by default Jan 2021-09-12 15:46:24 +02:00
  • 9ef0948e5d Remove outdated TextWidth patch from Gamepad patch Jan 2021-09-12 15:19:07 +02:00
  • 46a7dcdb48 Merge branch 'develop' into feature/fonticons Jan 2021-09-12 15:09:36 +02:00
  • 2ed973c1dd
    Merge pull request #75 from Rackover/feature/xinput Jan 2021-09-11 21:20:20 +02:00
  • c824fe31e2
    [Dvar] Found another assert failed trigger Diavolo 2021-09-11 20:38:22 +02:00
  • 8ef991f81f Move standard header include to precompiled header - Im getting forced to do this help Jan 2021-09-11 17:54:50 +02:00
  • c0a1a99d8b Add comments to gamepad patch to explain commented out code and magic flag numbers Jan 2021-09-11 17:49:58 +02:00
  • d96780a88e Add handling of zero length vector to normalization methods - Avoids having division by zero Jan 2021-09-11 17:49:32 +02:00
  • d71dfd170b Move Gamepad structs to their respective correct location - Structs that are reversed from the Game are moved to Structs.hpp - Structs that are custom to the Gamepad patch are moved into the Gamepad component class - Offsets to the Game's memory are moved to the Functions.hpp header - Arrays that hold data are moved to the Gamepad components class as static fields Jan 2021-09-11 16:34:04 +02:00
  • f17cde2791 Load fonticons from csv and alphabetically sort them Jan 2021-09-10 19:22:23 +02:00
  • 966d7c23f3 Fix gamepad slowdown aimassist mask to fix slowdown not being active when having scrambler perk equipped Jan 2021-09-10 13:19:08 +02:00
  • da669cccc0 Fix maps component using integer values for setting bool dvars Jan 2021-09-10 12:40:53 +02:00
  • 8ca84eb882 Replace runtime critical usages of Dvar::set with Dvar::setRaw in gamepad patch Jan 2021-09-10 11:41:44 +02:00
  • cc39a7bbe5 Reintroduce setRaw dvar methods - Makes it possible to set the value of a dvar without using the game's way of first converting it to a string and checking all kinds of dvar flags Jan 2021-09-10 11:40:30 +02:00
  • e8185a27b9
    Fixed compilation Diavolo 2021-09-10 11:35:15 +02:00
  • 0fec011bb0
    Some minor style changes Diavolo 2021-09-10 09:44:08 +02:00
  • 906e33ac41
    Some minor style changes Diavolo 2021-09-09 11:36:48 +02:00
  • 27c8a647df
    Random tab i spotted Diavolo 2021-09-09 11:36:48 +02:00
  • 7de4b0a3aa
    Tab again X-( Diavolo 2021-09-09 10:50:49 +02:00
  • 337b3961c4
    Fixed indent Diavolo 2021-09-09 10:44:04 +02:00
  • 035b7f19d9
    Merge branch 'develop' into feature/xinput Edo 2021-09-09 10:39:59 +02:00
  • e873b48571
    Merge pull request #124 from diamante0018/client_t-is-fun-4 Dss0 2021-09-08 23:25:01 +02:00
  • 9cb16ceabf
    Addressed review Diavolo 2021-09-08 23:15:10 +02:00
  • f83eabf1e9
    Merge pull request #126 from diamante0018/dvar-set Dss0 2021-09-08 23:07:34 +02:00
  • 8b7eceeea9
    I accidentally modifed the struct Diavolo 2021-09-08 23:03:32 +02:00
  • 99d9d19dcf
    Merge pull request #123 from diamante0018/dvar-set Dss0 2021-09-08 22:58:32 +02:00
  • 63bce435ef
    newline between funcs Diavolo 2021-09-08 22:54:43 +02:00
  • 570d2acdac Merge branch 'develop_official' into feature/xinput Louvenarde 2021-09-08 21:34:37 +02:00
  • 2fe9f938af Do not display fonticon autocomplete when letter before sequence is alphanumeric Jan 2021-09-08 19:16:08 +02:00
  • c4d8638674 Add user closing fonticon autocomplete with escape Jan 2021-09-08 19:06:38 +02:00
  • cfefd7d220 Do not show fonticon autocorrect window when fonticon name does not start with alphabetic characters Jan 2021-09-08 18:34:04 +02:00
  • 5b93848ace Add support for animated icons as fonticons Jan 2021-09-08 16:44:39 +02:00
  • cdf81b8ce2 Make fonticon autocorrect use chat font and scale Jan 2021-09-08 15:53:05 +02:00
  • d640c4488c add fonticon modifier autocomplete and dvars to control autocomplete and hint text Jan 2021-09-08 14:16:54 +02:00
  • 68acf467b1 Add fonticon autocompletion inputs and improve rendering Jan 2021-09-08 13:08:49 +02:00
  • 4966a64711
    Fix compilation Diavolo 2021-09-08 11:19:30 +02:00
  • 252c210156
    Reversed more client header in preparation for netchan fix Diavolo 2021-09-08 10:56:42 +02:00
  • 15631bcec2
    Removed static assert Diavolo 2021-09-08 10:05:34 +02:00
  • 7b70a1c62c Add fonticon autocomplete for chat Jan 2021-09-08 01:53:25 +02:00
  • 59e1099c06 Add big fonticon modifier to multiply size by 1.5 Jan 2021-09-08 01:09:06 +02:00
  • 6e0586a335 Add console fonticon autocomplete Jan 2021-09-08 00:31:56 +02:00
  • 4497b991be Fix characters or cursor vanishing when cursor is in escaped color code that is expanded Jan 2021-09-07 16:45:59 +02:00
  • 26f2403418 Move playername related patches from TextRenderer to PlayerName component Jan 2021-09-07 15:06:58 +02:00
  • 1821d9072e Use TextRenderer to strip material text icons from dedicated server names and chat messages Jan 2021-09-07 14:51:36 +02:00
  • 967eeb2989 Update playername cleaning to clean fonticons and enforce 3 character minimum serverside Jan 2021-09-07 14:33:36 +02:00
  • ccefbeb885 Rename r_colorBlindTeams to r_colorBlind to be compatible to future colorblind patches Jan 2021-09-07 13:53:56 +02:00
  • 3266c5790f Move remaining patches from color component to text renderer component Jan 2021-09-07 12:49:02 +02:00
  • a721818cf6 Better techswap for trees Louvenarde 2021-09-06 21:45:04 +02:00
  • cbc980e1c4 Add log print for material state copy Louvenarde 2021-09-06 19:24:48 +02:00
  • fe2f3350fe Fix missing new line handling for TextRenderer Jan 2021-09-06 17:49:36 +02:00
  • de96cb4b16 Hook R_TextWidth to properly account for fonticons and material icons Jan 2021-09-06 17:02:41 +02:00
  • 10964ba059 Do not render fonticons if cursor is inside the fonticon text and properly render cursor Jan 2021-09-06 17:02:17 +02:00
  • d0093e79cf
    Merge pull request #118 from XLabsProject/dependabot/submodules/deps/zlib-c3f3043 Dss0 2021-09-06 15:11:27 +02:00
  • f14888d894
    Merge pull request #119 from XLabsProject/dependabot/submodules/deps/pdcurses-4bc97e2 Dss0 2021-09-06 15:07:23 +02:00
  • 02265b0f7b
    Merge pull request #120 from XLabsProject/dependabot/submodules/deps/protobuf-df2bce3 Dss0 2021-09-06 15:07:09 +02:00
  • c1e13acf8f
    Merge pull request #121 from XLabsProject/dependabot/submodules/deps/json11-2df9473 Dss0 2021-09-06 15:06:52 +02:00
  • 9b657a424f
    Merge pull request #117 from XLabsProject/dependabot/submodules/deps/libtommath-eda0bd6 Dss0 2021-09-06 14:51:18 +02:00
  • 27c0afd562
    Merge pull request #122 from XLabsProject/dependabot/submodules/deps/libtomcrypt-673f5ce Dss0 2021-09-06 14:50:24 +02:00
  • 69352103b8 Add ability to flip fonticons either vertically and horizontally or both with the suffixes +h +v +hv Jan 2021-09-06 14:46:30 +02:00
  • 677ac700ca add pushad wrapper around fonticon game functions Jan 2021-09-06 14:45:47 +02:00
  • ad9222a3ca Better techset matching Louvenarde 2021-09-06 01:08:02 +02:00
  • 1f89c55a78 whoopsie Louvenarde 2021-09-06 01:07:53 +02:00
  • 3d24252a16 Register dvar Louvenarde 2021-09-06 00:25:24 +02:00
  • 27e9a22e43 Allow loading assets from disk even if they're already in memory Louvenarde 2021-09-06 00:20:16 +02:00
  • e1a0d881f4 Update client_s Diavolo 2021-09-05 21:59:20 +02:00
  • 3838cd478e
    [Structs] Updated Client_t Diavolo 2021-09-05 21:53:56 +02:00
  • 089d3c9180 Swap FontIcon finding method from DB_FindXAssetHeader to DB_FindXAssetEntry Jan 2021-09-05 17:04:35 +02:00
  • 9cb8a02546 Only draw font icons when material exists Jan 2021-09-05 15:21:11 +02:00
  • c30bb4f93c Finish reimplementation of 2D text renderer Jan 2021-09-05 14:50:56 +02:00
  • 5020d82f68 Add conceptional fonticon in text rendering Jan 2021-09-05 02:25:24 +02:00
  • cb2e24a52f Make gamepad scoreboard toggable and scrollable Jan 2021-09-04 11:15:34 +02:00
  • ac57df648e Make gamepad predator missiles also controllable with right stick Jan 2021-09-04 11:15:14 +02:00
  • 3cb8d31571
    Removed unused functions Diavolo 2021-09-03 10:41:23 +02:00
  • 36a025e1d0
    Use game functions to safely change dvar value Diavolo 2021-09-01 23:19:44 +02:00
  • 7e9f277ae9 Remove aim assist premake configuration value again in favor of being able to disable aim assist using the server dvar Jan 2021-09-01 18:36:03 +02:00
  • 67bfad3ae7 Add non cheat protected dvars to disable gamepad lockon and slowdown aim assists additionally to the cheat protected ones Jan 2021-09-01 18:32:12 +02:00
  • 7a64545f92 Add sv_allowAimAssist dvar to be able to disable aim assist server side Jan 2021-09-01 18:12:44 +02:00
  • f364e4db66 Fix gamepad Key_GetCommandAssignmentInternal returning wrong key count when a command is bound to 2 keys Jan 2021-09-01 16:49:51 +02:00
  • dded312064
    Removed extra newline Diavolo 2021-08-31 18:24:40 +02:00
  • f8dd3f2b3a Add gamepad options menu Jan 2021-08-31 18:13:15 +02:00
  • abc44e6897 Update gamepad dvar defaults Jan 2021-08-31 18:13:06 +02:00
  • 9a9d2cd058 Fix disabling gamepad not blocking all gamepad inputs Jan 2021-08-31 18:12:53 +02:00
  • ff5bb1f264
    Use Dvar_SetString Diavolo 2021-08-31 18:12:25 +02:00
  • 1bb3b20395
    Fix setString Diavolo 2021-08-31 16:32:57 +02:00
  • 032667e91c
    Fix setString Diavolo 2021-08-31 16:31:46 +02:00
  • 8b53ce4cfe Swap gamepad attack and throw button on dualwield weapons to make left trigger match left weapon etc Jan 2021-08-30 21:57:31 +02:00
  • a07a00da93 Fix gamepad use hold time by checking for used buttons from gentity instead of local player keys to work on dedicated servers Jan 2021-08-30 20:05:06 +02:00
  • aa3c6d79c6 Implement holding use button for activating for controllers Jan 2021-08-30 19:30:06 +02:00
  • 925eb1d0a9 Remove unused outdated xpad dvars for gamepad Jan 2021-08-30 19:29:41 +02:00
  • 2d81e51a05 Fix gamepad updating stick trying to normalize zero vectors when no gamepad input is happening Jan 2021-08-27 00:01:48 +02:00
  • e5c68247ef Gamepad Patch formatting Jan 2021-08-25 20:01:47 +02:00
  • 7ce7ba883b Add gamepad slowdown and lockon aimassists Jan 2021-08-25 19:59:55 +02:00
  • ae8dd7bb33 Rename Automelee that was mistakenly named autoaim Jan 2021-08-25 19:42:41 +02:00
  • ff86a19cc3 Fix gamepad release compiling Jan 2021-08-24 18:09:06 +02:00
  • e2552f1aeb Add remote control (predator) controls for gamepad Jan 2021-08-24 17:55:09 +02:00
  • 8adea24d67 Add gamepad location selection support Jan 2021-08-24 17:20:52 +02:00
  • fea24a509a Remove button float value from gamepad plus(+) binds since basegame doesnt make use of it Jan 2021-08-24 12:04:34 +02:00
  • edf060bd4a Remove unused gamepad fields Jan 2021-08-24 11:48:04 +02:00
  • eaa6e6fb8c Swap kbm keybinds for gamepad commands when trying to displayed localized button string and using controller Jan 2021-08-24 11:37:53 +02:00