Latest GZDoom Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

15-Jan-2019 (Tuesday) at 22:28:49 CST by Christoph Oelckers
Commit a92090690 (HEAD -> master)
Parents: 49abe3678

  • don't check for a map's freelook setting if there is no map.

Apparently on macOS, game events even get sent in the menu. This never happened on Windows…

15-Jan-2019 (Tuesday) at 22:27:48 CST by Christoph Oelckers
Commit 49abe3678
Parents: 91c934ab7

  • recalculate the line deltas if a nodebuild is needed

One potential cause is moving around vertices in which case these do not match anymore

15-Jan-2019 (Tuesday) at 22:05:01 CST by Christoph Oelckers
Commit 91c934ab7
Parents: 9616de5f8

  • do not open the automap when no level is loaded

15-Jan-2019 (Tuesday) at 22:04:47 CST by Christoph Oelckers
Commit 9616de5f8
Parents: 6f1491aa8

  • Fixed error reporting for the BSP loader

Using global variables for this is bad, and it didn't even catch all cases. Now a node build is only considered successful if everything is set up successfully.

15-Jan-2019 (Tuesday) at 12:34:33 CST by Christoph Oelckers
Commit 6f1491aa8
Parents: a2965df5a

  • mark the thinkers for collection, even if there is no level.

This is still WIP so for now needs a workaround.

15-Jan-2019 (Tuesday) at 12:23:49 CST by Christoph Oelckers
Commit a2965df5a
Parents: 3e3472596

  • use the same level for all automap calls.

This reminds me: The automap really needs to be converted into a class and made independent of all those global variables...

15-Jan-2019 (Tuesday) at 12:13:59 CST by Christoph Oelckers
Commit 3e3472596
Parents: c6866bad4

  • fixed: The default constructor for DThinker needs to set the OF_JustSpawned flag.

Without this, PostBeginPlay will not get called so several things aren't initialized, like weapon slots and other player settings.

15-Jan-2019 (Tuesday) at 08:22:25 CST by alexey.lysiuk
Commit c6866bad4
Parents: 295dd326d

  • fixed potentially missing event handlers

Event handlers linked list might skip an entry if its order was in a middle of existing handlers

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

15-Jan-2019 (Tuesday) at 07:51:56 CST by alexey.lysiuk
Commit 295dd326d
Parents: 3b3af1dfe

  • fixed wrong self type in Array.Resize()

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

15-Jan-2019 (Tuesday) at 07:56:55 CST by alexey.lysiuk
Commit 3b3af1dfe
Parents: 703cb9cf4

  • removed unreferenced local variable

src\dthinker.cpp(748): warning C4101: 'list': unreferenced local variable

14-Jan-2019 (Monday) at 11:50:39 CST by Christoph Oelckers
Commit 703cb9cf4
Parents: dd5addd6a

  • changed global thinker storage into a struct instead of some static variables inside DThinker.

As it is now it can handle multiple thinker collections for different levels, but right now there's still only one global list for everything.

13-Jan-2019 (Sunday) at 17:09:36 CST by Christoph Oelckers
Commit dd5addd6a
Parents: bd964d43f

  • fixed crash in the precaching code.

This didn't detect software canvas textures and crashed on the missing image.

13-Jan-2019 (Sunday) at 08:23:19 CST by alexey.lysiuk
Commit bd964d43f
Parents: 2200e6879

  • fixed inverted blend in flash fader

Adventure of Square and Doom 64: Retribution are good test cases for this issue

13-Jan-2019 (Sunday) at 06:57:52 CST by Christoph Oelckers
Commit 2200e6879
Parents: c2a78bbd2

  • removed the level assignment in ChangeStatNum.

This would just overwrite what got set before

13-Jan-2019 (Sunday) at 06:50:39 CST by alexey.lysiuk
Commit c2a78bbd2
Parents: b07ff3f50

  • fixed another crash with stored commands on startup

Example: +map CCMD in command line options

13-Jan-2019 (Sunday) at 06:46:35 CST by alexey.lysiuk
Commit b07ff3f50
Parents: acb71de53

  • fixed return value of Actor.isFrozen()

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

13-Jan-2019 (Sunday) at 06:43:43 CST by Christoph Oelckers
Commit acb71de53
Parents: 1a633701b

  • removed bSerialOverride.

Now that thinker linking is no longer part of the constructor, this hack is no longer needed.

13-Jan-2019 (Sunday) at 06:40:29 CST by Christoph Oelckers

Merge branch 'master' of https://github.com/coelckers/gzdoom

13-Jan-2019 (Sunday) at 06:40:13 CST by Christoph Oelckers

Merge branch 'master' of https://github.com/coelckers/gzdoom#

Conflicts:

  • #
  • src/dthinker.cpp

13-Jan-2019 (Sunday) at 06:39:44 CST by alexey.lysiuk
Commit 1687bd3ef
Parents: d3eb983dd

  • fixed incorrect prologue macro for Actor.isFrozen()

13-Jan-2019 (Sunday) at 06:39:14 CST by Christoph Oelckers
Commit 42b57c995
Parents: c1a4158ab

  • rework of thinker creation so that it can get the level from the passed parameters.

Internally it is still one global list of thinkers, this only changes the creation code.

13-Jan-2019 (Sunday) at 04:24:17 CST by alexey.lysiuk
Commit d3eb983dd
Parents: 2bb3571c2

  • fixed loading of saved game

Wrong FName constructor was picked for name of map snapshot, it was not restored because of that

13-Jan-2019 (Sunday) at 02:35:00 CST by alexey.lysiuk
Commit 2bb3571c2
Parents: 16ee57817

  • fixed crash during initialization of polyobjects

13-Jan-2019 (Sunday) at 02:34:17 CST by alexey.lysiuk
Commit 16ee57817
Parents: c1a4158ab

  • fixed crash with stored commands on startup

Example: +map CCMD in command line options

12-Jan-2019 (Saturday) at 10:29:31 CST by alexey.lysiuk
Commit c1a4158ab
Parents: ed1495155

  • fixed compilation errors

src/scripting/decorate/thingdef_parse.cpp:80:11: error: no viable conversion from 'const FName' to 'FString' src/scripting/zscript/zcc_compile.cpp:1359:26: error: use of undeclared identifier 'Name_globalfreeze'; did you mean 'NAME_globalfreeze'?

10-Jan-2019 (Thursday) at 05:05:35 CST by alexey.lysiuk
Commit 5e5f27d75 (3.7fixed)
Parents: d64dac908

  • unary minus operator propagates boolean operand to integer

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

11-Jan-2019 (Friday) at 09:44:45 CST by alexey.lysiuk
Commit d64dac908
Parents: 7c54c6c52

  • fixed script line numbers after multi-line raw string literal

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

12-Jan-2019 (Saturday) at 09:37:13 CST by Christoph Oelckers
Commit 6a0f1ae3a (g_level_reworking)
Parents: ed1495155

  • diagnostics output for detecting potential problem mods.

12-Jan-2019 (Saturday) at 09:36:21 CST by Christoph Oelckers
Commit ed1495155
Parents: 36f79ea36

  • ensure proper emission of deprecations.

For global variables this wasn't implemented.

12-Jan-2019 (Saturday) at 07:59:26 CST by Christoph Oelckers
Commit 7c54c6c52
Parents: 0330cac85

  • fixed incompatible commit.

12-Jan-2019 (Saturday) at 05:11:03 CST by alexey.lysiuk
Commit 0330cac85
Parents: 53a644512

  • fixed condition to produce blood splatter during line attack

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

12-Jan-2019 (Saturday) at 04:21:34 CST by alexey.lysiuk
Commit 53a644512
Parents: def5571b3

  • relaxed caller type check for states modified by Dehacked

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

11-Jan-2019 (Friday) at 12:53:30 CST by Magnus Norddahl
Commit def5571b3
Parents: 9addc4c1b

  • fix black cam texture on HUD

Conflicts:

src/gl/renderer/gl_scene.cpp

11-Jan-2019 (Friday) at 12:44:52 CST by Magnus Norddahl
Commit 9addc4c1b
Parents: 078c10dea

  • fix null pointer crash

09-Jan-2019 (Wednesday) at 03:28:16 CST by Marrub
Commit 078c10dea
Parents: de8b4525b

Make LevelLocals::ExecuteSpecial return int

Conflicts:

wadsrc/static/zscript/base.txt

09-Jan-2019 (Wednesday) at 03:26:40 CST by Marrub
Commit de8b4525b
Parents: 241835bf2

Make LevelLocals::ExecuteSpecial return int

09-Jan-2019 (Wednesday) at 07:53:10 CST by Marrub
Commit 241835bf2
Parents: b8fc4bfed

Fix return value of native BuiltinCallLineSpecial

08-Jan-2019 (Tuesday) at 08:27:41 CST by Chronos Ouroboros
Commit b8fc4bfed
Parents: dbe19eef3

Fixed multidimensional array definitions.

08-Jan-2019 (Tuesday) at 08:20:14 CST by alexey.lysiuk
Commit dbe19eef3
Parents: ab588d1c9

  • increased range of valid sound positions and velocities

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

12-Jan-2019 (Saturday) at 07:29:13 CST by Christoph Oelckers
Commit 36f79ea36
Parents: 1ab4ebb7a

  • added some compatibility glue for old scripts that reference the global 'globalfreeze' and 'level' variables.

12-Jan-2019 (Saturday) at 07:04:40 CST by Christoph Oelckers

Merge branch 'g_level_reworking'

12-Jan-2019 (Saturday) at 06:50:15 CST by Christoph Oelckers
Commit 9099dc600
Parents: 9f1aedd13

  • fixed the 'frozen level' handling and did some cleanup on the session data in savegames.

The handling for the two frozen flags was totally inconsistent. Furthermore, these need to be session data, not level data. The old exported variables for this still exist and shadow the real state, but are deprecated now. Frozen state should only be checked with "currentSession.isFrozen()" now.

The session data in the savegame was grouped and separated from the global state, which onl consists of server CVARs and RNG state now.

12-Jan-2019 (Saturday) at 05:11:03 CST by alexey.lysiuk
Commit b7adc4065
Parents: e35320191

  • fixed condition to produce blood splatter during line attack

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

12-Jan-2019 (Saturday) at 04:21:34 CST by alexey.lysiuk
Commit e35320191
Parents: 159b45bd4

  • relaxed caller type check for states modified by Dehacked

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

11-Jan-2019 (Friday) at 17:53:58 CST by Christoph Oelckers
Commit 9f1aedd13
Parents: fe7112188

  • place automap marker and scale variables in the level so that saving and restoring works properly without affecting other maps by leaving behind residual data.

11-Jan-2019 (Friday) at 15:14:30 CST by Christoph Oelckers
Commit fe7112188
Parents: 7b799be94

  • fixed: Strife was missing the move factors.

11-Jan-2019 (Friday) at 15:00:07 CST by Christoph Oelckers
Commit 7b799be94
Parents: 99a3b09a6

  • fixed handling of snapshot buffers.

They get copied around a bit too much, so they cannot have a destructor. They must be explicitly deleted when the snapshot gets removed.

11-Jan-2019 (Friday) at 13:53:25 CST by Christoph Oelckers
Commit 99a3b09a6
Parents: 70ee43a95

  • it works now so that I can start a level, go to the next one and quit the engine without crashing.

Judging from this there will be quite a few surprises with the memory management that still need fixing.

11-Jan-2019 (Friday) at 12:53:30 CST by Magnus Norddahl
Commit 159b45bd4
Parents: bab9d612c

  • fix black cam texture on HUD

11-Jan-2019 (Friday) at 12:44:52 CST by Magnus Norddahl
Commit bab9d612c
Parents: e0826726b

  • fix null pointer crash

Older commits