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
Jan
d4d1520f65
Implement cod native controller support like xinput value retrieval
2021-08-30 16:09:51 +02:00
Diavolo
9ff6747c5a
Define dvar_type as a char
2021-08-29 22:40:55 +02:00
Diavolo
62cc1fff78
[Dvar] Make flag enum unsigned
2021-08-29 17:51:50 +02:00
Diavolo
89165a96b4
[Dvar] Use set raw method on dvars by default
2021-08-29 17:41:21 +02:00
Louvenarde
ea926dfe67
Merge branch 'develop_official' into feature/xinput
2021-08-14 00:36:42 +02:00
Diavolo
1bd4bcba05
Color dvar
2021-08-01 14:22:42 +02:00
Diavolo
de0c3b2762
Color blind dvars
2021-08-01 10:35:59 +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
bac2afa028
Overriding mouse is much better than overriding client angles
2021-05-04 18:11:16 +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
rackover
e19409f550
Zonebuilder builds sounds & loaded_sounds now
2021-04-12 00:43:38 +02:00
rackover
aa9f98b0e7
Fix warnings, fix post-rebase issues
2021-04-05 18:13:00 +02:00
rackover
f851a0a3a9
Put DOBJ back
2021-04-05 17:29:52 +02:00
Jan
e9f78eedb7
Add r_drawTriggers debugging dvar to draw triggers on the map
2021-04-05 17:29:49 +02:00
rackover
06301f5f85
DOBJ struct and better gentity_s
2021-04-05 17:25:53 +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
rackover
d5c8f15f7b
Enhance gentity_s struct
2021-04-05 17:25:47 +02:00
Rackover Xiaochad
0c462c1152
Fix device recovery issues on CODO maps >359
2021-02-06 21:30:47 +01:00