Alibek Omarov
0efc5e82ec
engine: fix some const qualifier lose and pointer-to-int casts
3 years ago
Alibek Omarov
a547526e86
engine: fix some signed char cases
3 years ago
SNMetamorph
09d647182d
engine: net_encode: equality comparisions replaced with Q_equal macros
4 years ago
SNMetamorph
8b76ab93fb
engine: net_encode: made delta more GoldSrc consistant
4 years ago
Alibek Omarov
15ec6539e3
engine: filesystem: fix custom loader enabled by mistype
4 years ago
Alibek Omarov
2147542e33
engine: all user libraries packed inside archives are now deprecated
4 years ago
Alibek Omarov
a0af256641
engine: library: fix saves on 64-bit Windows, compile custom loader only on x86
4 years ago
Alibek Omarov
21174dc9cf
engine: library: fix missing return
4 years ago
Alibek Omarov
894726d699
engine: disable custom DLL loader for everything except 32-bit x86
4 years ago
a1batross
4abe1a77f4
engine: filesystem: fix missing newline in debug message
4 years ago
Alibek Omarov
6e0d372504
engine: fix FunctionFromName on MSVC, fix memory leak
4 years ago
Alibek Omarov
91ee9bd32a
engine: merge tests for imagelib
4 years ago
Alibek Omarov
6ea25b8194
engine: add simple unit-testing (v3?)
4 years ago
Alibek Omarov
5bc4359a2f
engine: implement platform neutral saves, now we can load saves made in Linux on Windows and vice-versa
4 years ago
Alibek Omarov
37c5dfa49f
engine: generalize maps command and map command autocompletion
4 years ago
Alibek Omarov
9b1fccd1fa
engine: move Cbuf_Execute to ClientBegin stub for dedicated server, to avoid confusion
4 years ago
exstrim401
db3e71bfcc
engine: Removed unused Haiku variables
4 years ago
exstrim401
2b436dced0
engine: Remove XASH3D_MIRRORDIR
...
also make XASH3D_GAME for all platforms
4 years ago
exstrim401
a89f9fa181
engine: Haiku BeGameLauncher support
4 years ago
Alibek Omarov
6063149b93
engine: match DT_TIMEWINDOW_* behaviour to GoldSrc: it's always signed and it's more of an integer than float value
4 years ago
Alibek Omarov
a28d15e519
engine: match DT_TIMEWINDOW_* behaviour to GoldSrc: it's always signed and it's more of an integer than float value
4 years ago
Alibek Omarov
94959110f6
engine: fix typo, #488
4 years ago
Alibek Omarov
9313f7e80e
engine: replace pool pointer by pool handle
4 years ago
Alibek Omarov
43f1137565
engine: use substring search for mpfilter
4 years ago
exstrim401
b7922368bd
engine: Haiku OS support ( #478 )
4 years ago
Alibek Omarov
ddd48c420b
engine: decrease instanced baseline index by minus one to avoid zero offset which interpreted as no baseline at all
4 years ago
Alibek Omarov
d54a648792
engine: common: avoid sign bit loss in MSG_WriteBitLong
4 years ago
Alibek Omarov
585955eb19
engine: filesystem: add an error message if we're trying to get a handle of a compressed file in ZIP archive
4 years ago
Bohdan Shulyar
ddc4d76668
engine: common: add quote symbol escaping support ( #411 )
4 years ago
Alibek Omarov
f5e400de69
server: fix wrong xashid key on server, it's uuid now
4 years ago
Alibek Omarov
9c8059ea96
engine: imagelib: add BGRA saving for PNG
...
Fix incorrect output, when input format has alpha but flags don't
have set IMAGE_HAS_ALPHA.
Flags are meant to control output format, but input format may be arbitrary,
as usually given by video driver(screenshots, etc)
4 years ago
Alibek Omarov
c62db950f1
server: implement rcon redirection, add redirect command from old engine
4 years ago
Alibek Omarov
acaf15c5d2
engine: increase MAX_LEGACY_SERVERS limit
4 years ago
Alibek Omarov
23974d24c3
engine: try to avoid broken -Werror=duplicated-branches for old GCCs 2
4 years ago
Alibek Omarov
868947cbb4
engine: try to avoid broken -Werror=duplicated-branches for old GCCs
4 years ago
Alibek Omarov
f2ab4c0d0e
engine: cfgscript: don't let scr vars overwrite existing variables
...
we don't use them for storing settings anyway
only for reference in UI
4 years ago
Alibek Omarov
0ba1a8e7bc
engine: cfgscript: reduce copypasted code
4 years ago
Alibek Omarov
26404315cb
engine: filesystem: avoid unnecessary padding in private structs
4 years ago
Alibek Omarov
be1958473b
engine: filesystem: fix liblistgam converting to gameinfo when rodir was enabled
4 years ago
Alibek Omarov
331a2046c8
engine: net: fix delta incorrect casts when field is signed
4 years ago
Alibek Omarov
9120d40ce5
engine: redefine CVAR_DEFINE_AUTO through CVAR_DEFINE macro
4 years ago
Alibek Omarov
155eb1ba58
engine: fix various warnings
4 years ago
Alibek Omarov
efaf7ac622
engine: fix UB on MSG_BigShort
4 years ago
Alibek Omarov
fe2c4af8c2
engine: soundlib: make Sound_GetApproxWavePlayLen behave like in GoldSrc
4 years ago
Alibek Omarov
3e7dd30fd7
engine: soundlib: use stdint definitions for WAV headers
4 years ago
Alibek Omarov
e77957bc81
client: decrease visibility of some cvars
4 years ago
Andrey Akhmichin
75210b1ff6
engine: common: filesystem.c: add binary search for files from zip-archives.
4 years ago
Ivan Avdeev
1b426b67e7
partially fix amd64 build on windows
...
Quality of this commit is questionable. I have no idea whether what I did
here makes sense or not.
But it compiles and runs (provided with hlsdk-xash3d amd64 build, which
is another story).
This omits necessary waf changes that are necessary to make a valid
64-bit build. Apparently it's not enough to just pass `-8` on Windows,
you also need to hack wscript to add `x64` target to MSVC. I'll do that
later when I figure out how.
This change is a precursor for RTX Vulkan effort --
VK_KHR_ray_tracing_pipeline and friends are only available on 64-bit
nvidia drivers (no idea about AMD, pls send GPUs onegai).
4 years ago
Alibek Omarov
d7b3c7b681
engine: proper order for XASH_LOW_MEMORY definitions
4 years ago
Gleb Mazovetskiy
6d614e028a
Fix COM_LibraryError newline handling
...
1. Do not append a trailing newline to the result of COM_GetLibraryError.
2. Fix call sites.
4 years ago