Alibek Omarov
155eb1ba58
engine: fix various warnings
4 years ago
Alibek Omarov
efaf7ac622
engine: fix UB on MSG_BigShort
4 years ago
Alibek Omarov
6cc2205321
public: strlen must return size_t, not int
4 years ago
Alibek Omarov
0a818f3f3f
client: add waveplaylen console command like in GoldSrc
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
42f47f51b5
server: implement GetFileSize and GetApproxWavePlayLen from HLSDK 2.4
4 years ago
Alibek Omarov
aea9e8efa2
server: sv_validate_changelevel is deprecated now and disabled by default
...
If anyone wants this feature back, use +sv_validate_changelevel 1 in command line.
4 years ago
Alibek Omarov
a6cd67cc65
mainui: update submodule, fix #332
4 years ago
Alibek Omarov
585ae28dd2
server: fix some int <> unsigned int conversions
4 years ago
Alibek Omarov
4abac92891
wscript: try to fix tgmath detection on freebsd
4 years ago
Alibek Omarov
a813be7d54
client: add cl_showpos
4 years ago
Alibek Omarov
e77957bc81
client: decrease visibility of some cvars
4 years ago
Alibek Omarov
9b6f26c191
mdldec: build with CONSOLE subsystem on Win32
4 years ago
Alibek Omarov
385cc3f497
public: remote obsolete header
4 years ago
Alibek Omarov
c0db39594b
scripts: enable building utils for PC platforms
4 years ago
Alibek Omarov
add4cf4232
mdldec: add wscript, disabled by default
4 years ago
Alibek Omarov
586d613a27
ref_soft: uncomment texture API functions implementations, they must be working now
...
Fixes #326 and probably some ref_soft crashes
4 years ago
Alibek Omarov
45334064b6
ref_gl: remove detail textures list generation leftovers
4 years ago
Alibek Omarov
ca84a1a10e
engine: fix building with SDL older than 2.0.4
4 years ago
Alibek Omarov
14008703f6
wscript: fix tgmath check for old toolchails like GCW0
4 years ago
Alibek Omarov
58edfbc485
engine: move cvars that expected to exist by client.dll from render dll to engine
...
Fixes #316
4 years ago
Alibek Omarov
fa555c1f09
server: add hardcoded list of chapters for HL, BS and OF, same as GoldSrc
...
Fix incomplete comment in save file when server DLL provides SV_SaveGameComment.
Fix possible buffer overflow when reading comment from save file.
4 years ago
Andrey Akhmichin
75210b1ff6
engine: common: filesystem.c: add binary search for files from zip-archives.
4 years ago
Alibek Omarov
b278751834
waf: upgrade to waifu 1.1.0
4 years ago
a1batross
3b192ca490
engine: sdl: don't free NULL vidmodes
4 years ago
Alibek Omarov
12dd225db2
cirrus: fix freebsd 12 image
4 years ago
SNMetamorph
56d5f08128
platform: win32: fixed crashes in COM_CheckLibraryDirectDependency
4 years ago
Alibek Omarov
256284d76f
wscript: refactor loading MSVC tools, apply @w23 hack for renaming DEST_CPU
4 years ago
Alibek Omarov
cf5ebd128c
client: fix XASH_64BIT check
4 years ago
Ivan 'provod' Avdeev
5b597028fe
make it reliably compile for amd64 on windows
...
This makes it possible to just pass `-8` to ./waf configure on Windows
and it will build 64-bit binaries. Yay I guess.
However, it's completely broken conceptually -- it ends up just brute
rewriting `conf.env.DEST_CPU` from `amd64` to `x86_64` at one particular
point in wscript. Why? Because many places in build system expect
`x86_64` as 64-bit DEST_CPU, especially breaking SDL2 lib detection.
Some of these are in waifu and patching that is beyond what I can hold
in my head right now.
Why that particular point? Because it DEST_CPU gets rewritten a few
times before that and no times after it seems.
This does not address `./waf msvs` VS project generation yet -- it will
still produce only Win32 platform that needs to be manually rewritten.
There's a mechanism for msvs extras to be passed a set of platforms, but
I've yet to make it work.
4 years ago
Ivan Avdeev
012d1fa8bd
fix USE_MMAP usage
...
should fix CI failures
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
SNMetamorph
8d50049db7
netgraph: fixed data usage graphs rendering
4 years ago
SNMetamorph
cba9fb1a07
vid_common: added vid_mode cvar for proper working VideoModes menu in game settings
4 years ago
SNMetamorph
932fc8e3c7
wscript: fixed MSVC optimization flag in debug mode
4 years ago
mittorn
5884cf88d3
crtlib: fix undefined behaviour when stripping extenstion from empty string
4 years ago
Skyrim-police
d2157fa28c
Documentation: supported-mod-list: fix dead links
4 years ago
mittorn
6e43f9bdd0
waf: fix wrong message about 32-bit build
4 years ago
Gleb Mazovetskiy
d9ed654f04
bump gl4es
...
Build fix: d79ac6a6d7
A few rendering fixes:
* 1f52c84f5a
* d8a2dc35ee
4 years ago
Alibek Omarov
8090db2e75
netgraph: change netgraph buffer size for low memory mode
4 years ago
Alibek Omarov
652a946e09
ref_gl: update gl4es submodule
4 years ago
Alibek Omarov
d6d90f03a0
wscript: refactoring, split optimization flags selection and fpic control into standalone modules
4 years ago
Alibek Omarov
d7b3c7b681
engine: proper order for XASH_LOW_MEMORY definitions
4 years ago
Andrey Akhmichin
c158771f59
ref_gl: gl_rsurf.c: don't use asserts to prevent engine from stopping when vbo is disabled.
4 years ago
lewa_j
63c4b2748c
platform: win32: sdl: Fix zombie processes after early Sys_Error on windows+sdl
4 years ago
Andrey Akhmichin
9bc3d6d315
utils: mdldec: better validity checks.
4 years ago
Andrey Akhmichin
1a59389261
utils: mdldec: STUDIO_NF_SMOOTH texture flag means "smooth" texrendermode.
4 years ago
Alexey
221a9bab54
Fix screenshots on gles1
...
> format must be either GL_RGBA or the value of GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES.
4 years ago
a1batross
102fb8ec40
mainui: update submodule
4 years ago