Commit Graph

301 Commits

Author SHA1 Message Date
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
momo5502
631726b1d9 [General] Structure optimization 2016-12-05 20:43:29 +01:00
momo5502
4d517f2895 [ZoneBuilder] Add snd_alias_list_t interface 2016-11-29 21:12:35 +01:00
momo5502
3551d0c0eb [ZoneBuilder] Add LoadedSound interface 2016-11-29 19:32:46 +01:00
momo5502
1b12886229 [ZoneBuilder] Add sndcurve interface 2016-11-29 19:13:46 +01:00
momo5502
d596cdc97b [ZoneBuilder] Add interface for FxEffectDef
Soundaliases are missing, so the game will complain about missing sounds!
2016-11-28 22:12:42 +01:00
momo5502
1439d5fa03 [Maps] Support for some tropical maps
This adds support for favela and estate tropical
More investigation is needed for crash tropical.
2016-11-12 20:06:23 +01:00
momo5502
9591d7eacd [IXModel] Adjust XModel structure for flag support 2016-11-12 20:06:23 +01:00
momo5502
aaf9325f07 Fix 2016-11-11 18:05:04 +01:00
momo5502
29dcaa242b Load mod zone and model stuff 2016-11-10 20:05:49 +01:00
momo5502
5dccdc2454 Model stuff 2016-11-09 19:38:01 +01:00
momo5502
51bbbdd588 Model stuff 2016-11-06 14:03:51 +01:00
momo5502
6626bc9fc7 Some model stuff 2016-11-06 02:24:30 +01:00
momo5502
7aba6250f6 Load team zones. 2016-10-31 15:02:32 +01:00
momo5502
80f1e206f8 ArenaLength patches 2016-10-26 18:57:43 +02:00
momo5502
d2c5c45042 Fix shader stuff 2016-10-23 16:45:21 +02:00
momo5502
b606983835 Add @Dasfonia's menu and gametype stuff 2016-10-17 20:42:15 +02:00
momo5502
b0dabb8848 Print revision in version flag and better GfxWorld struct 2016-10-09 21:40:21 +02:00
momo5502
c2c38539ec Mirror textures in dumped maps and fix multiple dependency maps 2016-10-09 16:36:34 +02:00
momo5502
aea12a25ef Mirror map when dumped 2016-10-09 12:34:06 +02:00
momo5502
ad18adc187 Fix techniques (ZoneBuilder) and fully dump gfxworlds with enable-dxsdk flag 2016-10-09 12:02:17 +02:00
momo5502
bec37fb830 Remove test structs 2016-10-08 20:51:44 +02:00
momo5502
e7910ac19f More map progress, add dumpmap command.
SE2Dev wants us to keep that code for us, so only in debug mode!
2016-10-08 20:51:00 +02:00
momo5502
f96973f439 Some zone stuff 2016-10-07 17:50:30 +02:00
momo5502
af0cc4d0dc Fix materials for 359 2016-10-02 14:22:17 +02:00