Commit Graph

75 Commits

Author SHA1 Message Date
Edo
558bf09338
[ClientCommand] Add give command
Just for weapons for now
2022-06-04 19:59:52 +02:00
Jan
59fc6d7ff9 Initialize key indices like game does when looking up key bindings 2022-05-15 10:07:27 +02:00
Jan
c0b2ca0813 Fix knife charge not working anymore with gamepad patch enabled 2022-05-07 14:26:32 +02:00
Jan
f9bfb0b883 replace spaces with tabs in gamepad patch 2022-05-05 21:42:15 +02:00
Jan
13911fcb62 Whenever a gamepad button is rebound with a menu bind field, set the button config to custom so gamepad config shows a changed button layout 2022-05-05 21:36:27 +02:00
Jan
41c652ed36 Fix not being able to assign gamepad keys in bind menu fields 2022-05-05 21:24:25 +02:00
Jan
20d17a3dec Mark Gamepad OnMouseMove parameters as maybe unused 2022-05-04 20:29:02 +02:00
Jan
4af77130df Fix RawMouse patch making gamepad mouse move hook not getting called 2022-05-04 20:24:37 +02:00
Jan
378ef7ec60 Update gamepad patch dvar flags 2022-05-04 17:47:50 +02:00
FutureRave
12b292a43b
[Gamepad] Fix format 2022-05-03 16:59:51 +01:00
FutureRave
c8064d5a7d
[Gamepad] Fix hook conflitcs 2022-05-03 16:50:27 +01:00
Diavolo
215c5b269a
[Bots] Make requested changes by ineedbots 2022-04-14 18:04:34 +02:00
Edo
fad1071f54
Merge branch 'develop' into fix-dvars 2022-03-21 22:35:18 +00:00
FutureRave
a41d7356cc
Refactor command (changes from s1x) 2022-03-17 18:50:20 +00:00
FutureRave
21f0fe8c5e
Fix dvar flags & various dvar improvements 2022-03-08 12:20:28 +00:00
Dss0
f4ba792dc3
Merge pull request #192 from diamante0018/refactor-iso-core-guidelines
ISO Core guidelines
2022-02-27 14:10:31 +01:00
FutureRave
c54981c6df
ISO Core guidelines 2022-02-27 12:53:44 +00:00
Dss0
520fa6be43
Merge pull request #183 from diamante0018/fix-gamepad-vars
Fix gamepad vars
2022-02-20 02:13:29 +01:00
Dss0
01acf3e51a
Merge pull request #158 from diamante0018/refactor-movement
[Movement] Refactor+ features
2022-02-14 16:41:00 +01:00
Edo
9200eff483
Merge branch 'develop' into fix-cbuf 2022-02-07 13:31:29 +01:00
FutureRave
61becec5f8
Fix cbuf not being terminated 2022-02-07 12:28:17 +00:00
Edo
50c5793432
Merge branch 'develop' into refactor-movement 2022-02-05 17:27:22 +01:00
Diavolo
39f2f4ff62
Fix gamepad vars 2022-02-03 12:44:35 +01:00
FutureRave
d7d8949d2a
Use newly added flag 2022-01-14 19:42:03 +00:00
FutureRave
2785343eac
document player state flags in gamepad module 2022-01-12 17:48:20 +00:00
Jan
c22abf2791 Swap between playstation and xbox buttons depending on the style dvar 2021-10-16 22:20:12 +02:00
Chase
3b00c823d5
Update Gamepad.cpp 2021-10-16 12:40:07 -05:00
Jan
737fab1642 Fix gamepad hold x to pickup only being applied to non dedi 2021-10-09 01:57:52 +02:00
Jan
8ef991f81f Move standard header include to precompiled header
- Im getting forced to do this help
2021-09-11 17:54:50 +02:00
Jan
c0a1a99d8b Add comments to gamepad patch to explain commented out code and magic flag numbers 2021-09-11 17:49:58 +02:00
Jan
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
2021-09-11 16:34:04 +02:00
Jan
966d7c23f3 Fix gamepad slowdown aimassist mask to fix slowdown not being active when having scrambler perk equipped 2021-09-10 13:19:08 +02:00
Jan
8ca84eb882 Replace runtime critical usages of Dvar::set with Dvar::setRaw in gamepad patch 2021-09-10 11:41:44 +02:00
Diavolo
e8185a27b9
Fixed compilation 2021-09-10 11:35:15 +02:00
Diavolo
906e33ac41
Some minor style changes 2021-09-10 09:43:04 +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
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
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
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