Commit Graph

1952 Commits

Author SHA1 Message Date
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
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
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