Commit Graph

315 Commits

Author SHA1 Message Date
Diavolo
7e92887ad9
set variant wrapper 2021-10-04 17:08:01 +01: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
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
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
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
677ac700ca add pushad wrapper around fonticon game functions 2021-09-06 14:45:47 +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
032667e91c
Fix setString 2021-08-31 16:31:46 +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
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
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
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
INeedBots
eeb70a7da4 Fixed compile errors on C++20 2020-12-09 13:13:34 -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
7ca3b49f1e [Game] Fix structure changes 2018-05-09 12:04:20 +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
08bc848267 [General] Small code fixes and optimization 2017-06-14 20:53:54 +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
momo5502
d8c3e7fcee [String] Make VA leak-safe 2017-06-02 15:36:20 +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
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
29acb108be [Hooking] Optimizie inline-asm hooks 2017-02-01 15:04:32 +01:00
momo5502
7d24aa8fe0 [Friends] Transmit rank 2017-01-29 15:10:54 +01:00
momo5502
8f705d2c37 [General] Disable resharper false positives 2017-01-26 22:56:46 +01:00
momo5502
0f91c50ffc [Friends] Correctly display the rank 2017-01-26 12:42:42 +01:00
momo5502
2de95b4a3b [General] Fix protobuf and other memory leaks 2017-01-22 21:38:57 +01:00
momo5502
6762b68ab0 [ServerList] Delete favourites 2017-01-22 00:17:17 +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
c9d160c72a [General] Get rid of unnecessary submodules 2017-01-06 15:27:35 +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
03345e8d21 [General] Correct assettype enum 2016-12-28 21:35:30 +01:00
momo5502
15bf3fb0e0 [ZoneBuilder] Workaround for colmaps 2016-12-24 21:38:42 +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
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
8085e4bd88 [CodeStyle] Refactor the code to match our basic style guidelines 2016-11-20 14:10:57 +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
80f1e206f8 ArenaLength patches 2016-10-26 18:57:43 +02: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
9c24ad1f57 Finish codo maps (step 1) 2016-09-24 16:37:13 +02:00
momo5502
44621ee52f Stuff 2016-09-22 21:22:12 +02:00
momo5502
775cde47e2 Use std::memcpy 2016-09-22 08:23:40 +02:00
momo5502
efbbaec1d6 SOme stuff, breaks cargoship! 2016-09-21 23:19:16 +02:00
momo5502
db2e572612 Begin refactoring the zone loading code 2016-09-21 19:27:31 +02:00
momo5502
77f38525c4 More zone stuff 2016-09-20 22:00:02 +02:00
momo5502
d64589f6e8 Move UnitTest stuff 2016-09-17 14:05:01 +02:00
momo5502
5afea26d5f Welp. 2016-09-14 23:06:34 +02:00
momo5502
7831886e3a Optimize Load_VertexBuffer (actually a wrapper for R_CreateWorldVertexBuffer) 2016-09-14 23:06:12 +02:00
momo5502
52487aa224 Finish surface loading, but not test ready 2016-09-14 23:01:53 +02:00
momo5502
ab3c75cb5b More surface loading stuff 2016-09-13 21:41:10 +02:00
momo5502
6dc46a4289 Begin implementing surface loading for CODO maps 2016-09-13 20:55:10 +02:00
momo5502
256b463411 Don't ignore warning 4100 2016-08-18 02:18:45 +02:00
momo5502
f064966ec0 Add noclip and ufo commands 2016-08-18 01:57:56 +02:00
momo5502
3e9d5779ca Lean stuff (unfinished) 2016-08-16 20:36:52 +02:00
momo5502
a73380db16 Some fixes 2016-08-16 01:54:52 +02:00
momo5502
3585ab62a7 Rename stuff 2016-08-14 16:16:10 +02:00
momo5502
9e9967b9d1 More anticheat detections 2016-08-07 21:46:30 +02:00
momo5502
ab3d0b789d Fix 2016-08-07 18:25:44 +02:00
momo5502
799a7583ef Fix selectstringtableentryindvar 2016-08-07 17:52:13 +02:00