Alibek Omarov
76c7273600
utils: mdldec: remove usage of string functions with unspecified size
2 years ago
Alibek Omarov
096ee34f67
public: remove Q_vsprintf, replace by proper Q_vsnprintf proper calls
...
Fixes weird off by one error caused by glibc updates? I didn't tracked
what causes it exactly but replacing it seems to work. Anyway, we should
remove all 99999 hacks in libpublic.
2 years ago
Alibek Omarov
5b52a9a19f
engine: protocol: increase MAX_LIGHTSTYLES from 64 to 256, protocol limit as it encoded as unsigned byte
2 years ago
Alibek Omarov
cacfff008f
engine: common: enable autocomplete for mp3 command
2 years ago
Alibek Omarov
398cec626e
engine: client: remove media/ prefix for CD tracks, add it while parsing cdaudio.txt for compatibility
2 years ago
Alibek Omarov
cadad6ce34
github: attempt to avoid release draft issue by sleeping for 20s
2 years ago
Alibek Omarov
588d080a63
github: migrate to softprops/action-gh-release to avoid drafts being randomly created (thanks @SNMetamorph )
2 years ago
Alibek Omarov
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2 years ago
Alibek Omarov
8d6ac3fad4
engine: common: net_encode: cosmetic changes, static-ize functions, move private macros
2 years ago
Alibek Omarov
0d5d30398b
filesystem: VFileSystem009: refactoring
2 years ago
Alibek Omarov
eb0686fca1
filesystem: fix wrong data type for character in Gets and Ungetc
2 years ago
Alibek Omarov
41025c0049
engine: client: reset connection retries counter on changelevel
...
Fixes an issue when connection retry counter near the failure state
and the server changes level
2 years ago
Tim Schumacher
6518a5cf8b
engine: whereami: Add SerenityOS
2 years ago
Alibek Omarov
49936120ca
public: tests: add new test to check return values of Q_Architecture/PlatformStringByID and Q_buildnum
2 years ago
Alibek Omarov
e4a5b95e81
public: build: split Q_buildnum to separate function that calculates build number from arbitrary date string
2 years ago
Alibek Omarov
84fc8d4281
public: build: fix naming for 32-bit RISCV with double precision float ABI
2 years ago
Alibek Omarov
e9da3e2976
public: build: reorder enums by probability, rename ARCHITECTURE_ ABI macros to just ARCH_ for easier matching
2 years ago
Alibek Omarov
c1252b5642
scripts: waifulib: vgui: fix Logs aren't being imported
2 years ago
Alibek Omarov
7d54952422
3rdparty: vgui_support: update submodule
2 years ago
Alibek Omarov
b28d10f69f
scripts: waifulib: split vgui_support VGUI detection to separate module
2 years ago
Alibek Omarov
6cb3b2f01a
wscript: print modules help before engine common options
2 years ago
Alibek Omarov
248be5458f
engine: common: hpak: do not print hashpak contents in quiet mode
2 years ago
Alibek Omarov
2e7306e96a
engine: network: fix missing newline in IP port allocation error message
2 years ago
Alibek Omarov
558ded6d6a
filesystem: tests: interface: use correct type for module on Win32
2 years ago
Alibek Omarov
c52dc69360
scripts: gha, cirrus: fix failing workflows because of --enable-fs-tests flag removal
2 years ago
Alibek Omarov
ba1648c689
mainui: update
2 years ago
Alibek Omarov
101a7a1240
engine: client: try to fix random crash in CL_ClearWorld when using legacy protocol
2 years ago
Alibek Omarov
25d6b2b069
engine: client: fix FlushEntityPacket message overflow on legacy servers
2 years ago
Alibek Omarov
f67b97e63c
engine: common: mod_bmodel: remove useless copy before Q_strnlwr, as Q_strnlwr already copies string
2 years ago
Alibek Omarov
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2 years ago
Alibek Omarov
c157b7def3
filesystem: tests: interface: various fixes
...
* correctly check success variable value in CreateInterface
* get rid of C language quirks because this file is C++
* check that globals were filled
2 years ago
Alibek Omarov
de88aec958
filesystem: restore DarkPlaces contributors copyrights lost in filesystem_stdio
...
* Add Xash3D FWGS contributors copyrights
2 years ago
Alibek Omarov
7f31871b5a
engine: common: zone: restore Id Software and Darkplaces copyrights, add Xash3D FWGS copyrights
2 years ago
Alibek Omarov
f55ef63e26
ref: optimize R_LightLambert function
...
* Quick exit if no local lights
* Try to minimize Q_min() checks by apply it on temp variables
* Cap final light values only once, after all local lights are calculated
2 years ago
Alibek Omarov
824a34ee1e
engine: common: imgelib: fix declaration after statement in test code
2 years ago
Alibek Omarov
46e2ccd2bf
filesystem: wscript: check interface test before everything else
...
It makes sense since we're using sequential execution here anyway
2 years ago
Alibek Omarov
339c08d89f
public: add basic test for our strcpy, strcmp and strcat functions
2 years ago
Alibek Omarov
2db2375b4d
waifu: upgrade to latest revision
2 years ago
Alibek Omarov
d86ab19351
wscript: refactoring, replace --enable-fs-tests with --enable-tests
...
* Run filesystem tests in sequential order, to avoid tests being run
before filesystem_stdio DLL is linked
* Include new interface test in filesystem
2 years ago
Alibek Omarov
db40d58208
filesystem: add test for probing all interfaces
2 years ago
Alibek Omarov
33ff7bbd61
scripts: waifulib: compiler_optimizations: set default build type to release
...
I think this will make configuration less confusing, also we're stable enough to be built
with optimizations and without debug information
2 years ago
Alibek Omarov
4d4162336a
engine: common: mod_bmodel: apply code style fixes to match existing code, for consistency
2 years ago
Jonathan Poncelet
372514151d
engine: common: mod_bmodel: Fixed default texture name check
...
REF_DEFAULT_TEXTURE defines the canonical name, so is used
instead of a string literal.
2 years ago
Jonathan Poncelet
6c9ce478a9
engine: common: mod_bmodel: Fixed Con_Printf warnings
...
Some formatting characters did not match up with their
values.
2 years ago
Jonathan Poncelet
78555ab125
engine: common: mod_bmodel: Tidied texture loading procedure
2 years ago
Andrey Akhmichin
f2c671d809
utils: mdldec: Fix typo.
2 years ago
Alibek Omarov
4bce193645
mainui: update
2 years ago
Alibek Omarov
129de871e3
engine: common: hpak: use statically allocated hpk_maxsize cvar because gamedll can re-register it for some reason
2 years ago
Alibek Omarov
c24a1fafc5
engine: add missing HPAK_CheckSize/Integrity calls
2 years ago
Alibek Omarov
cee3757e6f
engine: common: hpak: add hpak deletion in validate function
2 years ago