Commit graph

1280 commits

Author SHA1 Message Date
Christoph Oelckers
89e8d7ad58 - removed all remnants of the softpoly renderer which was never used in Raze. 2022-08-03 13:27:48 +02:00
Christoph Oelckers
6591b3b090 - Backend update from GZDoom.
Mainly new features for 2D drawer and model renderer.
2022-07-23 12:05:27 +02:00
Christoph Oelckers
abb7f87de3 - Backend update from GZDoom. 2022-07-23 12:10:08 +10:00
Dale Whinham
7856d30957 Improve KDE/kdialog detection
If KDE is running but kdialog is not present on the system (e.g. as is
the case on SteamOS), allow falling back on the GTK dialogs instead.
2022-07-23 10:36:15 +10:00
Dale Whinham
ed4e23f1ec Fix crash when exiting with no game data
When shutting down with no game data, GameConfig is saved and the
pointer is nulled. If a joystick was present, a null dereference occurs
when the engine tries to save the joystick config later in the shutdown
sequence.

Add a check to avoid a crash in this scenario.
2022-07-10 22:30:18 +02:00
Christoph Oelckers
2c3fcbaf51 - glslang compiler and Vulkan backend update. 2022-07-02 10:20:11 +02:00
Christoph Oelckers
3ec8a96ddf - partial backend update from GZDoom. 2022-07-02 09:30:37 +02:00
Christoph Oelckers
eb8fae761e - backend update from GZDoom. 2022-06-26 09:35:21 +02:00
Christoph Oelckers
998def2487 - another backend update from GZDoom. 2022-06-06 15:28:41 +02:00
Christoph Oelckers
f599040212 - GCC needs this commented out but really shouldn't. 2022-06-06 13:08:23 +02:00
Christoph Oelckers
e5c7c4f680 - don't use longs. 2022-06-06 12:05:50 +02:00
Christoph Oelckers
84173ee09b - backend update from GZDoom.
The main bulk of this is the new start screen code. To make this work in Raze some more work on the startup procedure is needed.
What this does provide is support for the DOS end-of-game text screens in Duke and SW on non-Windows systems.
2022-06-06 11:45:34 +02:00
Mitchell Richters
47aa110441 - Remove the ability to set a custom ticrate in calls to I_GetInputFrac(). There's no real world need for this. 2022-06-06 18:41:48 +10:00
Christoph Oelckers
e86899ed31 - fixed sky panning.
This picked the wrong overload - to make things robust one of the functions was renamed.
2022-06-06 10:12:26 +02:00
Mitchell Richters
3d8bc3294f - Slight cleanup to I_GetInputFrac(). 2022-05-30 20:46:09 +10:00
Christoph Oelckers
6b720f5f6c - fixed: FSkyVertexBuffer::RenderBox did not reset the object color after finishing. 2022-05-29 23:58:52 +02:00
Christoph Oelckers
0dc670da8e - added wipe transitions to screen job
Mainly to have the crossfade, the other styles are mostly bonus.
This also adds proper scoping to the cutscene code, which needs to run in UI scope.
2022-04-25 17:26:17 +02:00
Christoph Oelckers
21b4862460 - Backend update from GZDoom
* music system improvements
* Zip64 support
* fixes for menu scaling on ultrawide screens
* Mac default paths fixed
* lightmap code (not active yet)
2022-04-25 11:13:55 +02:00
Christoph Oelckers
380864d6fb - pass shade values to sky renderer 2022-04-19 14:44:10 +02:00
Christoph Oelckers
6354c1889d - fixed bad search path setup on macOS
This cannot include „Raze“ in the app_support path strings because some of these parts point to elsewhere. The two places where it is needed must be explicit.
2022-04-19 14:02:51 +02:00
Rachael Alexanderson
16c81f0b1f Pull commit eeb67bcec3 from GZDoom: Use RDTSC equivalent on AARCH64. 2022-03-25 14:58:51 -04:00
Rachael Alexanderson
4be214e33d - pull RDTSC for Linux from GZDoom 2022-03-18 04:35:20 -04:00
Rachael Alexanderson
da5d9fcde2 - implement discord rich presence, expand window title code. (still wip) 2022-03-18 04:17:46 -04:00
Rachael Alexanderson
9325f1d536 - replicate commit 28d9fe68ae 2022-02-17 01:15:18 -05:00
Christoph Oelckers
a12093af04 - use full precision math for rotating sectors in Blood. 2022-02-15 22:18:24 +01:00
Rachael Alexanderson
b7cb878ad8 - fix compiling on Linux/et-al 2022-02-01 12:36:26 -05:00
Rachael Alexanderson
cc57914bbf - fully implement uniform cvars 2022-02-01 11:03:39 -05:00
Christoph Oelckers
c27976b2e5 - added script exports for Duke's iterators 2022-01-26 00:16:21 +01:00
Christoph Oelckers
e035ce00b6 - hooked up the compiler extension and the static actor data setup. 2022-01-23 13:03:39 +01:00
Rachael Alexanderson
7b560a3d79 - add debug ccmds for custom shaders 2022-01-20 22:31:31 -05:00
Rachael Alexanderson
85aee83bf8 - backend sync with GZDoom 2022-01-21 01:15:22 +01:00
Rachael Alexanderson
13ca744ef8 - replicate GZDoom commit 12ed24d066 2022-01-21 01:15:22 +01:00
Christoph Oelckers
19d8d65fd0 - split names into common and Raze-specific 2022-01-20 01:11:23 +01:00
Christoph Oelckers
049fc5fb7c - proper maintenance of the depth bias state.
Change state must be combined, not overwritten, or it may miss some needed state changes.
2022-01-13 12:27:40 +01:00
Christoph Oelckers
26e9d33bfa - GCC didn't like this. :( 2022-01-12 00:19:41 +01:00
Christoph Oelckers
44e64a6a12 - backend update from GZDoom.
* GC fix
* better sound range check
* UE model loader license change.
2022-01-11 22:54:37 +01:00
Christoph Oelckers
e5dad53f6d - menu entries for light modes, plus handling of overbright shades. 2022-01-11 00:19:15 +01:00
Christoph Oelckers
98c919fbe4 - g_visibility stuff 2022-01-11 00:12:32 +01:00
Christoph Oelckers
2377b17106 - fixed bad aspect ratio calculation in DStatusBarCore::SetScale 2022-01-10 00:19:39 +01:00
Christoph Oelckers
a3162f6ccf - renamed testnewrenderer CVAR. 2022-01-07 12:49:41 +01:00
Christoph Oelckers
2ac83b733c - SW: clear some pointers before killing actors in TerminateLevel.
KillActor is an in-game function which may produce undefined behavior if being run on a partially deinitialized level.
All actor pointers it may operate upon should be cleared before taking down the actors.cpp
2022-01-02 15:06:57 +01:00
Christoph Oelckers
d0ab13f95a - use GPLv2 in all files dual-licensed with the Doom Source license.
None of this was ever GPLv3, the original id source was released under the GPLv2 so this should be, too.
2022-01-02 12:42:54 +01:00
Christoph Oelckers
46078323ff - backend update from GZDoom, mainly license updates. 2022-01-02 12:24:53 +01:00
Mitchell Richters
9bbb54fe2e - Replace every line that just contains spaces or tabs with an empty line feed in all files except 3rd party libraries. 2021-12-30 20:30:21 +11:00
Christoph Oelckers
69283bfb0c - tabified several Blood source files. 2021-12-30 09:58:47 +01:00
Christoph Oelckers
4f8f85c634 - backend update from GZDoom. 2021-12-30 09:58:46 +01:00
Christoph Oelckers
3be2128b3a - added utilities to read all usermaps into a directory tree 2021-12-30 09:58:08 +01:00
Christoph Oelckers
87a32d9095 Revert "- fixed music lookup for user maps."
This reverts commit 9558e7d518c1d5f7a898fcb2564078bd9ec956ac.
2021-12-30 09:58:08 +01:00
Christoph Oelckers
7204b7c616 - fixed music lookup for user maps.
This was only looking for real files, but instead needs to check the file system. The game directory's content will always be part of that so other checks are counterproductive.
2021-12-30 09:58:07 +01:00
Christoph Oelckers
7bbd4343a8 - renamed all shadowing variables in Duke. 2021-12-30 09:57:33 +01:00