Commit Graph

345 Commits

Author SHA1 Message Date
0db1a7743d engine: try to fix -Wmaybe-uninitialized that may be enabled with -Wuninitialized. Diagnostic is prone to false-positives, as compiler don't have enough data for this 2020-05-12 02:00:34 +03:00
a641488b98 engine: imagelib: img_bmp: add paranoid checks for estimated file size to not exceed real buffer. Needs proper testing. 2020-05-11 03:02:13 +03:00
46b0590e4e engine: imagelib: refactor to use stdint.h definitions, use spaces for alignment instead of tabs 2020-05-11 02:28:04 +03:00
9b22149509 engine: host: execute server.cfg right before main loop starts 2020-05-02 19:26:41 +03:00
e0dfc4c0b4 launcher: oops, enable NOCONHOST only for Win32 2020-04-30 20:48:33 +03:00
732cb925e5 launcher: use engine definitions, enable cocon_win by default, fix Com_LoadLibrary to COM_LoadLibrary, fix memory leak, fix incorrect argv 2020-04-25 21:28:19 +03:00
lewa_j
deb7591d1e Fix SaveBMP 2020-04-25 21:19:58 +03:00
82c54b1b54 engine: disallow zero-width strings for getenv() 2020-04-19 13:02:51 +03:00
8d942bcc86 xash3d_types: start refactoring engine to use stdint.h types 2020-04-19 13:02:51 +03:00
51a45d745e engine: userconfig.d support from old engine 2020-04-14 20:08:08 +03:00
dc2ab714f6 mpg123: backport some UB fixes from upstream 2020-03-30 00:46:39 +03:00
4c6fd79f07 tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already 2020-03-30 00:42:10 +03:00
3d9c482eae host: add -help, fix #136 2020-03-04 08:55:22 +03:00
3c8ce640c4 Merge neko/mathlib into master 2020-03-04 05:38:30 +03:00
248c8a745c engine: common: imagelib: split imagelib.h. 2020-03-03 05:03:15 +05:00
7c47bfd0db
Merge pull request #122 from nekonomicon/palette
engine: common: imagelib: use rgba_t as RGBA palette type.
2020-03-02 21:44:32 +03:00
e96ea719d5 engine: common: imagelib: use rgba_t as RGBA palette type. 2020-03-02 15:07:54 +05:00
3ce16227ba
Merge pull request #123 from nekonomicon/tga
engine: common: imagelib: img_tga.c: check pixel type before buffer allocation.
2020-02-18 03:52:09 +07:00
4021d7bf5c imagelib: fix unaligned access 2020-02-17 23:25:39 +03:00
68472f90eb filesystem: disable XASH_REDUCE_FD where it not needed, fix null pointer deference 2020-02-14 21:48:26 +07:00
e3b547c8a9 public: rename mathlib to xash3d_mathlib. 2020-02-12 14:32:26 +05:00
01e2ea24da engine: common: imagelib: img_png.c: add a missing return statement. 2020-02-11 17:06:41 +03:00
f5783ae1df engine: common: imagelib: img_tga.c: check pixel type before buffer allocation. 2020-02-11 15:39:05 +05:00
27da2e10ff filesystem: fix const cast 2020-02-09 00:29:56 +07:00
7d0e45b507 network: restore WSAsize_t define for win32 2020-02-08 23:59:43 +07:00
c7e3eae9dd filesystem: fix wrong types 2020-02-08 23:38:45 +07:00
d8f20f3642 common: add DOS4GW platform 2020-02-08 23:15:40 +07:00
3e3aff040e platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c 2020-02-08 23:15:40 +07:00
adc718f4d5 public: add XASH_POSIX platform define 2020-02-08 23:15:40 +07:00
22c148a39e filesystem: refactor zip/pak loading, partially fix reading files from zip, add option to reduce FD usage, remove dup() dependency 2020-02-08 23:15:40 +07:00
2b90790071 network: add stub for systems without BSD sockets, WATTCP support 2020-02-08 23:15:40 +07:00
070272489d library: fix saverestore offsets code from old engine 2020-02-08 23:15:40 +07:00
538d8a6fb4 network: fix NET_MAX_FRAGMENT limit 2020-02-08 23:15:40 +07:00
3a416636f1 engine: mark GAME_EXPORT's 2020-01-19 08:15:54 +07:00
bbd033c254 lib: restore dll loader support 2020-01-19 07:38:37 +07:00
0fe18ae6dc engine: fix -Wmaybe-uninitialized 2019-12-24 02:47:51 +03:00
e11a08064d engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics 2019-12-23 06:48:17 +03:00
dd1daa5bff engine: correctly validate blueshift maps 2019-12-03 02:27:08 +03:00
3da10f28c4 engine: restored BShift maps support 2019-12-02 02:14:02 +03:00
077bc7323c engine: host: fix crash 2019-12-02 01:01:39 +03:00
6f2b559c5a engine: common: cfgscript.c: change wrong variable type to fix compilation. 2019-12-01 17:30:48 +03:00
0991255534 engine: dedicated: fix dedicated build 2019-11-28 19:23:34 +03:00
c07109e69c engine: fix -Wincompatible-pointer-types, add it to Werror list 2019-11-28 19:18:50 +03:00
08e7bb1bf4 engine: common: enable our own build number counter, move legacy to Q_buildnum_compat 2019-11-28 17:49:14 +03:00
ecd675926a engine: cvar: add null checks as these functions are passed to user's DLL 2019-11-26 02:48:16 +03:00
9421457b3a engine: big refactoring commit, instead of using platform-specific platform-specific macros, use appropriate macros set by public/build.h 2019-11-24 03:52:08 +03:00
ac4a14ef6c engine: host: support DEFAULT_DEV macro 2019-11-24 03:02:12 +03:00
f56887bde9 engine: fix rodir, now it always creates gamefolder in rwdir. Fixes #87 2019-11-24 02:12:17 +03:00
23fe1c0985 engine: use appropriate path array length 2019-11-24 02:10:52 +03:00
936b491248 engine: dedicated: remove unused stub 2019-11-08 01:09:55 +03:00