Commit Graph

2482 Commits

Author SHA1 Message Date
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