Commit Graph

2748 Commits

Author SHA1 Message Date
Edo
144978e758
Merge branch 'develop' into branding 2022-05-03 11:04:29 +01:00
m
e63132b29b changes 2022-05-03 04:10:48 -05:00
Edo
6f057d3af7
Merge pull request #230 from GEEKiDoS/develop
Add RawMouse Compoment
2022-05-03 09:27:25 +01:00
m
00ac17c901 remove useless dvar fetching 2022-05-03 02:01:54 -05:00
m
4e234e88ef allow storing of nodes whenever 2022-05-03 01:55:30 -05:00
m
000ad98408 title for toast 2022-05-03 01:40:24 -05:00
m
a0345bcdbe don't refresh browser on updating filter...
... because this only causes a refresh if there are no servers to even begin with and the chance of that happening is kinda slim if we catch servers really fast. this also prevents 2 calls to Refresh right as you open a empty server browser. 😛
2022-05-03 01:38:51 -05:00
m
102e8862f2 fix stutter, use node as fallback, add toasts 2022-05-03 01:34:57 -05:00
m
44090244bc use X Labs master server, node fallback 2022-05-03 00:17:31 -05:00
GEEKiDoS
64103044df Fetch hWnd from Window::GetWindow() 2022-05-03 10:32:15 +08:00
GEEKiDoS
1b6a852d07 Change dvar description, static_assert size, style fix 2022-05-03 10:11:02 +08:00
FutureRave
299eb11e1c
[Movement] Fix format 2022-05-02 19:36:50 +01:00
FutureRave
2b68f47d86
[Movement] Fix bug 2022-05-02 19:34:26 +01:00
GEEKiDoS
2d79f10b37 Static class member name style fix 2022-04-30 02:02:27 +08:00
GEEKiDoS
c2c62cd72e Style fixes 2022-04-30 01:42:47 +08:00
GEEKiDoS
237a89fa71 Finish RawMouse component, also enable dpi awareness for game window; 2022-04-29 22:26:14 +08:00
LittleC
08d658644e Add RawMouse Compoment 2022-04-29 16:56:51 +08:00
FutureRave
8123e21767
Reverse flag 2022-04-28 14:25:53 +01:00
FutureRave
ab06edf44d
Expose entity and client flags to GSC 2022-04-28 13:03:22 +01:00
Diavolo
0955d451cd
Fix color 2022-04-21 20:37:14 +02:00
Dss0
1f5253ad2a
Merge pull request #220 from diamante0018/security-patches
Put security patches in their module
2022-04-19 16:24:40 +02:00
Diavolo
0b57d35aac
Create Security module for sec related patches 2022-04-19 15:26:29 +02:00
Diavolo
b99ad565bb
Cleanup code a bit 2022-04-16 17:11:08 +02:00
Dss0
f737b1be58
Merge pull request #226 from diamante0018/logger
Logger improvements
2022-04-16 14:58:58 +02:00
Diavolo
f71946a56b
Logger improvements 2022-04-16 10:01:25 +02:00
Diavolo
790b75e186
Clean up Premake5.lua 2022-04-15 18:17:20 +02:00
Edo
653760952c
Merge branch 'develop' into branding 2022-04-15 14:50:58 +02:00
Diavolo
8a770985d6
Add branding component 2022-04-15 14:50:22 +02:00
Dss0
33dae74500
Merge pull request #223 from diamante0018/level-local
Add level struct for simpler referencing
2022-04-15 13:31:36 +02:00
Dss0
48e8e62a3b
Merge pull request #224 from diamante0018/remove-ac
Remove anticheat
2022-04-15 13:31:12 +02:00
Diavolo
0098359b93
Add level struct for simpler referencing 2022-04-15 12:16:12 +02:00
Diavolo
16f180d08d
Remove anticheat (Gone FNAF) 2022-04-15 11:16:22 +02:00
Louve
82df689be4
Merge pull request #222 from diamante0018/remove-vm
Remove VMProtect from project
2022-04-15 10:44:37 +02:00
Diavolo
8bae77a8f6
Remove VMProtect from project 2022-04-14 22:24:37 +02:00
Dss0
d3da21bd2d
Merge pull request #221 from diamante0018/bots-req-changes
[Bots] Make requested changes by ineedbots
2022-04-14 18:43:30 +02:00
Diavolo
215c5b269a
[Bots] Make requested changes by ineedbots 2022-04-14 18:04:34 +02:00
Diavolo
0e5af0f514
Avoid some bad dvar look ups per frame 2022-04-12 23:15:50 +02:00
Diavolo
f9c40233d1
Add client dev commands & more 2022-04-12 14:34:51 +02:00
Diavolo
bd19102eb7
FIx header 2022-04-10 15:12:01 +02:00
Diavolo
17059c9ca3
Case insentive comparison like the game does :/ 2022-04-10 15:02:25 +02:00
Diavolo
0f1c2c0195
Oops moment 2022-04-10 14:37:04 +02:00
Diavolo
d18a576ba2
Address some warnings 2022-04-10 14:13:32 +02:00
Edo
fa25cb25a1
Merge branch 'develop' into scr-method-function 2022-04-10 14:03:35 +02:00
Diavolo
79d4aca33d
Add some more utils funcs 2022-04-10 14:00:55 +02:00
Dss0
689ea11a20
Merge pull request #217 from diamante0018/string-funcs
[String] Port changes from S1x
2022-04-10 13:13:00 +02:00
Diavolo
5f5f082fdf
[String] Port changes from S1x 2022-04-10 04:08:47 +02:00
Dss0
d2602f2f79
Merge pull request #215 from diamante0018/fix-pm-func
Fix PM_IsAdsAllowed stub
2022-04-09 23:36:37 +02:00
Diavolo
25a84bdb0a
Reorder the static_cast(s) 2022-04-09 20:49:35 +02:00
Diavolo
f343b2da3f
Add scr_toupper 2022-04-09 18:27:18 +02:00
Diavolo
7f08cb053d
Merge scr branch 2022-04-09 17:53:29 +02:00
Edo
771d8a025d
[Bots] Update comment
Remove reference to bot warfare as any mod could use this API.
(100% Last Commit) (No Tax Evasion was committed)
2022-04-09 16:54:54 +02:00
Diavolo
6b9e36b3b7
Address review 2022-04-09 16:29:58 +02:00
Diavolo
c218aa89ec
Better stub for PM_IsAdsAllowed 2022-04-09 14:29:58 +02:00
Diavolo
85168bb94c
Merge branch 'refactor-scripts-stuff' into scr-method-function 2022-04-09 14:04:23 +02:00
Edo
2d139ac435
Merge branch 'develop' into refactor-scripts-stuff 2022-04-07 16:47:56 +02:00
Diavolo
538ef7e491
Update Premake5 (100% no hacks) 2022-04-07 11:41:20 +02:00
Edo
5b9aeb08c6
Fully reverse changes to library component
Still crashes the client apperently
2022-04-07 10:12:52 +02:00
Edo
df733bcc9a
Merge branch 'develop' into fix-dedi 2022-04-06 21:38:36 +02:00
Diavolo
57513c61d9
Fix dedi 2022-04-06 21:37:28 +02:00
Dss0
15b8b9910e
Merge pull request #210 from diamante0018/fix-comp
Fix Wine
2022-04-05 12:55:13 +02:00
Diavolo
7e8d14120d
Fix Wine 2022-04-05 11:50:13 +02:00
Dss0
a71a60776b
Merge pull request #201 from diamante0018/default-constructor
Remove unnecessary deconstructors
2022-03-22 00:01:53 +01:00
Edo
fad1071f54
Merge branch 'develop' into fix-dvars 2022-03-21 22:35:18 +00:00
FutureRave
c9d5306553
Address review 2022-03-21 18:55:35 +00:00
Dss0
bb59c10c92
Merge pull request #205 from diamante0018/quick-ref-of-patch
Refactor quickpatch
2022-03-20 16:43:04 +01:00
Edo
722b673100
Merge branch 'develop' into default-constructor 2022-03-20 11:25:17 +00:00
FutureRave
21de40c48a
Remove redundant clears 2022-03-20 11:20:53 +00:00
FutureRave
5e55ba3d1d
Refactor quickpatch 2022-03-20 09:05:45 +00:00
Dss0
50230fc862
Merge pull request #204 from diamante0018/better-dvar-dump
[Command] Fix bug
2022-03-19 22:21:34 +01:00
FutureRave
045640d460
Fix bug 2022-03-19 16:38:07 +00:00
Dss0
5098561627
Merge pull request #203 from diamante0018/better-dvar-dump
[Command] Refactor
2022-03-17 23:32:25 +01:00
FutureRave
a41d7356cc
Refactor command (changes from s1x) 2022-03-17 18:50:20 +00:00
FutureRave
809e66cdb1
Remove unnecessary deconstructors 2022-03-16 00:44:59 +00:00
FutureRave
7798532ad0
Revert accidental remove of string literal 2022-03-15 22:52:48 +00:00
FutureRave
847d442f88 Merge branch 'refactor-scripts-stuff' of https://github.com/diamante0018/iw4x-client into refactor-scripts-stuff 2022-03-15 22:50:14 +00:00
FutureRave
0068b76d98
Fix a typo in stub & clean-up some things 2022-03-15 22:49:58 +00:00
Dss0
e7474b4543
Merge pull request #179 from diamante0018/fix-font-asset
[IFont] Use Zone allocator instead of static mem allocator
2022-03-12 11:44:35 +01:00
FutureRave
bc852d8840
Revert changes to some maths operation 2022-03-11 10:42:22 +00:00
Dss0
aa9e1fdd4b
Merge pull request #197 from diamante0018/fix-some-stuff
[General] Disable warning & more
2022-03-09 20:46:23 +01:00
FutureRave
f3a2d6f406
Fix some things 2022-03-08 14:42:41 +00:00
FutureRave
2531216969
Document dvar_rom 2022-03-08 14:03:38 +00:00
FutureRave
43fa4cd736
Fix flag for scr_dvar 2022-03-08 12:44:05 +00:00
FutureRave
21f0fe8c5e
Fix dvar flags & various dvar improvements 2022-03-08 12:20:28 +00:00
FutureRave
0cf2ac2853 Disable warning, fix naming inconsistency for component & remove unused code
Rename Slowmotion.cpp to SlowMotion.cpp

Rename Slowmotion.hpp to SlowMotion.hpp

Modify comments and remove unused code
2022-03-08 10:21:23 +00:00
FutureRave
74ed534bf6
snake case var 2022-03-03 17:43:22 +00:00
FutureRave
5a2c0b565d
Do not lookup rcon dvars every single time we need them 2022-03-03 16:37:18 +00:00
Edo
03523cf100
Merge branch 'develop' into refactor-scripts-stuff 2022-03-03 15:47:08 +00:00
Edo
d0c88843cb
Update Functions.hpp 2022-03-03 12:40:29 +00:00
Dss0
1216f10b15
Merge pull request #170 from diamante0018/insanely-fast-crit-sections
Fix DB_EnumXAssetEntries
2022-03-02 17:42:31 +01:00
FutureRave
9e207b3c9a
Clamp ping instead of throwing error 2022-03-02 11:46:02 +00:00
FutureRave
8847b362a7
Use c++ template function for vsnprintf 2022-03-02 10:10:03 +00:00
Edo
f07b2816df
Merge branch 'develop' into refactor-scripts-stuff 2022-03-01 20:34:25 +00:00
FutureRave
41ff80759d
Follow advice from a friendly guy 2022-02-27 17:36:13 +00:00
FutureRave
99e3920008
Use new funcs in other modules 2022-02-27 16:49:12 +00:00
FutureRave
204a752a96
Refactor utils 2022-02-27 16:42:53 +00:00
FutureRave
30f47bf2b8
Merge develop into script... 2022-02-27 13:44:31 +00:00
FutureRave
27ca63bf65
Resolve conflict 2022-02-27 13:43:18 +00:00
FutureRave
620efbd068
Trigger CI 2022-02-27 13:40:19 +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
FutureRave
f283a52540
Stop formatting nonsense 2022-02-26 23:40:47 +00:00
Edo
cbfd650f78
Merge branch 'develop' into refactor-scripts-stuff 2022-02-26 23:30:58 +00:00
Dss0
d1da779388
Merge pull request #191 from diamante0018/refactor-smol-components
Refactor some utils
2022-02-27 00:11:01 +01:00
FutureRave
624eba7114
Auto keyword 2022-02-26 23:02:04 +00:00
FutureRave
a5cc395b65
Refactor some utils 2022-02-26 22:50:53 +00:00
FutureRave
4156bacf2a
Use key from map when searching for custom func 2022-02-25 12:37:01 +00:00
FutureRave
a79c311ad9
Merge branch 'refactor-scripts-stuff' into scr-method-function 2022-02-25 12:29:23 +00:00
FutureRave
967642c6d1
Fix God command 2022-02-25 12:20:34 +00:00
FutureRave
20d0337880
Use getentity and getplayerentity game functions 2022-02-25 12:17:57 +00:00
FutureRave
1466279434
switch from bool to int 2022-02-25 11:58:11 +00:00
FutureRave
857cc9f415
Differentiate between functions and methods (GSC) 2022-02-23 11:38:37 +00:00
FutureRave
a7de8bdbce
Use const auto in scriptextension 2022-02-22 17:33:18 +00:00
FutureRave
4ed09b1828
Add check for nullptr in this func as well 2022-02-22 17:16:12 +00:00
Dss0
520fa6be43
Merge pull request #183 from diamante0018/fix-gamepad-vars
Fix gamepad vars
2022-02-20 02:13:29 +01:00
FutureRave
7b91b9c781
make code more readable 2022-02-19 23:10:35 +00:00
FutureRave
53ebf0d91e
Make pr ready to be merged 2022-02-19 23:06:56 +00:00
FutureRave
74579be0b1
forgot to use diamond operators for std::clamp 2022-02-15 17:41:30 +00:00
FutureRave
457475961b
Restore test client functionality for real 2022-02-14 18:14:07 +00:00
FutureRave
6043283ec9
Fix comp 2022-02-14 16:52:35 +00:00
Edo
067085c7e7
Merge branch 'develop' into refactor-scripts-stuff 2022-02-14 16:45:38 +00:00
FutureRave
7df64728d8
Remove dummy local var 2022-02-14 16:43:26 +00:00
Dss0
b86e725b3e
Merge pull request #159 from diamante0018/feature/mute-player
[Chat] Mute player (prevents them from using the chat)
2022-02-14 16:41:19 +01:00
Dss0
2ac69b02a0
Merge pull request #188 from diamante0018/feature/new-exception-coby
[Exception] Refactor component & copy exception message to clipboard
2022-02-14 16:41:09 +01:00
Dss0
01acf3e51a
Merge pull request #158 from diamante0018/refactor-movement
[Movement] Refactor+ features
2022-02-14 16:41:00 +01:00
FutureRave
66bd210bdb
Fix error msg 2022-02-14 00:35:59 +00:00
FutureRave
72d48109a1
Use correct naming convention for Hook 2022-02-14 00:09:46 +00:00
FutureRave
12677a0f93
Fix other mistake in the component 2022-02-10 19:45:00 +00:00
Edo
95e77ca6c6
Update Exception.cpp 2022-02-10 15:18:55 +00:00
FutureRave
92a8b6464c
Fix indent 2022-02-10 15:00:45 +00:00
FutureRave
8290cadbe9
Add yes/no buttons to message box 2022-02-10 14:41:51 +00:00
Edo
333e2eb024
Merge branch 'develop' into feature/new-exception-coby 2022-02-10 14:25:07 +00:00
FutureRave
4fea4b4479
Use GlobalFree & more 2022-02-10 14:23:53 +00:00
FutureRave
e3278840e9
Copy exception message to clipboard for easy coby basting 2022-02-10 12:14:43 +00:00
FutureRave
6b35320c12
Copy exception message to clipboard for easy coby basting 2022-02-10 12:02:17 +00:00
FutureRave
dc91e126df
Small changes 2022-02-09 23:40:27 +00:00
Dss0
01c487ca3f
Merge pull request #187 from diamante0018/fix-quick-patch
[QuickPatch] Refactored another dvar patch
2022-02-09 19:37:53 +01:00
FutureRave
2141953330
[Patch] Refactored another dvar patch 2022-02-09 18:28:34 +00:00
FutureRave
36a7532290
[Shmovement] Fix patches 2022-02-09 18:05:52 +00:00
FutureRave
222b1c945a
[Shmovement] Refactor other patches 2022-02-09 18:02:42 +00:00
FutureRave
50dc2f8b84
Update comments 2022-02-09 11:41:10 +00:00
Dss0
e651330d25
Merge pull request #182 from diamante0018/fix-maps-2
[Map] Fix ent string
2022-02-08 17:57:06 +01:00
FutureRave
6dcdef8146
Actually fix 2022-02-08 16:41:49 +00: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
FutureRave
bc68a05b8d
Change param name 2022-02-06 22:22:04 +00:00
Diavolo
b10d667ea7
I hate tabs 2022-02-05 17:28:22 +01:00
Edo
50c5793432
Merge branch 'develop' into refactor-movement 2022-02-05 17:27:22 +01:00
Diavolo
2251319b81
Rocket jumps 2022-02-05 17:24:59 +01:00
Diavolo
79e75c83fb
auto 2022-02-04 15:08:43 +01:00
Diavolo
52f675d2ed
Auto keyword 2022-02-04 14:56:39 +01:00
Dss0
6423667192
Merge pull request #184 from diamante0018/refactor-bad-patch
[Dedicated] Fix questionable patch
2022-02-03 22:39:34 +01:00
Diavolo
ef181d2b21
Fix really bad patch 2022-02-03 22:09:17 +01:00
Diavolo
852c3ed52e
Finish cleen reverse of scrVarPub_t 🐎 🐧 2022-02-03 18:07:00 +01:00
Diavolo
39812a9370
I forgot I'm not a Java programmer 2022-02-03 13:08:25 +01:00
Diavolo
39f2f4ff62
Fix gamepad vars 2022-02-03 12:44:35 +01:00
Diavolo
2c39b16a67 Merge branch 'refactor-movement' of https://github.com/diamante0018/iw4x-client into refactor-movement 2022-02-02 10:09:19 +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
Diavolo
a7a69d291f
Im🅱️rove 2022-02-01 15:24:20 +01:00
Diavolo
137a8c3f3a
Fix comp 2022-02-01 13:52:53 +01:00
Diavolo
ab26699b66
Great tabbing 2022-02-01 13:43:50 +01:00
Diavolo
f75e4e5de4
Address last bit of review I forgot about 2022-02-01 13:41:38 +01:00
Diavolo
e014dd9a2a
Rename a few things to help bring more consistency 2022-02-01 13:29:27 +01:00
Diavolo
f79bddb4c3
Forgot about these 2022-02-01 13:15:59 +01:00
Diavolo
09e565e431
Fix crash 2022-01-31 13:53:57 +01:00
FutureRave
7601985f32
Did not read standard correctly 2022-01-30 18:52:55 +00:00
FutureRave
43696dd6fb
Fix ent string 2022-01-30 14:03:13 +00:00
Dss0
cba376a4dd
Merge pull request #180 from diamante0018/indentation
[AssetHandler] Fix indentation
2022-01-29 17:25:39 +01:00
FutureRave
34ea31bd50
Fix cursed indentation :D 2022-01-29 14:11:52 +00:00
FutureRave
12a81eb5f7
Fix return type of stub 2022-01-28 11:28:52 +00:00
FutureRave
48f7cc2d46
Fix compilation 2022-01-27 17:16:40 +00:00
FutureRave
3bb39483dc
Use zone allocator instead of static mem allocator 2022-01-27 17:11:21 +00:00
Dss0
2274d1dfee
Merge pull request #178 from diamante0018/cleanup-project-folder
README + Cleanup project folder
2022-01-27 16:36:42 +01:00
FutureRave
18dca4506f
Address review 2022-01-27 15:30:32 +00:00
FutureRave
dae46fa432
Update 2022-01-27 14:32:47 +00:00
FutureRave
395cbde7fe
Fix 2022-01-27 13:53:46 +00:00
FutureRave
63164988f9
Update README and cleanup project folder 2022-01-27 13:50:57 +00:00
FutureRave
35114e454c
Stop more nonsense happening in the client module 2022-01-26 22:02:48 +00:00
Dss0
96b38e154b
Merge pull request #177 from diamante0018/update-premake5-remove-iw4vm
Update premake5 - Remove iw4mvm
2022-01-26 14:41:15 +01:00
FutureRave
f98f24f6fd
Upgrade further 2022-01-26 12:27:52 +00:00
FutureRave
653c55ced9
Update premake5 2022-01-25 20:08:34 +00:00
Dss0
5dc2f48444
Merge pull request #176 from diamante0018/remove-bad-unused-code
[QuickPatch] Remove unused code consuming resources
2022-01-25 19:30:01 +01:00
FutureRave
7c7cd24a82
Remove unused resource consuming code 2022-01-25 18:07:31 +00:00
Dss0
c65c160205
Merge pull request #175 from diamante0018/diamante0018-patch-2
[Dvar] Add missing semicolon
2022-01-24 21:06:19 +01:00
Edo
b9ed13a0fd
Add missing semicolon 2022-01-24 19:56:17 +00:00
FutureRave
5c9a5c3eac
improve bot stub further 2022-01-24 12:15:33 +00:00
FutureRave
598eb99461
Remove useless dvar 2022-01-24 12:03:35 +00:00
FutureRave
b1293a0ae4
Fix asm 2022-01-24 03:20:57 +00:00
FutureRave
61c994cdda
Add printtoconsole again but make it better 2022-01-24 03:15:05 +00:00
FutureRave
4c8198e687
Fix weapon check 2022-01-24 02:08:28 +00:00
FutureRave
d7a2b1aae7
Address more 2022-01-24 02:00:30 +00:00
FutureRave
cfc540991c
Address some parts of review 2022-01-23 19:32:20 +00:00
Dss0
783992ed3d
Merge pull request #172 from diamante0018/some-fixes-structs
[Structs] Fix gentity_s fields type
2022-01-23 01:14:27 +01:00
Edo
57f612c793
Forgot this newline 2022-01-22 15:54:32 +00:00
Dss0
2ac8ffaad6
Merge pull request #173 from diamante0018/fix-dos
[QuickPatch] Do some quick patching
2022-01-22 15:50:48 +01:00
FutureRave
808cd07df3
[QuickPatch] Remove unnecessary server logging on client commands 2022-01-22 13:55:20 +00:00
Edo
347bd616ee
Update Structs.hpp 2022-01-22 13:39:29 +00:00
FutureRave
8ae86de0b3
[Structs] Fix gentity_s fields type 2022-01-22 13:00:44 +00:00
FutureRave
6687d73f20
Remove unused function 2022-01-20 18:21:37 +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
2c27de030c
Address second review 2022-01-19 14:05:40 +00:00
Dss0
0cf1143f94
Merge pull request #163 from diamante0018/feature/proper-setviewpos
Restore setviewpos command
2022-01-19 14:57:38 +01:00
FutureRave
65eb2e34e0
Change style a bit 2022-01-19 10:48:33 +00:00
FutureRave
9af4a9b8e0
Comments, I'm tired 👽 2022-01-19 00:53:06 +00:00
FutureRave
4ee39b510f
Refactor bounces 2022-01-19 00:49:50 +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
5c34e55552
Fix some inconsistencies in my code 2022-01-18 00:21:25 +00:00
Dss0
9da6abd11d
Merge pull request #169 from diamante0018/revert-Fixed-compile-errors-on-Cpp20
Partially revert some changes from "fix compile errors on c++20"
2022-01-17 19:24:10 +01:00
FutureRave
c0670ba0a3
Revert some changes and use const char pointer where it's appropriate 2022-01-17 17:21:51 +00:00
Dss0
656ee13fbc
Merge pull request #164 from diamante0018/refactor-startup-messages
Refactor startup messages
2022-01-17 15:24:47 +01:00
FutureRave
805be6bb01
hook runtimerror for the win 2022-01-16 17:25:51 +00:00
FutureRave
7794a12b95
make dedi patch work on client as well 2022-01-16 14:08:52 +00:00
FutureRave
5d26af4a28
Refactor script param checking behaviour 2022-01-16 13:45:18 +00:00
FutureRave
5231077b95
Fix other keks + add scr_addbool for good mesure 2022-01-15 19:18:15 +00:00
FutureRave
7fab6e136e
Comment gsc function 2022-01-15 13:49:33 +00:00
FutureRave
d7d8949d2a
Use newly added flag 2022-01-14 19:42:03 +00:00
Dss0
1bef363a5f
Merge pull request #166 from diamante0018/feature/eflags
[Gamepad] Document player state flags
2022-01-14 20:27:04 +01:00
FutureRave
3b52208c87
Add script function from bo2 for good mesure 2022-01-14 00:21:14 +00:00
FutureRave
2785343eac
document player state flags in gamepad module 2022-01-12 17:48:20 +00:00
FutureRave
4fbe9ffc27
Fix error message 2022-01-11 18:53:20 +00:00
FutureRave
52d2a101e6
use dev_script for debugcode 2022-01-11 10:40:34 +00:00
FutureRave
2adad67f4f
Protect list with mutex 2022-01-10 18:42:58 +00:00
FutureRave
0fe6a80429
Refactor startup messages 2022-01-10 15:28:37 +00:00
FutureRave
9a100a309c
Fix logic error 2022-01-10 12:12:56 +00:00
FutureRave
b6ae4bfe87
Restore setviewpos command as it should be 2022-01-10 12:04:39 +00:00
Diavolo
3a9ec90127
Tidy format up a bit 2022-01-08 13:44:09 +01: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
22076ef096
Add prone to crouch ele 2022-01-07 12:33:53 +01:00
Diavolo
687e3d6e27 Refactor movement. 2022-01-07 12:24:29 +01:00
Diavolo
7add84442f
Allow to unmute using guid 2022-01-01 22:21:25 +01:00
Diavolo
57d598617c
Mute player's chat feature 2022-01-01 14:08:02 +01:00
Diavolo
eb88d587fc
Added prone elevators 2021-12-28 10:07:39 +01:00
Diavolo
41874769aa
Address review 2021-12-26 17:33:48 +01:00
Diavolo
35d753406b Merge branch 'feature/refactor-elevators' of https://github.com/diamante0018/iw4x-client into feature/refactor-elevators 2021-12-26 17:25:29 +01:00
Diavolo
ec43adda59
Address parts of review 2021-12-26 17:25:13 +01:00
Edo
ec3cbb4d7c
Commit suggestion
Bad copy paste on my end

Co-authored-by: Jan <Laupetin@users.noreply.github.com>
2021-12-26 17:22:42 +01:00
Diavolo
8cf5208c29
comments 2021-12-22 16:40:30 +01:00
Diavolo
8736983c46
Refactor elevators 2021-12-22 16:25:58 +01:00
Dss0
6d80943380
Merge pull request #155 from diamante0018/develop
Added missing lock guard
2021-12-17 20:25:16 +01:00
Diavolo
25a79f8439
Added missing lock guard 2021-12-17 19:49:25 +01:00
Louve
ba590760cd
Merge pull request #142 from Rackover/better_r_draw_debug
Better r draw debug
2021-12-17 18:02:42 +01:00
rack.over
a6f0d78481 address review 2021-12-17 09:55:50 +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
Louvenarde
c0f95d3fc3 Address review 2021-12-13 19:06:04 +01:00
Louvenarde
6ec5cac5cb Fix const cast on enum dvar registration 2021-12-13 18:50:52 +01:00
Louvenarde
241aed3d92 Merge branch 'develop' of https://github.com/XLabsProject/iw4x-client into better_r_draw_debug 2021-12-13 18:48:17 +01:00
Louvenarde
d726015ba2 Fix some declarations and pointer madness in Vec3SqrDist 2021-12-13 18:46:55 +01:00
FutureRave
62bca7f3b2
read ent num from struct as Matrix suggested 2021-12-09 17:49:47 +00:00
FutureRave
86f0242a3d
Reimplement clientcommand like in debug builds 2021-12-09 12:01:37 +00:00
FutureRave
ff1584cff0
Fix comment 2021-12-07 17:47:31 +00:00
FutureRave
86158bddf2
Organize cheat commands/gsc in one module 2021-12-07 16:53:41 +00:00
FutureRave
ed95316508
Fix wording 2021-12-07 16:19:40 +00:00
FutureRave
6d916ebd47
Added god/demigod and fixed ufo 2021-12-07 16:10:46 +00:00
FutureRave
3af0871902
Enclose in dvar onInit signal 2021-12-06 12:35:06 +00:00
FutureRave
0e3d4a596b
Refined logic a bit 2021-12-06 12:27:28 +00:00
FutureRave
69592a5656
Use .cfg over unordered map 2021-12-04 18:34:19 +00:00
Dss0
1583e82938
Merge pull request #151 from diamante0018/party/improve
[Party] Remove random function call
2021-12-04 15:42:39 +01:00
FutureRave
e4b76a3d1f
Remove random function call 2021-12-02 18:35:20 +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
bdfc7f562c
Merge pull request #148 from diamante0018/feature/elevators
[Feature] Add options to disable elevators
2021-11-30 14:41:43 +01:00
FutureRave
a54d83945d
Match sv_enableBounces dvar flags 2021-11-29 18:36:23 +00:00
FutureRave
bf9ea14333
One feature at the time 2021-11-29 18:22:21 +00:00
FutureRave
79be9e12d5
Add dvar to disable elevators entirely 2021-11-29 17:16:18 +00:00
FutureRave
ed53211400
Comments as requested 2021-11-29 14:08:44 +00:00
FutureRave
ae627d5f8f
Elevators for trickshotting 2021-11-29 12:26:53 +00:00
Dss0
1088e760d4
Merge pull request #146 from diamante0018/feature/random-sv-map-rotation
[Dedicated] Add random map rotation
2021-11-22 22:20:33 +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
daced4427b
Use auto 2021-11-16 18:33:32 +00:00
FutureRave
fb8ecf637f
Added random map rotation 2021-11-16 18:21:06 +00:00
FutureRave
f0687f8203
Use correct enum over numbers for com_error 2021-11-16 16:56:13 +00:00
FutureRave
6eaf72e86f
[Script] Small adjustment to variable type 2021-11-15 17:44:23 +00:00
FutureRave
c3dd5015e1
[Script] Fix compilation 2021-11-13 20:55:22 +00:00
FutureRave
5c69267ba3
[Script] Make index signed to keep consistency 2021-11-13 20:46:58 +00:00
FutureRave
4cb8cdfca3
[Script] Removed double check' 2021-11-13 19:12:16 +00:00
FutureRave
f101dbadec
[Script] Improve structs, add extra checks 2021-11-13 18:51:37 +00:00
FutureRave
c73794f6ea
[Script] Better comments 2021-11-13 13:32:20 +00:00
FutureRave
446c55b0b0
[Script] Fix unsigned/signed mismatch 2021-11-13 13:22:06 +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
Dss0
84a086d4cb
Merge pull request #141 from diamante0018/feature/custom-stance-scale
[Movement] Add customizable speed scale for stance
2021-11-11 17:55:52 +01:00
FutureRave
f6c973bc76
Make DvarRegisterEnum accept const char** 2021-11-11 16:47:42 +00:00
Louvenarde
6d70cd3e74 Get int now works on enum dvars 2021-11-11 16:44:54 +01:00
FutureRave
b02d7f41ae
Overlooked this detail 2021-11-11 13:40:52 +00:00
FutureRave
37e79f7c3a
Hook dvar register func 2021-11-11 13:38:51 +00:00
Louvenarde
892f521728 Added a dvar for player draw debug distance, use array for dvar enums, a bit of formatting 2021-11-11 14:00:46 +01:00
FutureRave
b77e95a846
Refactor quick patch a bit 2021-11-10 19:48:00 +00:00
Louvenarde
ecbfc74980 Merge branch 'develop' of https://github.com/XLabsProject/iw4x-client into feature/ps3hud 2021-11-08 19:04:59 +01:00
Louvenarde
b57a780051 Fixed formatting a little bit 2021-11-08 19:00:51 +01:00
Louvenarde
08054af027 Whoopsies 2021-11-08 18:05:49 +01:00
Louvenarde
b63cdc6632 Much better r_drawmodelnames and r_drawboundingboxes for every model category 2021-11-08 17:56:19 +01:00
Louvenarde
0c87243519 Vec3 Square distance function 2021-11-08 17:55:48 +01:00
Louvenarde
15a3f0fe04 Actually call the functions 2021-11-07 22:57:35 +01:00
Louvenarde
9d1b5cf604 Better r_draw debug functions, and relocated in renderer 2021-11-07 22:48:52 +01:00
FutureRave
7664a773e7
Have comment explain what dvar flag is being modified 2021-11-07 17:58:33 +00:00
FutureRave
1b1a53cef6 Add Module 2021-11-07 11:18:45 +00:00
FutureRave
1112eba7fa
Add customizable speed scale for stance 2021-11-07 11:09:00 +00:00
Maurice Heumann
93443050dd Disable warning 2021-11-07 09:27:01 +01:00
Jan
bc36a29991 Add "Chase" to list of contributors 2021-10-16 22:21:32 +02: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
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
Jan
737fab1642 Fix gamepad hold x to pickup only being applied to non dedi 2021-10-09 01:57:52 +02:00
FutureRave
e2de20c2aa
use unordered set 2021-10-04 21:33:46 +01:00
FutureRave
75a5200055
Fix bug 2021-10-04 21:07:54 +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
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
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
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
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
Diavolo
7de4b0a3aa
Tab again X-( 2021-09-09 10:50:49 +02:00
Diavolo
337b3961c4
Fixed indent 2021-09-09 10:44:04 +02:00
Edo
035b7f19d9
Merge branch 'develop' into feature/xinput 2021-09-09 10:39:59 +02:00
Dss0
e873b48571
Merge pull request #124 from diamante0018/client_t-is-fun-4
[Structs] Update client_t
2021-09-08 23:25:01 +02:00
Diavolo
9cb16ceabf
Addressed review 2021-09-08 23:15:10 +02:00
Dss0
f83eabf1e9
Merge pull request #126 from diamante0018/dvar-set
I accidentally modifed the struct
2021-09-08 23:07:34 +02:00
Diavolo
8b7eceeea9
I accidentally modifed the struct 2021-09-08 23:03:32 +02:00
Dss0
99d9d19dcf
Merge pull request #123 from diamante0018/dvar-set
[Dvar] Use set raw method on dvars by default
2021-09-08 22:58:32 +02:00
Diavolo
63bce435ef
newline between funcs 2021-09-08 22:54:43 +02:00
Louvenarde
570d2acdac Merge branch 'develop_official' into feature/xinput
# Conflicts:
#	src/Components/Loader.cpp
2021-09-08 21:34:37 +02:00
Jan
2fe9f938af Do not display fonticon autocomplete when letter before sequence is alphanumeric 2021-09-08 19:16:08 +02:00
Jan
c4d8638674 Add user closing fonticon autocomplete with escape 2021-09-08 19:06:38 +02:00
Jan
cfefd7d220 Do not show fonticon autocorrect window when fonticon name does not start with alphabetic characters 2021-09-08 18:34:04 +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
d640c4488c add fonticon modifier autocomplete and dvars to control autocomplete and hint text 2021-09-08 14:16:54 +02:00
Jan
68acf467b1 Add fonticon autocompletion inputs and improve rendering 2021-09-08 13:18:28 +02:00
Diavolo
4966a64711
Fix compilation 2021-09-08 11:19:30 +02:00
Diavolo
252c210156
Reversed more client header in preparation for netchan fix 2021-09-08 10:56:42 +02:00
Diavolo
15631bcec2
Removed static assert 2021-09-08 10:05:34 +02:00
Jan
7b70a1c62c Add fonticon autocomplete for chat 2021-09-08 01:53:25 +02:00
Jan
59e1099c06 Add big fonticon modifier to multiply size by 1.5 2021-09-08 01:53:02 +02:00
Jan
6e0586a335 Add console fonticon autocomplete 2021-09-08 00:40:52 +02:00
Jan
4497b991be Fix characters or cursor vanishing when cursor is in escaped color code that is expanded 2021-09-07 16:45:59 +02:00
Jan
26f2403418 Move playername related patches from TextRenderer to PlayerName component 2021-09-07 15:06:58 +02:00
Jan
1821d9072e Use TextRenderer to strip material text icons from dedicated server names and chat messages 2021-09-07 14:51:36 +02:00
Jan
967eeb2989 Update playername cleaning to clean fonticons and enforce 3 character minimum serverside 2021-09-07 14:33:36 +02:00
Jan
ccefbeb885 Rename r_colorBlindTeams to r_colorBlind to be compatible to future colorblind patches 2021-09-07 13:53:56 +02:00
Jan
3266c5790f Move remaining patches from color component to text renderer component 2021-09-07 13:15:44 +02:00
Louvenarde
a721818cf6 Better techswap for trees 2021-09-06 21:45:04 +02:00
Louvenarde
cbc980e1c4 Add log print for material state copy 2021-09-06 19:24:48 +02:00
Jan
fe2f3350fe Fix missing new line handling for TextRenderer 2021-09-06 17:49:36 +02:00
Jan
de96cb4b16 Hook R_TextWidth to properly account for fonticons and material icons 2021-09-06 17:02:41 +02:00
Jan
10964ba059 Do not render fonticons if cursor is inside the fonticon text and properly render cursor 2021-09-06 17:02:17 +02:00
Jan
69352103b8 Add ability to flip fonticons either vertically and horizontally or both with the suffixes +h +v +hv 2021-09-06 14:46:30 +02:00
Jan
677ac700ca add pushad wrapper around fonticon game functions 2021-09-06 14:45:47 +02:00
Louvenarde
ad9222a3ca Better techset matching 2021-09-06 01:08:02 +02:00
Louvenarde
1f89c55a78 whoopsie 2021-09-06 01:07:53 +02:00
Louvenarde
3d24252a16 Register dvar 2021-09-06 00:25:24 +02:00
Louvenarde
27e9a22e43 Allow loading assets from disk even if they're already in memory 2021-09-06 00:20:16 +02:00
Diavolo
e1a0d881f4 Update client_s 2021-09-05 22:02:38 +02:00
Diavolo
3838cd478e
[Structs] Updated Client_t 2021-09-05 21:53:56 +02:00
Jan
089d3c9180 Swap FontIcon finding method from DB_FindXAssetHeader to DB_FindXAssetEntry 2021-09-05 17:04:35 +02:00