Latest GZDoom Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

22-Oct-2019 (Tuesday) at 03:11:22 CDT by alexey.lysiuk
Commit 94e7b6f3b (HEAD -> master)
Parents: 9a727f6c2

  • do not accept read-only variable as out argument

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

22-Oct-2019 (Tuesday) at 02:40:45 CDT by alexey.lysiuk
Commit 9a727f6c2
Parents: 4fa6678fc

  • fixed variable's stack offset for implicit dynarray clearing

https://forum.zdoom.org/viewtopic.php?t=66187 https://forum.zdoom.org/viewtopic.php?t=66189 https://forum.zdoom.org/viewtopic.php?t=66198

21-Oct-2019 (Monday) at 14:29:54 CDT by Chronos Ouroboros
Commit 4fa6678fc
Parents: 994960627

Fixed Vector2/3 out parameters in the ZScript compiler.

21-Oct-2019 (Monday) at 07:54:13 CDT by alexey.lysiuk
Commit 994960627
Parents: ed337b3ec

  • added explicit clearing of global VM stask

When exception is thrown from JITed code, VM stask isn't cleared during unwinding It needs to be clear explicitly to avoid memory leaks and references to destructed objects on shutdown

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

21-Oct-2019 (Monday) at 07:44:07 CDT by Rachael Alexanderson
Commit ed337b3ec
Parents: 0c712f2bc

  • fixed: Made "Col2RGB8_2" a global variable, since "Col2RGB8_LessPrecision[]" references it by pointer.

21-Oct-2019 (Monday) at 06:19:02 CDT by Rachael Alexanderson
Commit 0c712f2bc
Parents: d20601d65

21-Oct-2019 (Monday) at 04:31:34 CDT by Rachael Alexanderson
Commit d20601d65
Parents: a601350db

  • fixed: made Col2RGB8_2[] in BuildTransTable() static, the array was originally designed to be used in the global in scope but when it was moved to be local it did not init properly, causing transparency issues in the software renderer.

20-Oct-2019 (Sunday) at 23:25:57 CDT by PaulyB
Commit a601350db
Parents: 0ee0034be

Scythe MAP22 Compatibility fix

20-Oct-2019 (Sunday) at 09:16:08 CDT by Christoph Oelckers
Commit 0ee0034be
Parents: f014e9cd8

  • apply the ZMusic mutex a bit more finely grained.

It should only guard the critical parts, like calling Stop() but can let Update and IsPlaying method work unhindered otherwise.

20-Oct-2019 (Sunday) at 08:37:13 CDT by Christoph Oelckers
Commit f014e9cd8
Parents: 777798ede

  • text update.

20-Oct-2019 (Sunday) at 07:32:11 CDT by Christoph Oelckers
Commit 777798ede
Parents: 8b10d231c

  • fixed GetLineX/GetLineY ACS implementation

20-Oct-2019 (Sunday) at 07:02:28 CDT by Christoph Oelckers
Commit 8b10d231c
Parents: 19c7e24d6

  • when adding some minmum lateral movement to trigger collision detection, do not just set Vel.X but actually use a vector pointing in the proper facing direction of the actor.

20-Oct-2019 (Sunday) at 05:55:24 CDT by Christoph Oelckers
Commit 19c7e24d6
Parents: ce8b235d0

  • fixed: MF8_RECREATELIGHTS must be processed in pause mode as well.

When issuing a netevent from the console the game is in pause mode, and if this removes a light it would have crashed the game.

20-Oct-2019 (Sunday) at 04:59:20 CDT by alexey.lysiuk
Commit ce8b235d0
Parents: 1dd08a73e

  • implicitly clear local dynamic arrays

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

20-Oct-2019 (Sunday) at 02:00:27 CDT by alexey.lysiuk
Commit 1dd08a73e
Parents: 3d557b68b

  • fixed broken walkthrough of Skulldash MAP04

20-Oct-2019 (Sunday) at 01:55:37 CDT by alexey.lysiuk
Commit 3d557b68b
Parents: 5a6d8035d

  • fixed broken walkthrough of Restoring Deimos MAP03

19-Oct-2019 (Saturday) at 06:29:07 CDT by alexey.lysiuk
Commit 5a6d8035d
Parents: 1deade93c

  • added access check for state functions

Private functions cannot be called from derived classes anymore

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

19-Oct-2019 (Saturday) at 03:30:04 CDT by alexey.lysiuk
Commit 1deade93c
Parents: c3dc8ea83

  • fixed playback of gzip compressed music

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

18-Oct-2019 (Friday) at 07:22:58 CDT by alexey.lysiuk
Commit c3dc8ea83
Parents: 230da2e2b

  • fixed selection of system MIDI device on startup

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

18-Oct-2019 (Friday) at 02:25:24 CDT by alexey.lysiuk
Commit 230da2e2b
Parents: 50a876906

  • fixed SPC music looping after update to GME 0.6.2

Why was the default player setup changed at all?

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

18-Oct-2019 (Friday) at 02:22:35 CDT by alexey.lysiuk
Commit 50a876906
Parents: f7f51e196

  • added declarations missing from update to GME 0.6.2

16-Oct-2019 (Wednesday) at 17:11:05 CDT by Christoph Oelckers
Commit f7f51e196
Parents: 89ecd7a96

  • fixed: The dynamic lights must be initialized before the first frame is ticked.

Otherwise they only show up after the first frame.

16-Oct-2019 (Wednesday) at 10:13:01 CDT by alexey.lysiuk
Commit 89ecd7a96
Parents: c45e8b32d

  • fixed: pickup flash didn't fade out if player was killed by pickup

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

16-Oct-2019 (Wednesday) at 02:31:34 CDT by alexey.lysiuk
Commit c45e8b32d
Parents: d44d91d6a

  • fallback to console font in case of missing small font

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

15-Oct-2019 (Tuesday) at 14:31:02 CDT by alexey.lysiuk
Commit d44d91d6a
Parents: d0a256b51

  • fixed compilation of Cocoa backend with 10.9 SDK

src/posix/cocoa/i_video.mm:68:31: error: property 'delegate' not found on object of type 'id' src/posix/cocoa/st_console.mm:464:37: error: property 'delegate' not found on object of type 'id'

01-Oct-2019 (Tuesday) at 13:17:49 CDT by Major Cooke
Commit d0a256b51
Parents: e166563ac

Fixed CheckBossDeath not checking for actor replacements.

  • A_BossDeath relies upon this function in particular.
  • This completes CheckReplacee's purpose, allowing for varied actors to count as one particular actor, such as a Fatso for map07 and avoid lowering the walls until they are all dead.

15-Oct-2019 (Tuesday) at 11:46:20 CDT by Christoph Oelckers
Commit e166563ac
Parents: 4d8f0fc01

  • removed redundant resource reading.

14-Oct-2019 (Monday) at 18:16:02 CDT by Christoph Oelckers
Commit 4d8f0fc01 (zmusic_interface)
Parents: 6854a509e

  • fixed: ZMusic_Close may not lock the mutex because it will delete it.

Here the calling code must ensure that the music object won't be accessible anymore before it gets deleted.

14-Oct-2019 (Monday) at 17:49:40 CDT by Christoph Oelckers
Commit 6854a509e
Parents: dc32c2148

  • Moved all music related synchronization to the top level

Most of the synchronization was too deep in the implementation so that it did not guard everything it needed.

Now each song has precisely one mutex which must be locked for all access to its internals - this is done in the public ZMusic interface

14-Oct-2019 (Monday) at 17:23:03 CDT by Christoph Oelckers
Commit dc32c2148
Parents: 30f2ac1e8

  • ZMusic interface refactoring.

Use global functions instead of the class interface which exposed too many implementation details.

14-Oct-2019 (Monday) at 05:01:13 CDT by alexey.lysiuk
Commit 30f2ac1e8
Parents: f866ade4f

  • fixed crash with DMSS_INFLICTORDMGTYPE flag and no inflictor

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

13-Oct-2019 (Sunday) at 06:27:58 CDT by alexey.lysiuk
Commit f866ade4f
Parents: 5851de9e0

  • use Xcode 11.2 in Travis config

13-Oct-2019 (Sunday) at 02:09:51 CDT by alexey.lysiuk
Commit 5851de9e0
Parents: 29e3222fb

  • added dynamic loading of FluidSynth 2.x

12-Oct-2019 (Saturday) at 06:44:13 CDT by alexey.lysiuk
Commit 29e3222fb
Parents: bb5ca2ce3

  • updated Cocoa backend to follow single exit point workflow

12-Oct-2019 (Saturday) at 04:43:49 CDT by alexey.lysiuk
Commit bb5ca2ce3
Parents: b40e0ae38

  • deleted leftovers of exit refactoring

12-Oct-2019 (Saturday) at 04:41:14 CDT by alexey.lysiuk
Commit b40e0ae38
Parents: 09dcb247c

  • made GL nodes loader more resilient to broken data

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

12-Oct-2019 (Saturday) at 01:57:58 CDT by alexey.lysiuk
Commit 09dcb247c
Parents: 8bf452217

  • return null instead of throwing exception if CD playback isn't supported

The game should switching to MIDI music on platforms without CD playback support It was impossible to start Hexen on platforms other than Windows

11-Oct-2019 (Friday) at 09:10:37 CDT by MajorCooke
Commit 8bf452217
Parents: b68a9ebef

Compatibility for Hellbound MAP29 (#951)

  • Added compatibility for Hellbound MAP29

  • Some of the ceilings in the monster closets weren't high enough to allow the cyberdemons to pass, making 100% kills impossible. This is caused by the floors not going down far enough and stopping at a certain height above the next closest floor.

  • Remove the cyberdemons instead of raising the ceilings.

11-Oct-2019 (Friday) at 04:03:23 CDT by alexey.lysiuk
Commit b68a9ebef
Parents: 279b327c6

  • cleanup SDL fatal error reporting

Output error text to terminal if SDL message box cannot be shown Removed wrong "No IWAD found" message

11-Oct-2019 (Friday) at 04:01:36 CDT by alexey.lysiuk
Commit 279b327c6
Parents: 08a66abde

  • fixed potential crashes in Linux crash reporter

Do not access various global objects at early stage of initialization and late stage of shutdown

11-Oct-2019 (Friday) at 03:56:38 CDT by alexey.lysiuk
Commit 08a66abde
Parents: 3a54b1069

  • call SDL_Quit() from main() instead of atexit()

This should help with crash reporting during SDL shutdown

10-Oct-2019 (Thursday) at 05:35:06 CDT by Colton G. Rushton
Commit 3a54b1069
Parents: 525d67821

Remove Illusory E3M7 key door changes

Removed the red key door compat patch for Illusions of Home E3M7 because a switch (the computer panel, rather) already opened that door as it was, therefore the original change was unnecessary.

09-Oct-2019 (Wednesday) at 05:13:07 CDT by drfrag
Commit 525d67821
Parents: bfa8e2510

  • Fixed capped tall skies not working (Heretic and Hexen).
  • Fixed sky stretching for the new freelook limit.

09-Oct-2019 (Wednesday) at 07:05:20 CDT by alexey.lysiuk
Commit bfa8e2510
Parents: d3c50eada

  • fixed crash on exiting from IWAD selector

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

08-Oct-2019 (Tuesday) at 14:23:43 CDT by alexey.lysiuk
Commit d3c50eada
Parents: d87170ed9

  • removed test code

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

08-Oct-2019 (Tuesday) at 14:18:47 CDT by alexey.lysiuk
Commit d87170ed9
Parents: f678b5d4d

  • restored command line arguments initialization in SDL backend

08-Oct-2019 (Tuesday) at 05:18:59 CDT by alexey.lysiuk
Commit f678b5d4d
Parents: d87f7593b

  • fixed crash on closing fatal error window

Framebuffer was accessed after its destruction

08-Oct-2019 (Tuesday) at 02:48:43 CDT by alexey.lysiuk
Commit d87f7593b
Parents: 18464d571

  • fixed compilation of POSIX targets

src/posix/cocoa/i_main.mm:152:2: error: use of undeclared identifier 'ShutdownJoysticks' src/posix/sdl/i_system.cpp:128:3: error: ‘I_FatalError_Gtk’ was not declared in this scope src/posix/sdl/st_start.cpp:329:8: error: ‘CExitEvent’ was not declared in this scope

07-Oct-2019 (Monday) at 13:35:15 CDT by Christoph Oelckers

Merge branch 'exit_cleanup'

07-Oct-2019 (Monday) at 13:34:55 CDT by Christoph Oelckers
Commit 523fd0bf3
Parents: 2e7af1338

Revert "AsmJit update"

This reverts commit 747b3dfcfe5a3823cf4656a23a0afa15b6a49f36.

Conflicts:

libraries/asmjit/asmjit/core/compiler.h

This had to be reverted because it breaks exception handling which is a critical problem. With the updated code any exception thrown inside code that had a JITed call stack would crash.

Older commits