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
cacfff008f
engine: common: enable autocomplete for mp3 command
2023-04-19 17:54:45 +03:00
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
cadad6ce34
github: attempt to avoid release draft issue by sleeping for 20s
2023-04-19 16:32:21 +03:00
588d080a63
github: migrate to softprops/action-gh-release to avoid drafts being randomly created (thanks @SNMetamorph )
2023-04-19 15:05:41 +03:00
1affc36f06
engine: client: more accurate ScreenShake implementation, thanks @vasiavasiavasia95 for sharing it
2023-04-18 17:28:27 +03:00
8d6ac3fad4
engine: common: net_encode: cosmetic changes, static-ize functions, move private macros
2023-04-18 05:16:57 +03:00
0d5d30398b
filesystem: VFileSystem009: refactoring
2023-04-18 04:50:47 +03:00
eb0686fca1
filesystem: fix wrong data type for character in Gets and Ungetc
2023-04-18 04:47:55 +03:00
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
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
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
84fc8d4281
public: build: fix naming for 32-bit RISCV with double precision float ABI
2023-04-17 19:09:59 +03:00
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
c1252b5642
scripts: waifulib: vgui: fix Logs aren't being imported
2023-04-17 06:36:58 +03:00
7d54952422
3rdparty: vgui_support: update submodule
2023-04-17 05:22:02 +03:00
b28d10f69f
scripts: waifulib: split vgui_support VGUI detection to separate module
2023-04-17 05:20:22 +03:00
6cb3b2f01a
wscript: print modules help before engine common options
2023-04-17 05:19:56 +03:00
248be5458f
engine: common: hpak: do not print hashpak contents in quiet mode
2023-04-17 04:39:21 +03:00
2e7306e96a
engine: network: fix missing newline in IP port allocation error message
2023-04-17 04:37:16 +03:00
Ivan Avdeev
cfddb75bc5
rt: remove freeze_models functionality ( #513 )
...
It's been obsolete and broken for many months now.
Fixes #509
2023-04-15 10:51:34 -07:00
Ivan Avdeev
b4dde5bafd
rt: don't cull c/cw triangles to fix shadow leaks ( #508 )
...
de_cbble contains a bunch of floating boxes, which makes sunlight leak if internal back-facing surfaces are culled.
Generally, we should not be culling ray traced triangles (unless absolutely necessary for correctness), as it makes the shader perform additional unnecessary checks.
Try disabling culling universally and see whether it breaks anything.
Fixes #507
2023-04-15 09:44:04 -07:00
558ded6d6a
filesystem: tests: interface: use correct type for module on Win32
2023-04-15 04:58:29 +03:00
c52dc69360
scripts: gha, cirrus: fix failing workflows because of --enable-fs-tests flag removal
2023-04-15 04:24:45 +03:00
ba1648c689
mainui: update
2023-04-15 04:19:14 +03:00
101a7a1240
engine: client: try to fix random crash in CL_ClearWorld when using legacy protocol
2023-04-15 04:08:40 +03:00
25d6b2b069
engine: client: fix FlushEntityPacket message overflow on legacy servers
2023-04-15 04:08:40 +03:00
f67b97e63c
engine: common: mod_bmodel: remove useless copy before Q_strnlwr, as Q_strnlwr already copies string
2023-04-15 04:08:40 +03:00
9a24cb8c96
engine: client: console: remove useless function Con_StringLength
2023-04-15 04:08:40 +03:00
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
2023-04-15 04:08:12 +03:00
de88aec958
filesystem: restore DarkPlaces contributors copyrights lost in filesystem_stdio
...
* Add Xash3D FWGS contributors copyrights
2023-04-15 02:39:38 +03:00
7f31871b5a
engine: common: zone: restore Id Software and Darkplaces copyrights, add Xash3D FWGS copyrights
2023-04-15 02:39:16 +03:00
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
2023-04-14 20:33:07 +03:00
Ivan Avdeev
2dd4059704
vk: fix func_wall surface patching
...
Non-worldmodel models were using incorrect surface indexes when asking
for surface patches.
2023-04-14 10:08:40 -07:00
824a34ee1e
engine: common: imgelib: fix declaration after statement in test code
2023-04-14 18:58:43 +03:00
Ivan Avdeev
b894337d0e
vk: fix validation errors for empty combufs
2023-04-13 11:03:36 -07:00
Ivan Avdeev
1b0c8c763e
vk: slightly improve texcoord patching
...
Now _xvk_tex_offset and _xvk_tex_scale can be used independently to
offset or scale texture coordinates for given surface list.
2023-04-13 11:03:36 -07:00
Ivan Avdeev
b5e5d699bc
vk: deduplicate map (re)loading code
2023-04-13 11:03:36 -07:00
Ivan Avdeev
b3ffd911bb
vk: allow dynamic surface/material patching
...
Refactor NewMap and patch loading a bit.
2023-04-13 11:03:36 -07:00
46e2ccd2bf
filesystem: wscript: check interface test before everything else
...
It makes sense since we're using sequential execution here anyway
2023-04-13 20:07:58 +03:00
339c08d89f
public: add basic test for our strcpy, strcmp and strcat functions
2023-04-13 19:56:31 +03:00
2db2375b4d
waifu: upgrade to latest revision
2023-04-13 18:43:08 +03:00
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
2023-04-13 18:40:27 +03:00
db40d58208
filesystem: add test for probing all interfaces
2023-04-13 18:39:21 +03:00
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
2023-04-13 16:14:09 +03:00
Ivan Avdeev
90591cfb3d
vk: add patching props for surface texture coordinates
2023-04-12 11:57:07 -07:00
Ivan Avdeev
1fd9e49f63
vk: add normal_scale to materials
2023-04-12 11:57:07 -07:00