Latest UZDoom Changes

Latest 50 commits, skipping 4300

Unofficial development builds at DRD Team

Newer commits | Older commits

19-May-2021 (Wednesday) at 16:15:26 PDT by Rachael Alexanderson
Commit 04bf426846
Parents: e963010eea

  • update widescreen submodule

19-May-2021 (Wednesday) at 12:28:16 PDT by Christoph Oelckers
Commit e963010eea
Parents: a3da915812

  • strip trailing spaces off the lines for intermission texts.

Some mods have trailing spaces here that affect the formatting.

19-May-2021 (Wednesday) at 10:46:04 PDT by Christoph Oelckers
Commit a3da915812
Parents: 9df70cd0df

  • gave the Raven invulnerability items the BIGPOWERUP flag to ensure proper respawning behavior.

19-May-2021 (Wednesday) at 10:25:32 PDT by Christoph Oelckers
Commit 9df70cd0df
Parents: a3a65f184f

  • change switch checking back to vanilla order.

19-May-2021 (Wednesday) at 10:20:51 PDT by Christoph Oelckers
Commit a3a65f184f
Parents: 8bb36bd479

  • use stb-image to handle PNGs with 16 bit color channels.

It is still not recommended to use this format - images tend to be huge and setup time is normally prohibitive - but at least they work now.

19-May-2021 (Wednesday) at 09:38:36 PDT by Christoph Oelckers
Commit 8bb36bd479
Parents: bd0ca55a35

  • do not use M_EPI1 and M_EPI2 in any Doom 2 context.

Their content is inconsistent across versions, so better always use the text version of the names.

19-May-2021 (Wednesday) at 09:35:36 PDT by Christoph Oelckers
Commit bd0ca55a35
Parents: f0d8bd0a74

  • fixed: explicit float to int casts should not emit truncation warnings.

19-May-2021 (Wednesday) at 09:30:19 PDT by Christoph Oelckers
Commit f0d8bd0a74
Parents: 28dab3889b

  • tweaked Hexen's weapon pieces so they do not floatbob into the floor with the hardware renderer.

19-May-2021 (Wednesday) at 08:59:44 PDT by Christoph Oelckers
Commit 28dab3889b
Parents: af137dbb35

  • moved the handling of ending PowerWeaponLevel2 into PlayerPawn.Tick and restored the immediate weapon switch.

This got changed because switching weapons in EndPowerup is not safe - this can be called from weapon states where the player can end up with a different weapon being active than the one running the state. The actual weapon switch has to be delayed until the state processing has ended.

19-May-2021 (Wednesday) at 07:42:30 PDT by Christoph Oelckers
Commit af137dbb35
Parents: 14ffe3537f

  • reset the 'playedtitlemusic' flag in D_StartTitle.

When returning to the title loop the music should play once again.

09-May-2021 (Sunday) at 23:54:06 PDT by Cacodemon345
Commit 14ffe3537f
Parents: cfc080e37f

Clear CMAKE_REQUIRED_FLAGS if backtrace facility isn't found

18-May-2021 (Tuesday) at 11:37:05 PDT by Rachael Alexanderson
Commit cfc080e37f
Parents: 8a4fa8b65f

17-May-2021 (Monday) at 11:44:19 PDT by Christoph Oelckers
Commit 8a4fa8b65f
Parents: 97b8c0ccfb

  • backend update from Raze.

17-May-2021 (Monday) at 09:13:30 PDT by Christoph Oelckers
Commit 97b8c0ccfb
Parents: 6ebe30ce44

Revert "- fixed some uses of postincre,ment/decrements on narrow types."

This reverts commit 668f8f2cf6eb535c45c003c6edc3997450771bec.

Revert "- added a proper error message when '--' or '++' gets used on 8 or 16 bit values."

This reverts commit a94f5dd1b3b106d08a0040e568874014321ad1b5.

None of this was necessary - the triggered assert was bogus and had to be removed.

17-May-2021 (Monday) at 03:21:38 PDT by Christoph Oelckers
Commit 6ebe30ce44
Parents: 6e9c85791c

  • fixed time positioning on stat screen.

This was still a hard coded offset, but with a two-line time display it needs to be dynamic in case the font is too tall.

17-May-2021 (Monday) at 04:11:41 PDT by Christoph Oelckers
Commit 6e9c85791c
Parents: 6071cf66cc

  • pick the proper dot for cutting off the extension in ExtractFileBase.

17-May-2021 (Monday) at 04:02:01 PDT by Christoph Oelckers
Commit 6071cf66cc
Parents: 5bf2a26b82

  • added proper string labels for Doom 2 episodes.

17-May-2021 (Monday) at 03:48:22 PDT by Christoph Oelckers
Commit 5bf2a26b82
Parents: 0b5b919352

  • removed bogus assert from FxMinMax.

This would also trigger on signed/unsigned mismatches which it is not supposed to do.

17-May-2021 (Monday) at 03:42:45 PDT by Christoph Oelckers
Commit 0b5b919352
Parents: 668f8f2cf6

  • let the CSV parser for the string table handle hex escapes.

17-May-2021 (Monday) at 03:42:22 PDT by Christoph Oelckers
Commit 668f8f2cf6
Parents: a94f5dd1b3

  • fixed some uses of postincre,ment/decrements on narrow types.

THe VM has no opcode for this, all these places produced code with undefined behavior.

17-May-2021 (Monday) at 03:17:03 PDT by Christoph Oelckers
Commit a94f5dd1b3
Parents: f4143f7624

  • added a proper error message when '--' or '++' gets used on 8 or 16 bit values.

17-May-2021 (Monday) at 03:07:10 PDT by Christoph Oelckers
Commit f4143f7624
Parents: 161f3a3c07

  • added a few missing statusbar constants-

17-May-2021 (Monday) at 03:06:44 PDT by Christoph Oelckers
Commit 161f3a3c07
Parents: 5077973012

  • don't display keys on the HUD in deathmatch.

17-May-2021 (Monday) at 03:00:16 PDT by Christoph Oelckers
Commit 5077973012
Parents: ebbc94280e

  • fixed A_CheckTerrain's check for instant death sectors.

This was still checking the sector special even though this had been reactored 5 years ago.

17-May-2021 (Monday) at 02:51:06 PDT by Christoph Oelckers
Commit ebbc94280e
Parents: e47671c865

  • fixed: The PrisonPass's TryPickup method did not properly report successful pickup.

17-May-2021 (Monday) at 02:41:43 PDT by Christoph Oelckers
Commit e47671c865
Parents: aaf8323eb2

  • make the title music only play once, unless a real demo is successfully played.

15-May-2021 (Saturday) at 00:54:11 PDT by alexey.lysiuk
Commit aaf8323eb2
Parents: e2d3f26a35

  • updated continuous integration settings
  • Restored Clang 6 target by removing GCC 11 because its libstdc++ cannot be used with older compilers
  • Replaced GCC 10 with 11

12-May-2021 (Wednesday) at 03:55:40 PDT by nashmuhandes
Commit e2d3f26a35
Parents: ddcf1535a6

Fixed wrong alpha value being applied on sprite shadows in the hardware renderer.

12-May-2021 (Wednesday) at 04:44:53 PDT by alexey.lysiuk
Commit ddcf1535a6
Parents: 31b1d760b1

  • disabled clang 6 in continuous integration

I cannot reproduce this compilation error with up-to-date Ubuntu 20.04

12-May-2021 (Wednesday) at 00:58:26 PDT by Christoph Oelckers
Commit 31b1d760b1
Parents: c1c4066c76

  • include fix.

09-May-2021 (Sunday) at 11:29:58 PDT by Cacodemon345
Commit c1c4066c76
Parents: cf3c573222

SDL: Report Vulkan initialization errors

07-May-2021 (Friday) at 14:03:46 PDT by Christoph Oelckers
Commit cf3c573222
Parents: bc15ded2a1

  • give the first 16 DEHEXTRA states proper content.

No idea where this BLD2 stuff came from...

07-May-2021 (Friday) at 00:41:00 PDT by Rachael Alexanderson
Commit bc15ded2a1
Parents: c51af868de

  • make DI_ALPHAMAPPED change the style to STYLE_Shaded in the status bar drawer

07-May-2021 (Friday) at 00:05:23 PDT by Christoph Oelckers
Commit c51af868de
Parents: bb58dedff2

Revert "- restricted the portal rendering shortcut only to real skies in the primary layer."

This reverts commit b193e582ce3c3f92b01e364447ca8042b8c0152c.

This made the one thing I hoped it would fix even worse so it's useless.

03-May-2021 (Monday) at 02:22:01 PDT by Rachael Alexanderson
Commit bb58dedff2
Parents: 3477d6c7c1

this fix was requested here: https://forum.zdoom.org/viewtopic.php?p=1188347#p1188347

03-May-2021 (Monday) at 05:33:40 PDT by Christoph Oelckers
Commit 3477d6c7c1
Parents: 52554dc32c

  • added missing default values.

03-May-2021 (Monday) at 05:13:03 PDT by Christoph Oelckers
Commit 52554dc32c
Parents: b193e582ce

  • Backend update fron Raze, mainly new script exports and extensions.

03-May-2021 (Monday) at 04:58:46 PDT by Christoph Oelckers
Commit b193e582ce
Parents: 66e220ff9c

  • restricted the portal rendering shortcut only to real skies in the primary layer.

This won't work properly with sector portals that contain other portals because those setups require a proper stencil to work as expected.

02-May-2021 (Sunday) at 22:20:01 PDT by alexey.lysiuk
Commit 66e220ff9c
Parents: 80ba522b20

  • removed SDL2 version check

https://forum.zdoom.org/viewtopic.php?t=72152

02-May-2021 (Sunday) at 11:47:50 PDT by alexey.lysiuk
Commit 80ba522b20
Parents: 1efb9f4def

  • brought back old SDL2 CMake module

https://forum.zdoom.org/viewtopic.php?t=72152

02-May-2021 (Sunday) at 03:05:20 PDT by alexey.lysiuk
Commit 1efb9f4def
Parents: e4ada10e78

  • cleaned and minimized SDL2 version check

02-May-2021 (Sunday) at 02:59:38 PDT by Cacodemon345
Commit e4ada10e78
Parents: f676cd81d2

Remove support for SDL2 2.0.5 and earlier

29-Mar-2020 (Sunday) at 18:12:24 PDT by William Breathitt Gray
Commit f676cd81d2
Parents: 153968dc7c

Remove FindSDL2 find-module, use sdl2-config.cmake instead

This requires SDL >= 2.0.4.

Since https://bugzilla.libsdl.org/show_bug.cgi?id=2464 was fixed in SDL 2.0.4, SDL behaves as a CMake "config-file package", even if it was not itself built using CMake: it installs a sdl2-config.cmake file to ${libdir}/cmake/SDL2, which tells CMake where to find SDL's headers and library, analogous to a pkg-config .pc file.

As a result, we no longer need to copy/paste a "find-module package" to be able to find a system copy of SDL >= 2.0.4 with find_package(SDL2). Find-module packages are now discouraged by the CMake developers, in favour of having upstream projects behave as config-file packages.

This results in a small API change: FindSDL2 used to set SDL2_INCLUDE_DIR and SDL2_LIBRARY, but the standard behaviour for config-file packages is to set _INCLUDE_DIRS and _LIBRARIES. Use the CONFIG keyword to make sure we search in config-file package mode, and will not find a FindSDL2.cmake in some other directory that implements the old interface.

In addition to deleting redundant code, this avoids some assumptions in FindSDL2 about the layout of a SDL installation. The current libsdl2-dev package in Debian breaks those assumptions; this is considered a bug and will hopefully be fixed soon, but it illustrates how fragile these assumptions can be. We can be more robust against different installation layouts by relying on SDL's own CMake integration.

When linking to a copy of CMake in a non-standard location, users can now set the SDL2_DIR or CMAKE_PREFIX_PATH environment variable to point to it; previously, these users would have used the SDL2DIR environment variable. This continues to be unnecessary if using matching system-wide installations of CMake and SDL2, for example both from Debian.

This is based on the patch written by Simon McVittie for OpenJK: https://github.com/JACoders/OpenJK/commit/52030235f052772008d99e6ccb16de48e7ddb688

01-May-2021 (Saturday) at 22:19:05 PDT by Rachael Alexanderson
Commit 153968dc7c
Parents: ff35ea9ac7

  • change vid_allowtrueultrawide - -1 allows for any arbitrary ratio for hud aspects, 0 changed to old behavior (max 16:9), 1 changed to old behavior except at 21:9, 1 is now the default.
  • vid_allowtrueultrawide is now placed in game-specific config, instead of global.

26-Apr-2021 (Monday) at 14:42:28 PDT by nashmuhandes
Commit ff35ea9ac7
Parents: afd7b2e954

Don't print the weapon tag if the game is paused

26-Apr-2021 (Monday) at 12:41:44 PDT by nashmuhandes
Commit afd7b2e954
Parents: c12a671b3e

Allow settable render styles for status bar drawing functions DrawTexture, DrawImage and DrawString

26-Apr-2021 (Monday) at 10:01:09 PDT by nashmuhandes
Commit c12a671b3e
Parents: 8695325383

Made OptionMenuSliderBase::IsGrayed virtual

25-Apr-2021 (Sunday) at 23:46:20 PDT by alexey.lysiuk
Commit 8695325383
Parents: a2d3dbf74e

  • fixed saving game to wrong save slot

This is a temporary solution as it makes GZDoom and Raze code bases incompatible

https://forum.zdoom.org/viewtopic.php?t=72085

24-Apr-2021 (Saturday) at 23:06:40 PDT by Rachael Alexanderson
Commit a2d3dbf74e
Parents: bfb83abbc2

  • Change VKHardwareTexture::CreateTexture to allow a null buffer to be passed. This is used by the software renderer to create an arbitrary texture for screen rendering.

21-Apr-2021 (Wednesday) at 11:12:44 PDT by nashmuhandes
Commit bfb83abbc2
Parents: 57e6d84d46

Default Heretic's, Hexen's and Strife's default screen wipe styles to match their original counterparts.

Newer commits | Older commits