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
Chase
9897f399a5
Update Gamepad.hpp
2021-10-16 12:39:25 -05:00
Jan
b25787ec68
Merge pull request #137 from diamante0018/feature/no-clip-and-ufo
...
[Script] Add ufo and noclip function
2021-10-16 18:53:21 +02:00
FutureRave
4d2356f824
[Script] Add optional toggle parameter to ufo/noclip
2021-10-16 17:44:22 +01:00
FutureRave
eda10589a1
[Script] Make MAX_GENTITIES unsigned
2021-10-16 13:51:57 +01:00
FutureRave
4a40a89e70
[Script] Add ufo and noclip function
2021-10-16 13:36:29 +01:00
Dss0
058946b824
Merge pull request #135 from Laupetin/fix/gamepad-pick-up-hold-x
...
Fix gamepad hold x to pickup only being applied to non dedi
2021-10-09 02:05:09 +02:00
Jan
737fab1642
Fix gamepad hold x to pickup only being applied to non dedi
2021-10-09 01:57:52 +02:00
Dss0
3cbe6e820c
Merge pull request #133 from XLabsProject/dependabot/submodules/deps/libtommath-8355b88
...
Bump deps/libtommath from `eda0bd6` to `8355b88`
2021-09-24 16:13:31 +02:00
Louve
5e52289b03
Merge pull request #130 from Laupetin/feature/fonticons
...
Fonticons for 2D text rendering
2021-09-23 22:50:38 +02:00
Jan
70bc28ee7b
Rewrite fonticon localized string caching to fix strings being reallocated
2021-09-22 22:50:22 +02:00
Jan
e70b329614
Add support for applying the autocomplete for fonticons with the enter key
...
- This also closes the fonticon sequence
2021-09-21 22:08:12 +02:00
Jan
256c96d413
Make the console escape key handling support the fonticon autocomplete
2021-09-21 22:07:30 +02:00
Jan
93d28c3644
Make ESC key close the console instead of only closing the console autocomplete
2021-09-21 22:04:19 +02:00
Jan
afc097b432
Use localized strings for fonticon autocompletion
2021-09-21 20:05:30 +02:00
dependabot[bot]
31fdbecd7d
Bump deps/libtommath from eda0bd6
to 8355b88
...
Bumps [deps/libtommath](https://github.com/libtom/libtommath ) from `eda0bd6` to `8355b88`.
- [Release notes](https://github.com/libtom/libtommath/releases )
- [Commits](eda0bd6ae5...8355b88db0
)
---
updated-dependencies:
- dependency-name: deps/libtommath
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-21 17:27:23 +00:00
Jan
de107be4e0
Code clearity improvements to Fonticons patch
2021-09-20 20:40:42 +02:00
Jan
a9fa476133
Replace usages of INT_MAX with std::numeric_limits in Fonticons patch
2021-09-20 20:40:23 +02:00
Jan
41e3acb833
Replace fonticon literal characters for modifiers and separators with constants
2021-09-20 20:29:32 +02:00
Jan
b8b8608a3d
FontIcon tabs vs spaces stuff
2021-09-20 18:21:38 +02:00
Jan
b36df5130b
Change logic that splits chat messages with new lines to support fonticons properly
2021-09-19 15:49:12 +02:00
Jan
624daa858e
Move Dedicated patches related to chat to new Chat component
2021-09-19 13:13:46 +02:00
Louve
1f148986fd
Merge pull request #125 from Rackover/fix_wrong_assets_on_ported_maps
...
Allow loading assets from disk even if they're already in memory
2021-09-16 10:32:17 +02:00
Dss0
a22eac5c46
Merge pull request #129 from diamante0018/netchan/fix-2
...
[Network] Check for invalid reliableAcknowledge
2021-09-13 23:34:34 +02:00
Diavolo
4f1e68a285
Address comments from review #1
2021-09-13 21:36:48 +02:00
Diavolo
5c3ea03ee9
Added scriptID to client_t (see 0x46108b)
2021-09-13 10:57:06 +02:00
Diavolo
791e4129b9
Reversed more client_t struct for good mesure
2021-09-12 21:48:45 +02:00
Louvenarde
e83ed92ca9
Added missing carentan DLC
2021-09-12 20:36:42 +02:00
Louvenarde
fad010cee8
Merge branch 'develop_official' into fix_wrong_assets_on_ported_maps
2021-09-12 18:21:19 +02:00
Diavolo
6d50778ee5
Remove 'greater than 0xFF' check, game already checks
2021-09-12 17:37:02 +02:00
Diavolo
07f15acab0
Properly kick player from the server using net cmd
2021-09-12 16:38:24 +02:00
Diavolo
414d56adc3
Replace 0xFF with 255 for consistency
2021-09-12 16:38:10 +02:00
Diavolo
eba1762fd0
Add fields to client_t structs, might be useful
2021-09-12 16:37:52 +02:00
Diavolo
3f726d3d0d
Initial Hooking of functions
2021-09-12 16:37:41 +02:00
Jan
fa40711ee8
Remove unused hud icon drawing patches from Material component
2021-09-12 15:46:47 +02:00
Jan
539b70d38b
Draw Hud icons white by default
2021-09-12 15:46:24 +02:00
Jan
9ef0948e5d
Remove outdated TextWidth patch from Gamepad patch
2021-09-12 15:19:07 +02:00
Jan
46a7dcdb48
Merge branch 'develop' into feature/fonticons
...
# Conflicts:
# src/Components/Loader.cpp
# src/Components/Modules/Colors.cpp
# src/Components/Modules/Colors.hpp
# src/Game/Functions.cpp
# src/Game/Functions.hpp
# src/Game/Structs.hpp
2021-09-12 15:09:36 +02:00
Jan
2ed973c1dd
Merge pull request #75 from Rackover/feature/xinput
...
XInput native support
2021-09-11 21:20:20 +02:00
Diavolo
c824fe31e2
[Dvar] Found another assert failed trigger
2021-09-11 20:38:22 +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
d96780a88e
Add handling of zero length vector to normalization methods
...
- Avoids having division by zero
2021-09-11 17:49:32 +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
f17cde2791
Load fonticons from csv and alphabetically sort them
2021-09-10 21:07:45 +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
da669cccc0
Fix maps component using integer values for setting bool dvars
2021-09-10 12:40:53 +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
Jan
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
2021-09-10 11:40:30 +02:00