Commit Graph

2769 Commits

Author SHA1 Message Date
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
9ff6747c5a
Define dvar_type as a char 2021-08-29 22:40:55 +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
62cc1fff78
[Dvar] Make flag enum unsigned 2021-08-29 17:51:50 +02:00
Diavolo
89165a96b4
[Dvar] Use set raw method on dvars by default 2021-08-29 17:41:21 +02:00
dependabot[bot]
d54267bd76
Bump deps/libtomcrypt from 1937f41 to 673f5ce
Bumps [deps/libtomcrypt](https://github.com/libtom/libtomcrypt) from `1937f41` to `673f5ce`.
- [Release notes](https://github.com/libtom/libtomcrypt/releases)
- [Commits](1937f41260...673f5ce290)

---
updated-dependencies:
- dependency-name: deps/libtomcrypt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:50:04 +00:00
dependabot[bot]
dbab1f1532
Bump deps/json11 from e2e3a11 to 2df9473
Bumps [deps/json11](https://github.com/dropbox/json11) from `e2e3a11` to `2df9473`.
- [Release notes](https://github.com/dropbox/json11/releases)
- [Commits](e2e3a11e99...2df9473fb3)

---
updated-dependencies:
- dependency-name: deps/json11
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:50:02 +00:00
dependabot[bot]
02d2eb31fa
Bump deps/protobuf from 63cfdaf to df2bce3
Bumps [deps/protobuf](https://github.com/google/protobuf) from `63cfdaf` to `df2bce3`.
- [Release notes](https://github.com/google/protobuf/releases)
- [Commits](63cfdafacb...df2bce345d)

---
updated-dependencies:
- dependency-name: deps/protobuf
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:49:59 +00:00
dependabot[bot]
2292a265d9
Bump deps/pdcurses from 618e0aa to 4bc97e2
Bumps [deps/pdcurses](https://github.com/wmcbrine/PDCurses) from `618e0aa` to `4bc97e2`.
- [Release notes](https://github.com/wmcbrine/PDCurses/releases)
- [Commits](618e0aaa31...4bc97e287b)

---
updated-dependencies:
- dependency-name: deps/pdcurses
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:49:54 +00:00
dependabot[bot]
0149cd792d
Bump deps/zlib from d71dc66 to c3f3043
Bumps [deps/zlib](https://github.com/madler/zlib) from `d71dc66` to `c3f3043`.
- [Release notes](https://github.com/madler/zlib/releases)
- [Commits](d71dc66fa8...c3f3043f7a)

---
updated-dependencies:
- dependency-name: deps/zlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:49:52 +00:00
dependabot[bot]
32925a31d5
Bump deps/libtommath from 6ac0b0c to eda0bd6
Bumps [deps/libtommath](https://github.com/libtom/libtommath) from `6ac0b0c` to `eda0bd6`.
- [Release notes](https://github.com/libtom/libtommath/releases)
- [Commits](6ac0b0c1b6...eda0bd6ae5)

---
updated-dependencies:
- dependency-name: deps/libtommath
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-28 21:49:50 +00:00
Dss0
14dc718ef2
Merge pull request #116 from diamante0018/no-anti-cheat
Disable anticheatby default
2021-08-28 23:49:42 +02:00
Dss0
45b5161c01
Merge pull request #115 from diamante0018/dependa
Add dependabot
2021-08-28 23:49:27 +02:00
Diavolo
99db8db0f2
Attempt to remove dep 2021-08-28 22:53:06 +02:00
Diavolo
01f8f36e30
Disable anticheat for good 2021-08-28 22:33:14 +02:00
Diavolo
ebebaf173c
Add contents to file 2021-08-28 22:21:18 +02:00
Diavolo
3b6b5b1136
Dependabot 2021-08-28 22:20:04 +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