2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-25 19:30:08 +01:00
Commit Graph

4192 Commits

Author SHA1 Message Date
d1a571201b engine: client: s_mix: attempt to fix S_InterpolateCubic2x buffer overflow 2024-11-07 14:12:10 +03:00
8a8cdd2927 engine: client: another possible null pointer dereference 2024-11-07 14:12:10 +03:00
3ef4acecb5 Documentation: ports: clarify support for some merged but not tested ports. Add Dreamcast port repository by @maximqaxd 2024-11-07 11:23:21 +03:00
e8c1fc958f mainui: update 2024-11-07 10:18:16 +03:00
08bc4ccec4 3rdparty: opus: wscript: implement looking for C99 VLA or alloca 2024-11-07 10:15:19 +03:00
6ae62e3bb1 engine: platform: posix: include sys/filio.h to have FIONBIO declaration for networking code 2024-11-07 07:42:07 +03:00
397f2f208a engine: wscript: link libsocket on Solaris 2024-11-07 07:41:37 +03:00
8bebf698ef ref: fix out of bound access when the entity is marked as player but has invalid number
It's possible when client.dll passes a self allocated entity and wants to draw
it as player but doesn't initialize or set the entity number correctly.
2024-11-07 07:18:14 +03:00
6a2a2c33ee engine: client: don't go out of bounds if studio model don't have any sequences
Fixes models/null.mdl in Master Sword Rebirth. It's technically a valid model, though
completely useless for renderer.
2024-11-07 07:13:20 +03:00
0adda483c5 public: add definitions for Solaris 2024-11-07 07:12:30 +03:00
d8eb918cea filesystem: rename IVFileSystem009 to IFileSystem to avoid UBsan errors when debugging a mod that calls this interface using original headers 2024-11-06 19:46:22 +03:00
96b95db7c8 filesystem: compile with rtti, but still disable exceptions 2024-11-06 19:46:22 +03:00
b1915106b0 vgui_support: update 2024-11-06 19:46:22 +03:00
0d2a8488ae engine: client: replace illegal for infostring characters in server info got from TSource Engine Query 2024-11-06 19:46:22 +03:00
a52c8aa291 ref: soft: as an experiment, reformat ref_soft as it's easier to notice config inaccuracies 2024-11-06 02:41:38 +03:00
fbbafb45a3 Add uncrustify config file [skip ci] 2024-11-06 02:40:26 +03:00
659adca473 ref: soft: remove dead, commented out code 2024-11-06 02:17:06 +03:00
38e8a581b6 engine: server: fix possible NULL dereference 2024-11-06 01:39:46 +03:00
06e476e8c8 engine: reorder mstudiocache_t fields for better memory efficiency 2024-11-06 01:39:46 +03:00
f529f06ea1 engine: use designated initializers to define BSP lumps. Reorder mlumpinfo_t for better memory efficiency 2024-11-06 01:39:46 +03:00
159ded433d ref: gl: don't touch polygon offset when not drawing debug hulls as it breaks decals with VBO
Also correctly restore polygon offset state so decals gets drawn even with VBO
2024-11-06 01:39:46 +03:00
c3b6422ad0 engine: common: add lzss fixes by nillerusr 2024-11-06 01:39:46 +03:00
41b78c26ef engine: client: s_vox: fix incorrect check in VOX_FreeWord 2024-11-06 01:39:46 +03:00
ca93c5b666 engine: client: touch: use FillRGBA to draw edit grid 2024-11-06 01:39:46 +03:00
80f8b778a9 engine: client: cl_tent: more accurate R_FizzEffect 2024-11-06 01:39:46 +03:00
8c5db5f980 engine: client: turn some asserts in texture remap code into proper nullptr checks 2024-11-06 01:39:46 +03:00
3756361cfe engine: client: fix possible NULL dereference when setting up bbox for non-solid visent that somehow doesn't have a model 2024-11-06 01:39:46 +03:00
5f3e167799 engine: client: prevent possible null dereference with malformed consistency info packet 2024-11-06 01:39:45 +03:00
b7ed779f71 public: mathlib: fix incorrect usage of DotProductAbs, it will give the integer result, while float is expected 2024-11-06 01:39:45 +03:00
fa6f564c12 engine: client: allow extended amount of commands to be sent for newer GoldSrc server. Also refactoring 2024-11-06 01:39:45 +03:00
ad457f717b engine: client: no sense to check for position history pointers for NULL in CL_FindInterpolationUpdates, as they never are 2024-11-06 01:39:45 +03:00
f95ce7f52d engine: client: cl_font: fix possible NULL dereference 2024-11-06 01:39:45 +03:00
ec73f23e4a engine: client: rewrite R_RocketTrail for accuracy and fix potential uninitialized vectors 2024-11-05 17:43:09 +03:00
2972d7c309 wscript: disable enum-float-conversion on clang 2024-11-03 04:24:54 +03:00
4d003bc13f ref: remove Mod_LoadMapSprite from RefAPI 2024-11-03 02:59:44 +03:00
4cb11861e4 engine: client: reimplement Mod_LoadMapSprite on engine side 2024-11-03 02:58:31 +03:00
addd50467e engine: remove FillRGBABlend from RefAPI. FillRGBA now accepts rendermode parameter 2024-11-03 02:24:36 +03:00
6cd2dbf178 engine: remove R_DrawTileClear from RefAPI 2024-11-03 02:21:38 +03:00
f079e63737 engine: client: reimplement R_DrawTileClear on engine-side 2024-11-03 02:19:49 +03:00
d807041aa5 engine: client: register sound cvars even if audio was disabled 2024-11-03 01:20:30 +03:00
6153d7f168 engine: make CL_RunLightStyles accept lightstyles array pointer as an argument. Make necessary changes in renderers. 2024-11-03 01:20:30 +03:00
e37feece4d engine: finally remove GetLightStyle, GetDynamicLight and GetEntityLight from RefAPI 2024-11-03 01:20:30 +03:00
6cf11cb6cf ref: soft: migrate to new way to get lightstyles and dlights 2024-11-03 01:20:30 +03:00
bb4e64ea58 ref: gl: migrate to new way to get lightstyles and dlights 2024-11-03 01:20:30 +03:00
9ed55776a9 engine: add PARM_GET_*_PTR for lightstyles and dlights arrays 2024-11-03 01:20:30 +03:00
b45bc9af67 engine: remove gamma functions from RefAPI 2024-11-03 01:20:30 +03:00
2227e487c0 engine: client: explicitly set rendermode for R_ShowTree 2024-11-03 01:20:30 +03:00
1f49ce599f engine: client: fix out of bound read in gamma table access functions 2024-11-03 01:20:30 +03:00
8af995cc28 engine: introduce REF_GET_*_PTR for gamma tables 2024-11-03 01:20:30 +03:00
b39d660189 ref: refactor R_BuildLightMap 2024-11-03 01:20:30 +03:00