Edo
fa25cb25a1
Merge branch 'develop' into scr-method-function
2022-04-10 14:03:35 +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
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
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
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
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
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
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
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
41ff80759d
Follow advice from a friendly guy
2022-02-27 17:36:13 +00:00
FutureRave
27ca63bf65
Resolve conflict
2022-02-27 13:43:18 +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
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
a5cc395b65
Refactor some utils
2022-02-26 22:50:53 +00:00
FutureRave
a79c311ad9
Merge branch 'refactor-scripts-stuff' into scr-method-function
2022-02-25 12:29:23 +00:00
FutureRave
20d0337880
Use getentity and getplayerentity game functions
2022-02-25 12:17:57 +00:00
FutureRave
857cc9f415
Differentiate between functions and methods (GSC)
2022-02-23 11:38:37 +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
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
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
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
01acf3e51a
Merge pull request #158 from diamante0018/refactor-movement
...
[Movement] Refactor+ features
2022-02-14 16:41:00 +01:00
Dss0
e651330d25
Merge pull request #182 from diamante0018/fix-maps-2
...
[Map] Fix ent string
2022-02-08 17:57:06 +01: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
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
852c3ed52e
Finish cleen reverse of scrVarPub_t 🐎 🐧
2022-02-03 18:07:00 +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
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
09e565e431
Fix crash
2022-01-31 13:53:57 +01:00
FutureRave
61c994cdda
Add printtoconsole again but make it better
2022-01-24 03:15:05 +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
Edo
57f612c793
Forgot this newline
2022-01-22 15:54:32 +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
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
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
FutureRave
805be6bb01
hook runtimerror for the win
2022-01-16 17:25:51 +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
2785343eac
document player state flags in gamepad module
2022-01-12 17:48:20 +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
ec43adda59
Address parts of review
2021-12-26 17:25:13 +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
6d916ebd47
Added god/demigod and fixed ufo
2021-12-07 16:10:46 +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
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
FutureRave
7664a773e7
Have comment explain what dvar flag is being modified
2021-11-07 17:58:33 +00:00
FutureRave
1112eba7fa
Add customizable speed scale for stance
2021-11-07 11:09:00 +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
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
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
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
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
Diavolo
07f15acab0
Properly kick player from the server using net cmd
2021-09-12 16:38:24 +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
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
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
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
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
Diavolo
8b7eceeea9
I accidentally modifed the struct
2021-09-08 23:03:32 +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
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
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
677ac700ca
add pushad wrapper around fonticon game functions
2021-09-06 14:45:47 +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
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
dded312064
Removed extra newline
2021-08-31 18:24:40 +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
Diavolo
032667e91c
Fix setString
2021-08-31 16:31:46 +02:00
Jan
8b53ce4cfe
Swap gamepad attack and throw button on dualwield weapons to make left trigger match left weapon etc
2021-08-30 21:57:31 +02:00
Jan
a07a00da93
Fix gamepad use hold time by checking for used buttons from gentity instead of local player keys to work on dedicated servers
2021-08-30 20:05:06 +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
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
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
6d598df56d
Add binding commands to keys for controllers
2021-08-30 16:09:51 +02:00