Commit Graph

325 Commits

Author SHA1 Message Date
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
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
68acf467b1 Add fonticon autocompletion inputs and improve rendering 2021-09-08 13:18:28 +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
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
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
36a025e1d0
Use game functions to safely change dvar value 2021-09-01 23:19:44 +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
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
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
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
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
INeedBots
75d6be1939 Increased protocol 2021-01-02 19:09:19 -06:00
OneFourOne
9047e7bec2
[Game] Decrease protocol version 2020-12-22 16:15:23 -05: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
febff1b703 [Structs] Added enum clientstate_t 2020-12-04 23:17:44 +02:00
INeedBots
f5aa4f91e0 [Structs] Added deltaMessage and outgoingSequence to client_t 2020-11-14 01:56:45 -06:00
momo5502
f75f121c27 [Game] Increase protocol version 2019-01-12 17:52:10 +01:00
RektInator
e3151fb155 [FastFiles] Fixed compiler warnings 2018-12-24 22:19:40 +01:00
RektInator
e79350e586 [FastFiles] Fixed XSurface count when loading fastfiles
[Renderer] Added logging for broken materials
2018-12-24 21:42:39 +01:00
momo5502
1f5a83aa94 [Game] Fix XModel structure 2018-05-10 18:11:12 +02:00
momo5502
ceebe4dfd0 [IGfxImage] Fix image loading 2018-05-09 15:14:31 +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
a6efda1e97 [Game] Update several structures 2018-05-09 11:53:35 +02:00
momo5502
527f93803c [General] Update protocol version 2017-06-29 23:03:25 +02:00
momo5502
aac43f1e7d [MusicalTalent] Disable this feature 2017-06-18 12:36:19 +02:00
TheApadayo
9997367ded [clipMap_t] some attempts to generate triggers 2017-06-07 14:15:32 -04:00
TheApadayo
2fae76875d [Structs] Correct usercmd_s struct 2017-05-30 13:22:04 -04:00
momo5502
df2dd13b1d [Maps] Make sure techsets are clean when sorting materials 2017-05-28 18:13:48 +02:00
TheApadayo
5be5c70cb6 [ZoneBuilder] building techsets.ff is now working. still need to clean it up and add a function to generate defaults.ff as well.
also featured in this commit:
- better cpu performance when running zb from the shell
- asset pools that are bigger than ever!
- new random struct stuff
2017-05-26 15:41:40 -04: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
a830fcde97 [General] Adjust shader structures 2017-04-22 21:47:04 +02:00
momo5502
34df306212 [IMaterial] Add mapping for fx materials 2017-04-20 21:27:38 +02:00
momo5502
59d8c85640 [ZoneBuilder] Check if CSV exists 2017-04-04 22:35:30 +02:00
momo5502
4d641ad567 [Maps] Better custom map detection 2017-04-03 22:07:49 +02:00
momo5502
deaf269808 [General] Fix compiler warnings 2017-03-30 14:05:37 +02:00
momo5502
185ea56f72 [Functions] Fix debug line 2017-03-29 16:44:05 +02:00
TheApadayo
fc615ca035 [Structs] Fix GfxBrushModel 2017-03-27 22:39:49 -04:00
TheApadayo
c02eede3f4 [IGfxWorld] My terrible attempt at sorting gfxsurfaces 2017-03-27 00:56:08 -04:00
momo5502
6f91b87bdc [Structs] Adjust GfxBrushModels 2017-03-26 18:00:25 +02:00
momo5502
576b07891e [IXModel] Fix surfs sign 2017-03-25 13:42:21 +01:00
momo5502
3e509e1b1d [Structs] Adjust a few things 2017-03-24 23:59:11 +01:00
momo5502
94eaf9c94d [IComWorld] Add light support 2017-03-20 10:38:46 +01:00
momo5502
43ddafa520 [Structs] Update game structures for portals 2017-03-19 14:49:53 +01:00
momo5502
3b6c502368 [IGfxWorld] Fix aabbtree structure 2017-03-19 00:24:11 +01:00
momo5502
5b0b14a5f5 [IPhyCollmap] Fix plane writing 2017-03-18 15:20:21 +01:00
momo5502
3b702b9d9a [IclipMap_t] Use existing clipmap as base 2017-03-16 20:40:32 +01:00
RektInator
abe6c87568 [ImenuDef_t] itemDefData writing in progress 2017-02-25 23:46:45 +01:00
RektInator
e1c3ecdf4d [IMenu] Initial commit 2017-02-25 20:55:04 +01:00
momo5502
0d4934d163 [StructuredData] Reset empty classnames 2017-02-25 17:27:34 +01:00
momo5502
8b50bb567c [General] Update the protocol (15 classes are not backwards compatible) 2017-02-25 12:27:59 +01:00
momo5502
e7c2d10d19 [StructuredData] Correctly update stats (by @RektInator) 2017-02-22 20:17:58 +01:00
momo5502
ea3ac3ddcb [Localization] Generate class names for 10+ classes 2017-02-22 19:07:46 +01:00
momo5502
a4abdd9dcb [StructuredData] Add 15 classes code, still not fully working! 2017-02-20 19:18:07 +01:00
momo5502
ccb7c48587 [Dvar] Disallow setting cheat dvars via menus 2017-02-18 11:39:01 +01:00
TheApadayo
78826adeab [LoadedSounds] Added RektInator's wav file loader for loaded sounds 2017-02-13 11:24:21 -05:00
momo5502
ee87a4948c [Weapon] Correctly clear configstrings 2017-02-05 22:25:38 +01:00
momo5502
99351df9d0 [General] Update protocol version, as backwards compatibility is gone 2017-02-05 18:21:09 +01:00
momo5502
af05e9de2f [Weapon] Reallocate config strings 2017-02-05 11:22:21 +01:00
momo5502
ee63346c00 [UIFeeder] Don't reset mapname 2017-01-21 18:34:29 +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
3c6e48f201 [Structs] Update filesystem structs 2017-01-11 19:19:46 +01:00
momo5502
25b610d3dd [Structs] Fix some vertex structs 2017-01-04 00:03:03 +01:00
momo5502
ff72493ce3 [IXModel] Finally XModels are correct 2017-01-03 22:04:10 +01:00
momo5502
b28df707b4 [IXModel] Correct more structs 2017-01-03 20:09:53 +01:00
momo5502
7d9c588e0e [IXModel] Use correct XModel structure 2017-01-02 22:37:00 +01:00
momo5502
45c49d4171 [IXModel] Correctly load coll surfs 2017-01-02 19:31:32 +01:00
momo5502
2c7b7f6d87 [IXModel] Correct model loading 2017-01-01 20:04:20 +01:00
momo5502
80883013d3 [Structs] Reflectionprobe stuff 2016-12-30 19:56:06 +01:00
momo5502
8d7be2a74f [IclipMap_t] Small fixes 2016-12-30 17:26:32 +01:00
momo5502
67a4e5c598 [IGfxWorld] Small fixes 2016-12-30 15:54:33 +01:00
TheApadayo
307e67b056 [Structs] Update with correct cbrushside_t structure 2016-12-29 22:14:50 -05:00
TheApadayo
e95bf591cf [clipMap_t] importer bugfxies plus some new structs 2016-12-29 14:15:09 -05:00
momo5502
ab7a837ebc [IMaterial] Fix water 2016-12-29 03:06:30 +01:00
momo5502
e5e164e9b5 [IGfxImage] Fix non-streamed image loading 2016-12-29 02:21:45 +01:00
momo5502
03345e8d21 [General] Correct assettype enum 2016-12-28 21:35:30 +01:00
momo5502
e909329910 [IMaterial] Sortkey workaround
Search a material with the same techset and copy its sortkey
2016-12-27 19:22:52 +01:00
TheApadayo
5577989918 [IMaterial] Wrote new importer for materials, should work but i haven't tested anything
- old format is still supported but only as a fallback
2016-12-25 22:05:21 -05:00
momo5502
b381fbd238 [Merge] develop into mapimport 2016-12-25 23:10:27 +01:00
TheApadayo
3af4082143 [ZoneBuilder] Update with new structures.
Side Note: I changed some stuff in Zones.cpp that could fuck up iw4c map loading so someone needs to test that as I don't have the maps
2016-12-25 16:23:44 -05:00
momo5502
d6c0e17bcb [IGfxWorld] Exporter progress and new struct 2016-12-25 20:55:42 +01:00
momo5502
b4fd5a11d1 [Stream] Add pointer interface to the reader 2016-12-25 15:17:31 +01:00
momo5502
bfe1c335af [IGfxWorld] Import experiments 2016-12-25 03:41:42 +01:00
momo5502
b61b8e8f8d [IGameWorldSp] Finish GameWorldSp interface 2016-12-24 21:28:01 +01:00
momo5502
61339350c1 [ZoneBuilder] Add IGameWorldSp interface (WIP) 2016-12-24 17:29:19 +01:00
TheApadayo
d5e1c6a371 Revert "[ZoneBuilder] Store inter-asset-related pointers" 2016-12-23 11:03:04 -05:00
momo5502
4c1859e871 [ZoneBuilder] Store inter-asset-related pointers 2016-12-23 02:25:21 +01:00
momo5502
470361848e [ZoneBuilder] Small fixes in clipmap 2016-12-22 15:28:09 +01:00
momo5502
a4ad38c4d9 [IFxWorld] Structure fixes 2016-12-22 12:58:12 +01:00
TheApadayo
296af1716a [ZoneBuilder] Added IFxWorld interface, should work fully 2016-12-22 00:42:53 -05:00
momo5502
896c3b7068 [ZoneBuilder] Correctly write GfxImages 2016-12-22 02:48:00 +01:00
momo5502
e93831319f [ZoneBuilder] IGfxWorld and IclipMap_t fixes 2016-12-22 00:35:05 +01:00
momo5502
9505d8cbe4 [IclipMap_t] Small fixes, stuff is still broken 2016-12-21 20:11:27 +01:00
momo5502
b72b8b8a15 [ZoneBuilder] clipmap and gfxworld fixes 2016-12-21 19:20:57 +01:00
momo5502
3e69704aed [ZoneBuilder] Correct XAssetHeader struct 2016-12-21 17:27:45 +01:00
TheApadayo
25c5baa549 [IGfxWorld] GfxWorld writer completed
-also added mark for GfxWorld so it works properly
-still needs to be debugged (it doesn't work)
2016-12-20 22:15:01 -05:00
momo5502
756d7c15a9 [IGfxWorld] Small fixes and more progress 2016-12-20 22:23:23 +01:00
TheApadayo
89fc89275f [ZoneBuilder] Added clipMap_t asset interface (untested) 2016-12-20 16:22:20 -05:00
momo5502
58073404cc [ZoneBuilder] Add IGameWorldMp interface 2016-12-20 20:16:23 +01:00
momo5502
1c82e29871 [XModel] Adapt structure 2016-12-20 18:15:28 +01:00
TheApadayo
8b7c990a53 [ZoneBuilder] Added GfxWorld asset interface but is completely untested
i have no idea if any of it works so try it out whenever
2016-12-20 01:47:10 -05:00
TheApadayo
38abd43533 [ZoneBuilder] Updated GfxWorld struct to be correct now 2016-12-19 16:12:47 -05:00
momo5502
81d94cbd5e [IFxEffectDef] Add the structs provided by @aerosoul94 2016-12-07 22:08:13 +01:00
momo5502
835597fbf6 [ZoneBuilder] Version system for models and anims 2016-12-07 18:53:01 +01:00
momo5502
566cad6784 [IFxEffectDef] Prepare efx loading 2016-12-06 19:36:57 +01:00