Alibek Omarov
a292d2fd53
platform: win32: replace Q_sprintf calls by Q_snprintf
2023-04-26 05:20:45 +03:00
Alibek Omarov
27aad9f4a0
ref: gl: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
71a3cedba8
filesystem: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
ec2951cf45
engine: add size argument to COM_Default/ReplaceExtension calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
ff436ae100
public: crtlib: add safe COM_DefaultExtension and COM_ReplaceExtension
2023-04-26 05:20:45 +03:00
Alibek Omarov
cfdfdd5c93
utils: mdldec: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8b96e7ca87
ref: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
1603b8028c
filesystem: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
8c7db8499f
engine: add size argument to COM_FileBase calls
2023-04-26 05:20:45 +03:00
Alibek Omarov
fbdd79644b
public: test new COM_FileBase and compare it's results with old implementation (embedded into test itself)
2023-04-26 05:20:45 +03:00
Alibek Omarov
ac39090f6e
public: crtlib: add safe COM_FileBase implementation
2023-04-26 05:20:45 +03:00
Alibek Omarov
8f207362a5
public: remove Q_sprintf, and patch all code that used it to use Q_snprintf instead
2023-04-26 05:20:45 +03:00
Alibek Omarov
b16fa8eddc
public: remove Q_strcat and Q_strcpy, and patch the code that uses it
2023-04-26 05:20:45 +03:00
Alibek Omarov
2261b0dcab
scripts: gha: set --disable-werror for building HLSDK
2023-04-25 13:10:12 +03:00
Alibek Omarov
9eb49fc673
scripts: gha: win32: finally use destdir instead of prefix on Windows
2023-04-25 13:05:34 +03:00
Alibek Omarov
c61c84ad4f
Revert "wscript: check malloc.h first to make checks on Windows slightly faster"
...
This reverts commit 1464e1e2be
.
2023-04-25 12:39:47 +03:00
Alibek Omarov
71c9fd2772
wscript: do not check for --prefix without --enable-packaging, as it's still valid to use
2023-04-25 03:01:35 +03:00
Alibek Omarov
1464e1e2be
wscript: check malloc.h first to make checks on Windows slightly faster
2023-04-25 02:39:07 +03:00
Alibek Omarov
cf557d191a
wscript: make prefix vs destdir installing more safe and predictable
2023-04-25 02:38:36 +03:00
Alibek Omarov
b72033eb74
engine: client: fix master server query through NetAPI
2023-04-23 22:05:11 +03:00
Alibek Omarov
cec903fd10
mainui: update
2023-04-23 18:44:17 +03:00
Alibek Omarov
b333edeefe
public: crtlib: remove unused Q_strlwr macro
2023-04-23 18:31:08 +03:00
Alibek Omarov
76c7273600
utils: mdldec: remove usage of string functions with unspecified size
2023-04-23 18:30:44 +03:00
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.
2023-04-23 18:19:28 +03:00
Ivan Avdeev
aab689a37b
ci: temporarily disable the nswitch target
...
It started failing suddenly w/o any changes on our part. It is irrelevant for this fork, so disable it for now.
2023-04-22 13:45:25 -07:00
Ivan Avdeev
935c2e7f5e
rt: remove a bunch of extra material flags
...
These are either unused, or their meaning can be recovered through other
means.
2023-04-21 23:34:27 -07:00
Ivan Avdeev
41b033efbd
vk: comment various material-related things
...
This is in preparation for #460
2023-04-21 23:34:27 -07:00
Alibek Omarov
5b52a9a19f
engine: protocol: increase MAX_LIGHTSTYLES from 64 to 256, protocol limit as it encoded as unsigned byte
2023-04-20 10:35:21 +03:00
Ivan Avdeev
e9f15edbd5
vk: fix refercing func_wall ents by indexes; only model names work
2023-04-19 20:25:00 -07:00
Ivan Avdeev
d7660cf358
vk: patch func_wall ents by their index, not model name
...
Note that referencing them by ent->index inside the engine is not
possible, as this index is not stable enough.
2023-04-19 20:25:00 -07:00
Ivan Avdeev
ca2a794341
vk: patch func_wall model/ents visible offsets
...
Fixes #335
Patching is still done using "model" key, using "_xvk_ent_id" needs
complete overhaul of how patching is done
2023-04-19 20:25:00 -07:00
Ivan Avdeev
7c6e22bb2c
rt: extract basic func_wall patching support from PR #506
...
That PR has more stuff in it which we decided to drop.
This commit only contains:
- Detection of func_wall models, and adding their lights as static
(fixes #415 ).
- Patching func_wall models offsets, #335 . Does not yet patch them
visually, but patches their light sources. Will be addressed in next
commits. Patching is done via model name, not entity id, also will be
fixed.
- Does not address culling (#118 ). This is the part dropped from the PR.
Needs different approach. TBD
2023-04-19 20:25:00 -07:00
Alibek Omarov
cacfff008f
engine: common: enable autocomplete for mp3 command
2023-04-19 17:54:45 +03:00
Alibek Omarov
398cec626e
engine: client: remove media/ prefix for CD tracks, add it while parsing cdaudio.txt for compatibility
2023-04-19 17:54:28 +03:00
Alibek Omarov
cadad6ce34
github: attempt to avoid release draft issue by sleeping for 20s
2023-04-19 16:32:21 +03:00
Alibek Omarov
588d080a63
github: migrate to softprops/action-gh-release to avoid drafts being randomly created (thanks @SNMetamorph )
2023-04-19 15:05:41 +03:00
Alibek Omarov
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2023-04-18 17:28:27 +03:00
Alibek Omarov
8d6ac3fad4
engine: common: net_encode: cosmetic changes, static-ize functions, move private macros
2023-04-18 05:16:57 +03:00
Alibek Omarov
0d5d30398b
filesystem: VFileSystem009: refactoring
2023-04-18 04:50:47 +03:00
Alibek Omarov
eb0686fca1
filesystem: fix wrong data type for character in Gets and Ungetc
2023-04-18 04:47:55 +03:00
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
2023-04-18 04:45:27 +03:00
Tim Schumacher
6518a5cf8b
engine: whereami: Add SerenityOS
2023-04-17 19:30:11 +03:00
Alibek Omarov
49936120ca
public: tests: add new test to check return values of Q_Architecture/PlatformStringByID and Q_buildnum
2023-04-17 19:11:16 +03:00
Alibek Omarov
e4a5b95e81
public: build: split Q_buildnum to separate function that calculates build number from arbitrary date string
2023-04-17 19:10:40 +03:00
Alibek Omarov
84fc8d4281
public: build: fix naming for 32-bit RISCV with double precision float ABI
2023-04-17 19:09:59 +03:00
Alibek Omarov
e9da3e2976
public: build: reorder enums by probability, rename ARCHITECTURE_ ABI macros to just ARCH_ for easier matching
2023-04-17 06:37:08 +03:00
Alibek Omarov
c1252b5642
scripts: waifulib: vgui: fix Logs aren't being imported
2023-04-17 06:36:58 +03:00
Alibek Omarov
7d54952422
3rdparty: vgui_support: update submodule
2023-04-17 05:22:02 +03:00
Alibek Omarov
b28d10f69f
scripts: waifulib: split vgui_support VGUI detection to separate module
2023-04-17 05:20:22 +03:00
Alibek Omarov
6cb3b2f01a
wscript: print modules help before engine common options
2023-04-17 05:19:56 +03:00