Commit Graph

1843 Commits

Author SHA1 Message Date
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
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
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
Jan
9a9d2cd058 Fix disabling gamepad not blocking all gamepad inputs 2021-08-31 18:12:53 +02:00
Diavolo
ff5bb1f264
Use Dvar_SetString 2021-08-31 18:12:25 +02:00
Diavolo
032667e91c
Fix setString 2021-08-31 16:31:46 +02:00
Jan
8b53ce4cfe Swap gamepad attack and throw button on dualwield weapons to make left trigger match left weapon etc 2021-08-30 21:57:31 +02:00
Jan
a07a00da93 Fix gamepad use hold time by checking for used buttons from gentity instead of local player keys to work on dedicated servers 2021-08-30 20:05:06 +02:00
Jan
aa3c6d79c6 Implement holding use button for activating for controllers 2021-08-30 19:30:06 +02:00
Jan
925eb1d0a9 Remove unused outdated xpad dvars for gamepad 2021-08-30 19:29:41 +02:00
Jan
2d81e51a05 Fix gamepad updating stick trying to normalize zero vectors when no gamepad input is happening 2021-08-30 16:09:52 +02:00
Jan
e5c68247ef Gamepad Patch formatting 2021-08-30 16:09:52 +02:00
Jan
7ce7ba883b Add gamepad slowdown and lockon aimassists 2021-08-30 16:09:52 +02:00
Jan
ae8dd7bb33 Rename Automelee that was mistakenly named autoaim 2021-08-30 16:09:52 +02:00
Jan
ff86a19cc3 Fix gamepad release compiling 2021-08-30 16:09:52 +02:00
Jan
e2552f1aeb Add remote control (predator) controls for gamepad 2021-08-30 16:09:52 +02:00
Jan
8adea24d67 Add gamepad location selection support 2021-08-30 16:09:52 +02:00
Jan
fea24a509a Remove button float value from gamepad plus(+) binds since basegame doesnt make use of it 2021-08-30 16:09:52 +02:00
Jan
edf060bd4a Remove unused gamepad fields 2021-08-30 16:09:51 +02:00
Jan
eaa6e6fb8c Swap kbm keybinds for gamepad commands when trying to displayed localized button string and using controller 2021-08-30 16:09:51 +02:00
Jan
2c3bfbe62a Retrieve gamepad dvars on creating dvars instead of referencing them by name 2021-08-30 16:09:51 +02:00
Jan
30c90e5985 Set mouse as used when mouse is moved instead of disabling it when gamepad is in use 2021-08-30 16:09:51 +02:00
Jan
e49e17d6e6 Add turnrates for controllers 2021-08-30 16:09:51 +02:00
Jan
ac1ade1976 Fix release mode issues with R_TextWidth_Hk 2021-08-30 16:09:51 +02:00
Jan
6043dabc3c Apply gamepad axis rotation to usercmds 2021-08-30 16:09:51 +02:00
Jan
6434526fcb Disable mouse cursor when controller is active 2021-08-30 16:09:51 +02:00
Jan
cc9a2b0bac Make dvar set methods also set the latched values 2021-08-30 16:09:51 +02:00
Jan
b3e5f461f2 Add gpad_in_use dvar that reflects whether a gamepad is currently being used 2021-08-30 16:09:51 +02:00
Jan
feef738c61 Make all material text icons (Hud icons) have white tint so they are not affected by color codes 2021-08-30 16:09:51 +02:00
Jan
05861a0df4 Draw only gamepad buttons when gamepad is in use 2021-08-30 16:09:51 +02:00
Jan
8b43ba490c Fix width calculation errors in R_TextWidth reimplementation 2021-08-30 16:09:51 +02:00
Jan
885f5c4688 Add localized button names for gamepad keys 2021-08-30 16:09:51 +02:00
Jan
57e305277b Consider material text icons when calculating text width 2021-08-30 16:09:51 +02:00
Jan
0875a87e26 Add commands for applying gamepad stick and button configurations 2021-08-30 16:09:51 +02:00
Jan
8cd99235c0 Write gamepad axis configuration to config file 2021-08-30 16:09:51 +02:00
Jan
dcbb120de1 Fix menu controller support taking keypad keys instead of normal keys 2021-08-30 16:09:51 +02:00
Jan
9b4a48f2c3 Implement menu navigation using gamepad 2021-08-30 16:09:51 +02:00
Jan
b6d7abdcd4 Execute gamepad keybinds 2021-08-30 16:09:51 +02:00
Jan
6d598df56d Add binding commands to keys for controllers 2021-08-30 16:09:51 +02:00
Jan
2decfa2c45 Apply patches important for dedicated servers as well in any case 2021-08-30 16:09:51 +02:00
Jan
ea8c35e063 Reformatted gamepad patch 2021-08-30 16:09:51 +02:00
Jan
d4d1520f65 Implement cod native controller support like xinput value retrieval 2021-08-30 16:09:51 +02:00
Jan
64fdd04343 Rename XInput patch to Gamepad 2021-08-30 16:08:48 +02:00
Diavolo
5db5f707a9
Remove name check 2021-08-29 22:13:03 +02:00
Diavolo
9a1ab2c660
Check for dvar type 2021-08-29 22:09:45 +02:00
Diavolo
89165a96b4
[Dvar] Use set raw method on dvars by default 2021-08-29 17:41:21 +02:00
Diavolo
01f8f36e30
Disable anticheat for good 2021-08-28 22:33:14 +02:00
Dss0
52748b4cbe
Merge pull request #113 from Laupetin/fix/2d-material-text-icons
Fix 2d material text icons
2021-08-21 13:22:18 +02:00
Jan
aaace9db35 Do not only strip material text icons from server names but for all server attributes that are displayed in the server list 2021-08-21 12:35:32 +02:00
Dss0
002dfa77c4
Merge pull request #114 from Laupetin/fix/invalid-playercounts
Ignore servers in serverlist that specify an invalid player count
2021-08-21 12:07:49 +02:00
Jan
d44039e82e Ignore servers in serverlist that specify an invalid player count 2021-08-21 00:18:34 +02:00
Jan
f3c2b999eb Strip material text messages from server names 2021-08-20 18:50:57 +02:00
Jan
a7a8207a34 Strip material text icons from chat messages 2021-08-20 18:50:53 +02:00
Jan
e84e0774a6 Fix material text icons with some techsets causing issues when rendering 2021-08-20 18:49:09 +02:00
Diavolo
933f00017f
Add space after push 2021-08-19 17:28:22 +02:00
Diavolo
0b85b4cefc
Order of names 2021-08-19 12:04:49 +02:00
Diavolo
fc73f4cd65
Fix style and slowmoStub 2021-08-19 11:45:40 +02:00
Dss0
e43206fbcc
Merge pull request #108 from Rackover/sound_mutex_fix_fix
Fix sound mutex fix
2021-08-16 21:24:39 +02:00
Dss0
44eded4e6d
Merge pull request #109 from Rackover/0_6_2_prep
Added DLC#9 (Classics pack 3)
2021-08-16 21:24:08 +02:00
Louvenarde
89254936e4 Whoops 2021-08-16 18:53:52 +02:00
Louvenarde
af9bb8b805 Added DLC#9 (Classics pack 3) 2021-08-16 18:53:33 +02:00
Dss0
1888e4c357
Merge pull request #107 from zweeej/SetSlowMotion-fix
slowmofix
2021-08-16 16:06:49 +02:00
zweej
ed62d96690 SetSlowMotion Fix #2 2021-08-16 02:01:21 +02:00
Louvenarde
f8c177085c Address review, clean up code 2021-08-15 14:10:13 +02:00
zweej
de0b8adc82 slowmofix 2021-08-15 00:10:42 +02:00
Louvenarde
0f8acb940e Better dvar handling 2021-08-14 13:51:22 +02:00
Louvenarde
cbfdde2029 Slight refactor, tweaked the acceleration value and deadzones a little bit 2021-08-14 10:38:00 +02:00
Louvenarde
ea926dfe67 Merge branch 'develop_official' into feature/xinput 2021-08-14 00:36:42 +02:00
Louvenarde
8e4c102984 Sound mutex workaround 2021-08-14 00:27:19 +02:00
Jan
99b5da72f6 Fix codol dynentity patch not respecting that the return type should be BOOL so 32bit instead of bool 8bit 2021-08-03 21:36:57 +02:00
Dss0
a52f2e9f32
Merge pull request #101 from Rackover/colordblind_team_colors
colorblind friendly team colors!
2021-08-01 18:01:26 +02:00
Diavolo
320412551b
Added comments 2021-08-01 14:31:32 +02:00
Diavolo
1bd4bcba05
Color dvar 2021-08-01 14:22:42 +02:00
Diavolo
a5680fdc61
Color dvar 2021-08-01 13:30:11 +02:00
Diavolo
b9087698df
forgot about alpha value 2021-08-01 10:39:40 +02:00
Diavolo
de0c3b2762
Color blind dvars 2021-08-01 10:35:59 +02:00
Diavolo
7d8f01b223
The game does not display this character 2021-07-31 19:31:37 +02:00
Diavolo
e2d3f0aa35
Finally a working stub 2021-07-31 19:28:08 +02:00
Diavolo
a3d9c9bd75
Remove asm instruction I shamelessly copied 2021-07-29 10:47:16 +02:00
Diavolo
8b4f177fcc
Minor 2021-07-29 10:11:27 +02:00
Diavolo
22f33921b6
Use push ecx is not destroyed 2021-07-28 21:44:17 +02:00
Diavolo
4db1c1b0a9
Remove function again 2021-07-28 19:15:47 +02:00
Louvenarde
2dd703c037 Another zones::version specific to the map 2021-07-28 18:49:39 +02:00
Louve
9de63a3772
Merge branch 'develop' into skip_specops_entities 2021-07-28 18:32:45 +02:00
Edoardo Sanguineti
e025f3420e
Removed unnecessary spaces 2021-07-28 14:57:13 +02:00
Diavolo
b728729ceb
Correct one mistake 2021-07-28 14:40:43 +02:00
Diavolo
ecf44c8580
Jump hook 2021-07-28 13:48:46 +02:00
Diavolo
ff50ecfddf
2 2021-07-28 09:35:21 +02:00
Diavolo
86a2159c17
Color dvar 2021-07-28 09:33:49 +02:00
Louvenarde
234c58161e colorblind friendly team colors! 2021-07-28 01:07:27 +02:00