Commit graph

2089 commits

Author SHA1 Message Date
Robert Beckebans
d747be22d6 Fixed compiling MOC on Linux 2024-08-27 14:01:34 +02:00
Robert Beckebans
d34eaf0b09 Fixed compiling on Linux without MOC 2024-08-27 13:28:43 +02:00
Robert Beckebans
0921667151 Merge branch 'master' into 756-masked-software-occlusion-culling 2024-08-27 13:10:45 +02:00
Robert Beckebans
747878eee1 Indented USE_PRECOMPILED_HEADERS blocks 2024-08-27 13:06:22 +02:00
Robert Beckebans
59c309cd65 Merge branch 'master' into 756-masked-software-occlusion-culling 2024-08-27 11:58:07 +02:00
Robert Beckebans
c4e39bdc1c Skip Masked Occlusion Culling on non-SSE2 CPUs 2024-08-27 11:41:39 +02:00
Stephen Saunders
1a2f19b6ad rbdmap for win32: Suppress warnings from imtui / imgui / pdcurses / wincon third-party source libraries 2024-08-26 18:39:46 -04:00
SRSaunders
79ab0b63e6 rbdmap for linux/posix: Replace deprecated readdir_r() with readdir() to eliminate warnings 2024-08-26 17:17:44 -04:00
SRSaunders
5c8881c7cb rbdmap: Suppress warnings from zlib and minizip third-party source libraries 2024-08-26 17:17:44 -04:00
SRSaunders
387c4a18e5 Fix rbdmap / idlib PCH mismatch and cleanup rbdmap PCH files after build 2024-08-26 17:17:44 -04:00
Robert Beckebans
930c968fa9 Turn off occlusion culling for mirrors and subviews 2024-08-26 22:58:59 +02:00
Robert Beckebans
a7d1d7f72e All lights can be culled now 2024-08-26 22:36:58 +02:00
Robert Beckebans
e121472661 Point lights can be culled. #756 2024-08-26 10:26:40 +02:00
Robert Beckebans
5107d12cc5 Don't cull objects that we run into 2024-08-22 23:19:59 +02:00
Robert Beckebans
fc6c1fef7a Query only draw surface boxes with MOC 2024-08-22 22:05:47 +02:00
Robert Beckebans
dba7404eff Don't let TAA mess with masked culling 2024-08-22 00:24:17 +02:00
Robert Beckebans
1fda97ec25 Masked Software Occlusion Culling kinda works 2024-08-22 00:05:04 +02:00
Robert Beckebans
9e919c8d76 Added Masked Software Occlusion Culling lib by Intel 2024-08-21 18:39:52 +02:00
SRSaunders
4d34957f65 Respect basePath parameter vs hardcoded path in R_WritePNG() 2024-08-20 21:57:56 -04:00
Robert Beckebans
b66a4d1838 Merge branch '761-psx-rendermode' 2024-08-17 22:29:08 +02:00
Robert Beckebans
aa8ca629ea Renamed Easymode in menu to Advanced 2024-08-17 22:25:25 +02:00
Robert Beckebans
dbddb347f7 Fixed PSX vertex jiggle in hell sky 2024-08-17 19:05:12 +02:00
Robert Beckebans
ab589eb5ef PSX affine texture mapping 2024-08-17 18:37:50 +02:00
Robert Beckebans
91351f8833 Astyle 2024-08-11 22:01:11 +02:00
Robert Beckebans
25e2208f68 Ported advanced CRT shader by whkrmrgks0 2024-08-07 22:35:16 +02:00
Robert Beckebans
e66754b7f3 Easymode CRT looks like the games on my TV in the 90s 2024-08-05 22:59:28 +02:00
Robert Beckebans
802075fdf6
Merge pull request #923 from SRSaunders/zlib-warnings
Suppress clang deprecated-non-prototype warnings for ZLIB sources
2024-08-05 17:33:05 +02:00
Robert Beckebans
c78f16c0dc
Merge pull request #919 from SRSaunders/mvk-arg-buffers
macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10
2024-08-05 17:29:59 +02:00
SRSaunders
9a3d78ca01 Suppress clang deprecated-non-prototype warnings for ZLIB sources 2024-08-05 11:09:37 -04:00
SRSaunders
3eb260a809 macOS: Add CVAR_NEW tag to r_mvk* cvar declarations 2024-08-03 12:37:29 -04:00
SRSaunders
4c79e21bbc macOS: Fix compile failure when configuring metal argument buffers with MoltenVK >= 1.2.10 2024-08-03 12:13:00 -04:00
Robert Beckebans
885bf8d7c0 Combined easymode CRT with a NTSC signal 2024-08-02 17:30:01 +02:00
Gianfranco Costamagna
ea567131e9 DataQueue.h
also check for b1 being NULL
2024-08-02 15:44:43 +02:00
Robert Beckebans
e14d6d595c Ported RetroArch Aperture CRT shader but not much better than Easymode 2024-08-01 21:05:50 +02:00
Robert Beckebans
cef666f2fd Easymode CRT shader works correctly 2024-08-01 17:23:07 +02:00
Robert Beckebans
a4de5a1350 Tweaked CRT shaders 2024-08-01 16:20:47 +02:00
Gianfranco Costamagna
53310744ce
Update DataQueue.h to fix a build failure in Append method
This is a quick and dirty fix for this gcc-13 build failure on ppc64el with -O3 optimization level:


/usr/bin/g++-13 -DCPUSTRING=\"ppc64el\" -DUSE_DOOMCLASSIC -DUSE_EXCEPTIONS -DUSE_FFMPEG -DUSE_NEWER_JPEG -DUSE_OPENAL -D__DOOM__ -I/usr/include/imgui -I/usr/include/stb -I/<<PKGBUILDDIR>>/neo/. -I/<<PKGBUILDDIR>>/neo/idlib -isystem /usr/include/SDL2 -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fno-stack-clash-protection -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/rbdoom3bfg-1.4.0+dfsg-3ubuntu2 -Wdate-time -D_FORTIFY_SOURCE=3  -std=c++11   -pipe -Werror=format-security -Werror=format -Wno-pragmas -Wno-unused-variable -Wno-switch -Wno-unused-value -Winvalid-pch -Wno-multichar -fno-strict-aliasing -MD -MT CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -MF CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o.d -o CMakeFiles/rbdoom3bfg.dir/sys/Snapshot_Jobs.cpp.o -c /<<PKGBUILDDIR>>/neo/sys/Snapshot_Jobs.cpp
In file included from /usr/include/string.h:548,
                 from /<<PKGBUILDDIR>>/neo/idlib/sys/sys_includes.h:141,
                 from /<<PKGBUILDDIR>>/neo/idlib/precompiled.h:34,
                 from /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:29:
In function ‘memcpy’,
    inlined from ‘idDataQueue<64, 8000>::Append(int, unsigned char const*, int, unsigned char const*, int)’ at /<<PKGBUILDDIR>>/neo/idlib/../idlib/DataQueue.h:112:8,
    inlined from ‘idPacketProcessor::VerifyEmptyReliableQueue(unsigned char, unsigned char)’ at /<<PKGBUILDDIR>>/neo/sys/PacketProcessor.cpp:660:16:
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: error: argument 2 null where non-null expected [-Werror=nonnull]
   29 |   return __builtin___memcpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   30 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/powerpc64le-linux-gnu/bits/string_fortified.h:29:33: note: in a call to built-in function ‘__memcpy_chk’
cc1plus: some warnings being treated as errors
2024-08-01 08:17:34 +02:00
Robert Beckebans
00a4a4067b Got Easymode CRT working but it looks bad 2024-08-01 00:40:44 +02:00
Robert Beckebans
fe959aa03a Ported RetroArch Easymode CRT shader WIP 2024-07-31 23:52:01 +02:00
Robert Beckebans
21645ee262 Removed SSAO test from CPC shader 2024-07-31 21:30:35 +02:00
Robert Beckebans
9fb21205f1 Added 4 color CGA shader 2024-07-31 21:27:36 +02:00
Robert Beckebans
676c970886 Added Gameboy and NES render modes 2024-07-31 18:11:43 +02:00
Robert Beckebans
ea78cf42e3 Store world normals in gbuffer 2024-07-31 17:04:42 +02:00
Robert Beckebans
449f56ab9f More triplanar shader tests 2024-07-30 23:24:44 +02:00
Robert Beckebans
a3a52c97fe Some experiments similar to Obra Dinn and fixed old SSAO 2024-07-30 22:01:27 +02:00
Robert Beckebans
cebba26908 Made PSX vertex jitter resolution independent 2024-07-26 17:50:06 +02:00
Robert Beckebans
a41c475ad9 Skip TAA in PSX mode 2024-07-26 14:46:14 +02:00
Robert Beckebans
333bc486d6 Implemented typical PSX style vertex jittering 2024-07-26 14:26:27 +02:00
Robert Beckebans
70846d66ad Fixed -DUSE_SYSTEM_ZLIB=ON close #913 2024-07-19 17:07:29 +02:00
Robert Beckebans
6b570562f3 FFMPEG=OFF BINKDEC=ON is the new default, easier for Linux 2024-07-19 11:19:04 +02:00
Robert Beckebans
834018c9a4 Fixed missing private polygon offset. Close #754 2024-07-16 21:19:22 +02:00
Robert Beckebans
2b47fb26c1 Added binaryLoadGuis and a few CVAR_NEW flags 2024-07-10 21:06:29 +02:00
Robert Beckebans
5060bc8047 Extended listCvars with -new option to show all RBDoom related cvars 2024-07-10 20:33:20 +02:00
Robert Beckebans
e90f65a835 Fixed gcc compile error. Close #911 #909 2024-07-10 20:06:20 +02:00
Robert Beckebans
a3fb4a0d2c Added hack to get swf/pda.json running 2024-07-01 23:54:32 +02:00
Robert Beckebans
22cc10123c Fixed alpha decompression of Flash atlas .bimage files 2024-07-01 23:02:32 +02:00
Robert Beckebans
1639c37ca5 Fixed a couple of bugs regarding Flash JSON reimport 2024-07-01 22:35:27 +02:00
Robert Beckebans
b52d2eece3 Merged some smaller changes and fixes from icedhellfire 2024-06-29 18:02:48 +02:00
Robert Beckebans
578a0517b5 Linux build fixes 2024-06-29 13:08:51 +02:00
Robert Beckebans
8389318e26 Allow skipping intro videos with Escape/Gamepad Start 2024-06-29 12:54:29 +02:00
Robert Beckebans
c3ecc7b808 Refactored FinalizeImage back to ActuallyLoadImage 2024-06-29 10:37:24 +02:00
Robert Beckebans
1759ecb1ed Show binarization indicator for 2D packed mipchain EXR files 2024-06-28 23:40:14 +02:00
Robert Beckebans
7a94a9c466 Removed never called idDeferredImage code 2024-06-28 22:34:46 +02:00
Robert Beckebans
134f3ec799 Probably fixed VRAM memory leak when reloading maps. #904 2024-06-28 22:26:56 +02:00
Robert Beckebans
5aedf14510 A small loading screen progressbar experiment 2024-06-28 17:43:26 +02:00
Robert Beckebans
c226650c0c Fixed PBR _rmao lookup hack on the wrong textures. Close #905 2024-06-28 13:48:02 +02:00
Robert Beckebans
504e7f5591 Made classic flashlight single player only 2024-06-28 13:45:07 +02:00
Robert Beckebans
53925f9f31 Fixed compile error with clang 2024-06-27 23:22:02 +02:00
Robert Beckebans
ce68905287 Replaced flashlight shadows option with classic flashlight 2024-06-27 23:12:37 +02:00
Robert Beckebans
d147b7f038 Added classic flashlight from Doom BFA and detection for Doom 2004/2019 2024-06-27 21:05:51 +02:00
Robert Beckebans
e7dfa30783 Display .pk4 files first in path cmd 2024-06-26 22:25:47 +02:00
Robert Beckebans
c31dec4fef Added missing script event so we can boot vanilla Doom 3 2024-06-26 22:21:21 +02:00
Robert Beckebans
440368c996 Added back .pk4 support but only for paks without a dll inside 2024-06-26 20:47:05 +02:00
Robert Beckebans
30316e063a Fixed a bug in idFileSystemLocal::AddResourceFile 2024-06-24 21:57:06 +02:00
Robert Beckebans
af0e94fee6 Changed file lookup order in .resources paks like in previous id Tech engines 2024-06-24 21:31:00 +02:00
Robert Beckebans
b448fa839a Removed unused premake files 2024-06-23 21:58:57 +02:00
Robert Beckebans
338123fbd1 Fixed path command to show the lookup order for files in .resources files. Closes #769 2024-06-23 21:38:19 +02:00
SRSaunders
5ce9a3b1a6 Minor fixes related to jpeg/png libs -> stb changes 2024-06-22 18:08:30 -04:00
Robert Beckebans
f539821ca2 Merge branch 'optick-vk-resync' 2024-06-22 17:08:20 +02:00
Robert Beckebans
c5e3917c80 Fixed FPU_StackIsEmpty() fallback on Windows side 2024-06-22 17:02:14 +02:00
Robert Beckebans
c93e84f0a3 Fixed small compiler warning 2024-06-22 16:58:18 +02:00
Robert Beckebans
70b757ee58 rbdmap filesystem works on Linux 2024-06-22 16:54:59 +02:00
Robert Beckebans
8642820fb2 Extended Linux version of Sys_DefaultBasePath() 2024-06-22 16:49:56 +02:00
Robert Beckebans
24df557eef rbdmap compiles on Linux 2024-06-22 16:47:36 +02:00
Robert Beckebans
9f2cf5d405 Synced rbdmap posix code 2024-06-22 16:07:52 +02:00
Robert Beckebans
7234a42c58 Added ncurses dep to Linux rbdmap 2024-06-22 15:55:25 +02:00
Robert Beckebans
9deff76115 Redraw Imtui when DmapPacifierCompileProgressIncrement() hits a threshold 2024-06-21 21:16:04 +02:00
Robert Beckebans
caebeef0ca Added rbdmap -t or -nogui option because pdcurdes does not work with TB 2024-06-21 20:45:35 +02:00
Robert Beckebans
c5e5cfeae7 Drastic dmap speed boost by reducing prints like in q3map 2024-06-21 18:01:12 +02:00
Robert Beckebans
f925217a69 Hooked common->Prints into ImTui for testing 2024-06-20 22:53:46 +02:00
Robert Beckebans
a9cb4bd314 Imtui hello world 2024-06-20 20:31:05 +02:00
Robert Beckebans
35f683c615 Allow rbdmap.exe +set fs_game <mod_path> <mapname> 2024-06-19 22:44:30 +02:00
Robert Beckebans
b01e7b003a Added back collision manager and AAS builder to dmap 2024-06-19 21:33:41 +02:00
Robert Beckebans
869e6994b4 Adjusted EngineStubPosix for Linux rbdmap 2024-06-19 18:36:14 +02:00
Robert Beckebans
ab2ee0612b Removed flipVertical option from R_WritePNG 2024-06-19 18:21:42 +02:00
Robert Beckebans
2262599707 Replaced JPG/PNG code with stb_image snippets from dhewm3 2024-06-19 18:12:17 +02:00
Robert Beckebans
c035a5b867 Allow static glTF2 models to be inlined in dmap and kicked unused Collada DAE support 2024-06-18 20:33:11 +02:00
Robert Beckebans
aab5a4844f Print dmap output in console and Visual Studio 2024-06-18 17:26:33 +02:00
Robert Beckebans
68bd54af9c rbdmap.exe can compile a map 2024-06-17 22:10:50 +02:00
Robert Beckebans
b0abbe4d35 rbdmap.exe compiles but does not run yet 2024-06-17 21:37:10 +02:00