Commit Graph

2600 Commits

Author SHA1 Message Date
Ivan 'provod' Avdeev
1b834f37be rt: join metadata and grid buffers together (breaks validation) 2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
608bf020c4 rt: move light metadata uploading to vk_light.c 2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
1f741a48a3 rt: hide emissive_textures info 2022-08-15 09:31:13 -07:00
Ivan 'provod' Avdeev
a5efa71ecb rt: clean vk_light a bit 2022-08-15 09:31:13 -07:00
Ivan Avdeev
202f2b8462 rt: print material load stats 2022-08-13 14:17:43 -07:00
Ivan Avdeev
8ee68935d0 rt: do not print each material texture lookup 2022-08-13 14:17:43 -07:00
NightFox
91df117998
new material paths (#382) 2022-08-12 10:27:41 -07:00
NightFox
557d6c1ab6
fix incorrect display device id in r_show_devices (R_GetRenderDevices_f) (#383)
fixed #381
2022-08-12 10:22:54 -07:00
Ivan Avdeev
bdbcddb5ea
Merge pull request #386 from w23/merge-from-upstream
Merge from upstream @ 28d7f2eaa2
2022-08-12 10:21:51 -07:00
Ivan Avdeev
85c55a7fc9 update after merge, make it build and run with rasterizer
have not checked ray tracing, or playing longer than a couple of minutes
2022-08-08 00:23:38 -07:00
Ivan Avdeev
6b9ddf288f Merge remote-tracking branch 'upstream/master' into merge-from-upstream 2022-08-08 00:08:17 -07:00
Andrey Akhmichin
28d7f2eaa2 Documentation: not-supported-mod-list-and-reasons-why.md: update. 2022-08-07 22:49:04 +03:00
0d449370e0 filesystem: fixes for GCC 3 2022-08-06 20:33:01 +03:00
10ad1c3b38 filesystem: use correct flushing function for file descriptors on Win32 2022-08-06 20:19:42 +03:00
90c566dde3 wscript: enable GCC's -Wmisleading-indentation 2022-08-06 20:17:42 +03:00
33cbead4a4 filesystem: wscript: fix library name on Android 2022-08-06 20:17:41 +03:00
d6dfeaeba7 engine: fix searching filesystem_stdio on mobile platforms 2022-08-06 20:16:56 +03:00
bc00c6c54b vgui_support: update 2022-08-06 20:16:56 +03:00
3d5aa7c20c engine: remove mistakingly placed NORETURN attributes 2022-08-05 18:05:40 +03:00
SNMetamorph
a5ba43ea39 engine: fixed vulnerability in NAT bypass mechanism 2022-08-02 18:01:28 +03:00
3eb4862794 common: remove unneeded typedef for wad file type 2022-08-01 15:06:54 +03:00
c025606739 engine: whereami: fix C89 in Android detection 2022-08-01 14:33:36 +03:00
067e9be37a scripts: upgrade to Android NDK 25 2022-08-01 14:25:44 +03:00
b7b9c611cf filesystem: wscript: disable RTTI and exceptions(useful on Android), we don't need it here. Link as C++ library. 2022-08-01 14:06:00 +03:00
3c4eec62ae engine: let engine find the filesystem library, if it wasn't loaded yet 2022-08-01 13:25:51 +03:00
SNMetamorph
fd7dba74cd filesystem: fixed build for Windows 2022-08-01 12:54:26 +03:00
SNMetamorph
a8674c18df engine: platform: win32: fixed build for Windows 2022-08-01 12:54:26 +03:00
SNMetamorph
b26cd6cc94 wscript: added /Zc:__cplusplus compiler flag for MSVC 2022-08-01 12:54:26 +03:00
55a29e6e6b filesystem: implement VFileSystem009 interface 2022-07-28 18:56:02 +03:00
56d7c05b51 filesystem: generated VFileSystem009 from pdwtags output, removed unneeded in C++ this first argument 2022-07-28 18:56:02 +03:00
5e4fc64430 filesystem: introduce new module, based on engine filesystem.
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2022-07-28 18:56:02 +03:00
12ea6dcfd7 public: move build.c from engine to public library, in preparation of filesystem_stdio merge 2022-07-26 04:10:36 +03:00
a41f8cb01b engine: move version strings to com_strings.h file, in preparation of filesystem_stdio branch merge 2022-07-26 04:07:52 +03:00
a9c82dbe21 public: make crtlib linkable with C++ 2022-07-26 03:17:11 +03:00
5350d88f57 public: crtlib: add quotation mark support for ParseFile, required for filesystem_stdio 2022-07-26 03:17:11 +03:00
fc132e87f4 engine, game_launch: fix rpath usage 2022-07-26 02:54:20 +03:00
Ivan 'provod' Avdeev
0d0241d088 vk: recreate swapchain on all errors except fatal
Unless we know the error is unrecoverable, try to recreate swapchain anyway.
2022-07-23 14:17:20 -07:00
Ivan 'provod' Avdeev
8291efd08b rt: fix polygon light clusters on missing pvs 2022-07-23 13:39:37 -07:00
Ivan 'provod' Avdeev
af594203f8 rt: fix point light cluster crash on missing pvs
will still crash for polygon lights
2022-07-23 13:39:37 -07:00
Ivan 'provod' Avdeev
9b76f3acb4 rt: fix missing moving polygon lights 2022-07-23 12:06:43 -07:00
NightFox
8baf34768a correct environment light power 2022-07-23 11:34:57 -07:00
Valery Klachkov
658a67e09e Fix #634 2022-07-23 11:33:42 -07:00
Ivan 'provod' Avdeev
ceea3a614e vk: do not forget to upload staging without rays 2022-07-23 11:33:15 -07:00
c326853617 engine: server: restore original PEntityOfEntIndex function, but still bug-compatible with GoldSrc 2022-07-21 01:52:10 +03:00
Valery Klachkov
3ad60a0fa1
engine: fix uninitialized variable in demo parsing code, fix incorrect size counter in memory allocator 2022-07-16 16:59:41 +03:00
Ivan 'provod' Avdeev
aaab09fd38 vk: remove old ring buffer helper 2022-07-15 00:50:29 -07:00
772f4dcb60
scripts: gha: win32: fix build type from debug to release 2022-07-14 18:26:47 +03:00
657a6af9dc mainui: update 2022-07-13 19:45:42 +03:00
5e1f189db3 engine: platform: posix: use RTLD_NOW instead of lazy.
It actually was a misconception coming from old engine fork
We want to track unresolved symbols before library could be loaded

Also, disable "symbol not found" spam in FunctionFromName. Due to how
savefile mangling convert works and compatibility with GoldSrc saves,
this function is used to bruteforce possible symbol names.
2022-07-13 19:26:38 +03:00
a2d11f670a engine, public: fix float precision issues in mathlib and monster navigation code 2022-07-13 19:26:38 +03:00