Commit Graph

332 Commits

Author SHA1 Message Date
Diavolo
2251319b81
Rocket jumps 2022-02-05 17:24:59 +01:00
Diavolo
39f2f4ff62
Fix gamepad vars 2022-02-03 12:44:35 +01:00
Diavolo
28a338e725
Style 💄 2022-02-02 10:08:59 +01:00
Diavolo
4e4179e27d Merge branch 'refactor-scripts-stuff' of https://github.com/diamante0018/iw4x-client into refactor-scripts-stuff 2022-02-01 21:51:57 +01:00
Diavolo
bf11b6bb9e
More cleanup 2022-02-01 21:51:17 +01:00
Edo
ac66040452
Merge branch 'develop' into refactor-scripts-stuff 2022-02-01 15:25:54 +01:00
FutureRave
d7a2b1aae7
Address more 2022-01-24 02:00:30 +00:00
FutureRave
ac7cd528a1
Forgot to export the lock 🔒 2022-01-19 19:41:35 +00:00
FutureRave
93cb764c23
🔒 Used the wrong locks 🔒 2022-01-19 19:32:49 +00:00
FutureRave
d756e8626b
Reorder functions in the files 2022-01-18 16:24:52 +00:00
Edo
29a929eee0
Merge branch 'develop' into insanely-fast-crit-sections 2022-01-18 11:18:51 +00:00
FutureRave
7a33fe42e8
🚨 Fix DB_EnumXAssetEntries 2022-01-18 11:10:53 +00:00
FutureRave
805be6bb01
hook runtimerror for the win 2022-01-16 17:25:51 +00:00
FutureRave
5231077b95
Fix other keks + add scr_addbool for good mesure 2022-01-15 19:18:15 +00:00
Diavolo
c833a57508
Set debugcode to true if we are developers 2022-01-08 12:52:05 +01:00
Diavolo
77c2043006
Refactor script related funcs/modules 2022-01-07 22:00:44 +01:00
Diavolo
687e3d6e27 Refactor movement. 2022-01-07 12:24:29 +01:00
Diavolo
57d598617c
Mute player's chat feature 2022-01-01 14:08:02 +01:00
Diavolo
8736983c46
Refactor elevators 2021-12-22 16:25:58 +01:00
Louve
3fdadb45a5
Merge pull request #134 from diamante0018/feature/reset-dvars
[Dvar] Reset dvars changed by server when disconnecting
2021-12-13 22:42:50 +01:00
FutureRave
86f0242a3d
Reimplement clientcommand like in debug builds 2021-12-09 12:01:37 +00:00
FutureRave
69592a5656
Use .cfg over unordered map 2021-12-04 18:34:19 +00:00
Dss0
e68c402095
Merge pull request #145 from diamante0018/refactor-logger-error
[Logger] Use correct enum over numbers for com_error
2021-11-30 14:42:50 +01:00
Dss0
5d72ee29a3
Merge pull request #144 from diamante0018/feature/replace-func
[Script] Add ReplaceFunc Game Script Function
2021-11-18 00:35:19 +01:00
FutureRave
f0687f8203
Use correct enum over numbers for com_error 2021-11-16 16:56:13 +00:00
FutureRave
f101dbadec
[Script] Improve structs, add extra checks 2021-11-13 18:51:37 +00:00
FutureRave
8cd3f2cad4
[Script] Add replaceFun 2021-11-13 13:15:27 +00:00
Dss0
ff2b109aa2
Merge pull request #143 from diamante0018/quick-patch-refactor-2
[QuickPatch] Quick Refactor
2021-11-11 17:57:21 +01:00
FutureRave
f6c973bc76
Make DvarRegisterEnum accept const char** 2021-11-11 16:47:42 +00: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
FutureRave
d948024895
Using new asm wrapper made by laupetin 2021-10-04 21:03:56 +01:00
FutureRave
133d1b43d8
New asm wrapper 2021-10-04 19:11:37 +01:00
Diavolo
7e92887ad9
set variant wrapper 2021-10-04 17:08:01 +01: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
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
Jan
b36df5130b Change logic that splits chat messages with new lines to support fonticons properly 2021-09-19 15:49:12 +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
eba1762fd0 Add fields to client_t structs, might be useful 2021-09-12 16:37:52 +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
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
Diavolo
906e33ac41
Some minor style changes 2021-09-10 09:43:04 +02:00
Edo
035b7f19d9
Merge branch 'develop' into feature/xinput 2021-09-09 10:39:59 +02:00
Jan
5b93848ace Add support for animated icons as fonticons 2021-09-08 16:44:39 +02:00
Jan
cdf81b8ce2 Make fonticon autocorrect use chat font and scale 2021-09-08 15:53:05 +02:00
Jan
68acf467b1 Add fonticon autocompletion inputs and improve rendering 2021-09-08 13:18:28 +02:00
Jan
7b70a1c62c Add fonticon autocomplete for chat 2021-09-08 01:53:25 +02:00
Jan
6e0586a335 Add console fonticon autocomplete 2021-09-08 00:40:52 +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
Diavolo
3cb8d31571
Removed unused functions 2021-09-03 10:41:23 +02:00
Diavolo
36a025e1d0
Use game functions to safely change dvar value 2021-09-01 23:19:44 +02:00
Diavolo
ff5bb1f264
Use Dvar_SetString 2021-08-31 18:12:25 +02:00
Diavolo
1bb3b20395
Fix setString 2021-08-31 16:32:57 +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
8adea24d67 Add gamepad location selection support 2021-08-30 16:09:52 +02:00
Jan
e49e17d6e6 Add turnrates for controllers 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
57e305277b Consider material text icons when calculating text width 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
9b4a48f2c3 Implement menu navigation using gamepad 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
Louvenarde
ea926dfe67 Merge branch 'develop_official' into feature/xinput 2021-08-14 00:36:42 +02:00
Diavolo
97032e9d46 Quit f 2021-07-18 20:51:33 +02:00
rackover
7f8995cf3e Fix all killstreaks (but thermal on ac/cg) 2021-05-09 01:24:37 +02:00
rackover
0354dd985e Reduce sensitivity when aiming down sights 2021-05-04 21:45:47 +02:00
rackover
b3adacb71d Gamepad support for menus 2021-05-04 15:47:46 +02:00
rackover
332232b88f Merge branch 'develop' of https://github.com/XLabsProject/iw4x-client into feature/xinput 2021-05-02 11:47:33 +02:00
Jan
b21e57ccc2 Add r_drawSceneModelBoundingBoxes debugging dvar to draw dobj and scene model bounding boxes 2021-04-05 17:25:49 +02:00
INeedBots
38bb745d17 [Functions] Added cgameFOVSensitivityScale 2021-01-04 01:16:31 -06:00
INeedBots
2038ba5e8b [XInput] Added buttons 2021-01-03 02:33:12 -06:00
INeedBots
198a39c3db [XInput] RJoyStick working, need to do vanilla acceleration and sensitivity 2021-01-03 00:32:58 -06:00
INeedBots
16c6d11916 [XInput] Completed analog movement on server side 2021-01-02 19:06:40 -06:00
Dss0
8d1b06203e
Merge pull request #46 from ineedbots/bot_scr
Bot GSC functions for bots pressing buttons and moving + fix for node system related crash
2020-12-05 02:41:08 +01:00
Joelrau
ebe27166f8 [Functions] Added clcState 2020-12-04 23:18:30 +02:00
INeedBots
4c4975daaf [Functions] Added G_GetWeaponIndexForName, SV_ClientThink, svs_time, Scr_Error, Scr_GetType 2020-11-14 01:06:56 -06:00
INeedBots
03f1b9938c [Functions] Added NET_DeferPacketToClient 2020-11-14 00:54:29 -06:00
Maurice Heumann
dd42a06151 [MapDump] Introduce proper map dumping 2019-12-28 14:35:00 +01:00
RektInator
530d773d49 [Zones] Added support for FF version 448, 460, 461 2019-10-02 08:08:11 +02:00
TheApadayo
8080700432 [Menus] Rewrite how menus are loaded and used to support custom menu lists 2019-01-17 16:33:26 -05:00
momo5502
4fa89722a2 [General] Use const string references 2018-12-17 15:34:28 +01:00
RektInator
b0a41328ed [General] Added VMProtect libraries (I own a license, feel free to DM), Fixed empty name vuln, Fixed javelin glitch. 2018-07-17 14:30:29 +02:00
momo5502
33a8baa9b5 [Game] Adapt to correct structures 2018-05-09 14:33:52 +02:00
momo5502
dd1308a7f9 [StringTable] Use the game's hashing function 2017-06-30 00:35:04 +02:00
momo5502
8dfbe47bc6 [Dedicated] Implement event for chat 2017-06-28 21:30:39 +02:00
momo5502
6cc4fa582a [Friends] First version of working avatars 2017-06-05 12:53:26 +02:00
momo5502
6f7ebb43b1 [Friends] Steam avatars 2017-06-05 00:00:46 +02:00
RektInator
fb6dd4a205 Merge remote-tracking branch 'refs/remotes/origin/develop' into v2features 2017-05-31 01:57:59 +02:00
RektInator
6f71a65a83 [Dedicated] Update cardtitles across clients. 2017-05-31 00:27:08 +02:00
momo5502
991056b362 [Maps] Check map hash and redownload when different 2017-05-30 21:49:13 +02:00
momo5502
f6894b46c5 [Download] Add ssl support 2017-05-15 21:57:45 +02:00
momo5502
a5a56f1e72 [Download] Implement gsc http download 2017-05-14 20:32:39 +02:00
momo5502
309e2d2987 [Script] Allow adding custom script functions 2017-05-13 12:09:58 +02:00
momo5502
2c9a051aad [ZoneBuilder] Enumerate XAssetEntries instead of logging them 2017-05-01 13:08:34 +02:00
momo5502
70d7312472 [Script] Allow 6 params for setExpFog 2017-04-29 23:08:41 +02:00
momo5502
1e617dc299 [Maps] Add model debug code 2017-04-24 21:13:54 +02:00
momo5502
d97c886ccd [General] Fix R_RegisterFont 2017-04-23 13:32:47 +02:00
momo5502
1d5df78692 [Bots] Add spawnBot command 2017-04-23 13:32:47 +02:00
momo5502
8bb3c1deca [Maps] Implement support for usermaps 2017-04-06 22:22:30 +02:00
TheApadayo
b0d4309067 [Game] Add R_DrawDebugBounds function 2017-04-05 18:36:01 -04:00
momo5502
185ea56f72 [Functions] Fix debug line 2017-03-29 16:44:05 +02:00
momo5502
3a0a5b8506 [Maps] Add dvar r_forceForwardModels for debugging 2017-03-28 14:09:24 +02:00
momo5502
845d776507 [Functions] Safer debug drawing 2017-03-28 08:57:14 +02:00
TheApadayo
0b1f28bdae [IGfxWorld] More work, some possible fixes 2017-03-27 21:25:58 -04:00
momo5502
50345ce512 [IGfxWorld] Sort world surfaces 2017-03-27 17:48:52 +02:00
momo5502
1267a4a9f3 [Stats] Optimize stat reuploading and maxlevel function 2017-02-28 11:40:53 +01:00
RektInator
451db1d986 [Stats] Playerstats reuploading initial commit 2017-02-26 01:36:37 +01:00
momo5502
ccb7c48587 [Dvar] Disallow setting cheat dvars via menus 2017-02-18 11:39:01 +01:00
momo5502
ee06e79a28 [Exception] Destroy windows and suspend threads 2017-02-10 09:50:08 +01:00
momo5502
2d828d27db [IFxEffectDef] Continue with the efx parser 2017-02-09 21:14:47 +01:00
TheApadayo
d524092944 [General] Housekeeping stuff and a NPE fix 2017-02-06 15:09:41 -05:00
momo5502
451eef2873 [Weapon] More fixes, configstring reallocation is needed though 2017-02-03 00:00:08 +01:00
momo5502
7d24aa8fe0 [Friends] Transmit rank 2017-01-29 15:10:54 +01:00
momo5502
0f91c50ffc [Friends] Correctly display the rank 2017-01-26 12:42:42 +01:00
momo5502
3150950507 [UIFeeder] Add select function and use feeder 5 for maps 2017-01-21 22:14:23 +01:00
momo5502
82e9f3864c [General] Refactor all the code
This is the actual refactoring, the last commit was broken
2017-01-20 22:41:03 +01:00
momo5502
74b34f2a6d [LineEndings] Fix them all 2017-01-19 22:55:15 +01:00
sr0
e1a4e3ec27 Remove .gitattributes file 2017-01-18 23:44:36 +01:00
/dev/root
6c9e28ff42 [LineEndings] Fix crlf lineendings
- added gitattributes file to force crlf for hpp/cpp/lua
2017-01-16 17:42:50 +01:00
momo5502
fbac207190 [FrameTime] Introduce safer frame waiting mechanism 2017-01-14 13:33:58 +01:00
momo5502
b8aa24b19d [ZoneBuilder] Add support for empty assets 2017-01-13 15:47:21 +01:00
momo5502
75158227fb [FastFiles] Introduce a new IW4x zone format 2017-01-01 16:45:30 +01:00
momo5502
f8abf2b8ec [Functions] Add Vec3UnpackUnitVec 2016-12-29 15:59:46 +01:00
momo5502
403974b9cc [Debugging] Slightly optimize iw4 reading log 2016-12-22 12:37:09 +01:00
momo5502
dc6d78187c [FileSystem] Abstract file interfaces and rawfile interface 2016-12-16 22:42:28 +01:00
momo5502
fb8958d2ea [Dedicated] Time wrapping workaround 2016-12-08 20:07:42 +01:00
momo5502
3e0beecdf5 [Functions] Optimize parse session functions 2016-12-08 20:07:42 +01:00
momo5502
dfa50dc1bb [IFxEffectDef] More preparations for fx loading 2016-12-07 21:19:06 +01:00
momo5502
107076c26a [FastFiles] Partially correct fastfile progress 2016-12-06 21:16:02 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00
momo5502
38aba91cc9 [Maps] Load raw suns 2016-12-01 21:00:09 +01:00
/dev/root
124e86387b [General] Fixed line endings
- converted all line endings in cpp/hpp files to dos
2016-11-25 13:00:48 +01:00
/dev/root
e8a5e164fc [Command] Implemented setviewpos 2016-11-22 23:25:56 +01:00
momo5502
45200eba58 [Localization] Load language specific files 2016-11-17 18:17:25 +01:00
momo5502
2d5094e7b4 Fix db rawfile access 2016-11-05 00:34:09 +01:00
momo5502
6cf28b4170 Playlist and zone fixes 2016-11-02 19:19:09 +01:00
momo5502
11ace37f2e Allow long mapnames in playlist 2016-11-02 18:44:20 +01:00
momo5502
69c454a3fa Fix zm_prototype_sh 2016-11-01 20:04:06 +01:00
momo5502
4c2f128e97 Fix glass and maptest 2016-10-31 16:49:45 +01:00
momo5502
64f80a21be Slowmotion stuff. Seems like it has no effect.... 2016-10-22 01:14:00 +02:00
momo5502
b606983835 Add @Dasfonia's menu and gametype stuff 2016-10-17 20:42:15 +02:00
momo5502
ad18adc187 Fix techniques (ZoneBuilder) and fully dump gfxworlds with enable-dxsdk flag 2016-10-09 12:02:17 +02:00
momo5502
f96973f439 Some zone stuff 2016-10-07 17:50:30 +02:00
momo5502
b3c0487797 Fix connect protocol 2016-10-03 01:36:18 +02:00
momo5502
080f9b3599 359 zone stuff, (360 seems to work as well, as an old shipment copy i have on my hdd loads, i just don't have the iwds), gfx world still broken, might be possible to fix! 2016-10-02 04:07:48 +02:00
momo5502
b48df26c14 Fixes and stuff 2016-10-01 16:48:18 +02:00
momo5502
ac258b5ad9 Add support for new maps, add the dump command for @Dasfonia 2016-10-01 15:39:21 +02:00