Alibek Omarov
61fe9fd1fe
engine: fix some left shifts on signed integers
4 years ago
Gleb Mazovetskiy
2106eef4b2
system.c: Fix `Sys_Warn/Error` text buffer sizes
...
This was using the wrong define
E.g. `-dev 2 -help` output did not fit into it
4 years ago
Gleb Mazovetskiy
69e15e9c7b
gl4es: Fix `so` name and add to renderer collector
...
1. `libref_gles2_gl4es.so` -> `libref_gl4es.so` because this is what's
passed to `R_LoadRenderer`.
2. Add `gl4es` to `DEFAULT_RENDERERS` so that `R_CollectRendererNames`
finds it.
4 years ago
Andrey Akhmichin
abd9778ef3
engine: common: simplified strings operations.
4 years ago
Andrey Akhmichin
c53985c0bc
engine: common: imagelib: img_tga.c: refactor Targa encoder.
4 years ago
Alibek Omarov
2aaa6c6e04
public: build: add ARMv8 32-bit support, in case of someone actually uses it
4 years ago
Alibek Omarov
d4003f9527
crashhandler: fix build
4 years ago
Alibek Omarov
d30605c09f
engine: fixes for dedicated
4 years ago
Alibek Omarov
9ff6d44178
crashhandler: remove unknown arch error
4 years ago
Andrey Akhmichin
065811cc46
engine: common: filesystem.c: do not load zip-archives with zip extension as bullet proof.
4 years ago
Andrey Akhmichin
e69956c9ea
engine: common: imagelib: img_png.c: set IMAGE_HAS_ALPHA flag only for RGBA images.
4 years ago
mittorn
bef873e1f8
platform/android: enable dynamic dladdr, fix build
5 years ago
Alibek Omarov
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
5 years ago
Alibek Omarov
a641488b98
engine: imagelib: img_bmp: add paranoid checks for estimated file size to not exceed real buffer. Needs proper testing.
5 years ago
Alibek Omarov
46b0590e4e
engine: imagelib: refactor to use stdint.h definitions, use spaces for alignment instead of tabs
5 years ago
Alibek Omarov
9b22149509
engine: host: execute server.cfg right before main loop starts
5 years ago
Alibek Omarov
e0dfc4c0b4
launcher: oops, enable NOCONHOST only for Win32
5 years ago
Alibek Omarov
732cb925e5
launcher: use engine definitions, enable cocon_win by default, fix Com_LoadLibrary to COM_LoadLibrary, fix memory leak, fix incorrect argv
5 years ago
lewa_j
deb7591d1e
Fix SaveBMP
5 years ago
Alibek Omarov
82c54b1b54
engine: disallow zero-width strings for getenv()
5 years ago
Alibek Omarov
8d942bcc86
xash3d_types: start refactoring engine to use stdint.h types
5 years ago
Aimless Wanderer
51a45d745e
engine: userconfig.d support from old engine
5 years ago
Alibek Omarov
dc2ab714f6
mpg123: backport some UB fixes from upstream
5 years ago
Alibek Omarov
4c6fd79f07
tgmath: remove including tgmath.h in everything that uses xash3d_mathlib, as it's included already
5 years ago
Alibek Omarov
3d9c482eae
host: add -help, fix #136
5 years ago
Andrey Akhmichin
248c8a745c
engine: common: imagelib: split imagelib.h.
5 years ago
Andrey Akhmichin
e96ea719d5
engine: common: imagelib: use rgba_t as RGBA palette type.
5 years ago
nillerusr
4021d7bf5c
imagelib: fix unaligned access
5 years ago
mittorn
68472f90eb
filesystem: disable XASH_REDUCE_FD where it not needed, fix null pointer deference
5 years ago
Andrey Akhmichin
e3b547c8a9
public: rename mathlib to xash3d_mathlib.
5 years ago
Andrey Akhmichin
01e2ea24da
engine: common: imagelib: img_png.c: add a missing return statement.
5 years ago
Andrey Akhmichin
f5783ae1df
engine: common: imagelib: img_tga.c: check pixel type before buffer allocation.
5 years ago
mittorn
27da2e10ff
filesystem: fix const cast
5 years ago
mittorn
7d0e45b507
network: restore WSAsize_t define for win32
5 years ago
mittorn
c7e3eae9dd
filesystem: fix wrong types
5 years ago
mittorn
d8f20f3642
common: add DOS4GW platform
5 years ago
mittorn
3e3aff040e
platform: add Platfrom_Init, Platform_Shutdown, Platform_MouseMove move platform-specific code from host.c
5 years ago
mittorn
adc718f4d5
public: add XASH_POSIX platform define
5 years ago
mittorn
22c148a39e
filesystem: refactor zip/pak loading, partially fix reading files from zip, add option to reduce FD usage, remove dup() dependency
5 years ago
mittorn
2b90790071
network: add stub for systems without BSD sockets, WATTCP support
5 years ago
mittorn
070272489d
library: fix saverestore offsets code from old engine
5 years ago
mittorn
538d8a6fb4
network: fix NET_MAX_FRAGMENT limit
5 years ago
mittorn
3a416636f1
engine: mark GAME_EXPORT's
5 years ago
mittorn
bbd033c254
lib: restore dll loader support
5 years ago
Alibek Omarov
0fe18ae6dc
engine: fix -Wmaybe-uninitialized
5 years ago
Alibek Omarov
e11a08064d
engine: fix implicit-fallthrough, uninitialized, enum-conversation compiler diagnostics
5 years ago
Alibek Omarov
dd1daa5bff
engine: correctly validate blueshift maps
5 years ago
Alibek Omarov
3da10f28c4
engine: restored BShift maps support
5 years ago
Alibek Omarov
077bc7323c
engine: host: fix crash
5 years ago
Andrey Akhmichin
6f2b559c5a
engine: common: cfgscript.c: change wrong variable type to fix compilation.
5 years ago