Latest GZDoom Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

15-Dec-2018 (Saturday) at 17:37:34 CST by Christoph Oelckers
Commit 51f03c821 (Texture_Cleanup)
Parents: 87b0567cd

  • a few more fixes.

15-Dec-2018 (Saturday) at 16:32:49 CST by Christoph Oelckers
Commit 87b0567cd
Parents: e6e4f0f30

  • the font character substitution logic needed more fixes.

The ZScript DrawChar function was incomplete and FFont::GetChar did not always return the proper texture. To make things clearer the OriginalPic is now only used in the few cases where substitution takes place and nothing else.

15-Dec-2018 (Saturday) at 14:39:00 CST by Christoph Oelckers
Commit c92e6b03a (HEAD -> master)
Parents: 39f6489ac

  • why wasn't this saved?

15-Dec-2018 (Saturday) at 13:40:17 CST by Christoph Oelckers
Commit 39f6489ac
Parents: 091f73b83

  • two more places where explicit allocations could be replaced.

15-Dec-2018 (Saturday) at 13:22:42 CST by Christoph Oelckers
Commit 091f73b83
Parents: 8e24a50b3

  • fixed: no sprites were drawn in a sector if it only had ones in its sectorportal_thinglist.

15-Dec-2018 (Saturday) at 13:07:21 CST by Christoph Oelckers
Commit 8e24a50b3
Parents: f1fe9a028

  • let FxNop have a value type, even if it's just TypeError.

15-Dec-2018 (Saturday) at 12:15:05 CST by Christoph Oelckers
Commit e6e4f0f30
Parents: d1ca2a91f

  • disabled redirection to the original patch for FSpecialFont.

Using the same code as for the standard font does not work as intended, the reason still needs to be investigated.

15-Dec-2018 (Saturday) at 10:49:12 CST by Christoph Oelckers
Commit d1ca2a91f
Parents: c105a1f67

  • fixed: ThePatchRemap table was only initialized in one of FFont's constructors.

15-Dec-2018 (Saturday) at 09:57:20 CST by Christoph Oelckers
Commit c105a1f67
Parents: 74ea9143e

  • fixed two broken ScriptUtil calls in FraggleScript.

15-Dec-2018 (Saturday) at 09:50:59 CST by Rachael Alexanderson
Commit 14e9e3ac5 (SoftwareScaling)
Parents: 3fc9dd414

  • use software mipmaps for truecolor for scaled textures

15-Dec-2018 (Saturday) at 09:29:37 CST by Christoph Oelckers
Commit 74ea9143e
Parents: dc9c7afa2

  • added a 'forceworldpanning' map flag.

Since unfortunately this cannot be set as a general default, let's at least make it as easy as possible to disable that panning+scaling madness without having to edit the texture data.

15-Dec-2018 (Saturday) at 09:18:39 CST by Rachael Alexanderson

Merge remote-tracking branch 'origin/Texture_Cleanup' into softwarescaling

15-Dec-2018 (Saturday) at 09:13:28 CST by Rachael Alexanderson
Commit 2e927c702
Parents: aaabefbfa

  • port texture upscaler code to truecolour

15-Dec-2018 (Saturday) at 09:05:48 CST by Christoph Oelckers
Commit dc9c7afa2
Parents: 1aba33122

  • reimplemented the GetRawTexture redirect.

15-Dec-2018 (Saturday) at 08:51:50 CST by Rachael Alexanderson

Merge branch 'master' into softwarescaling

15-Dec-2018 (Saturday) at 08:36:43 CST by Christoph Oelckers
Commit 1aba33122
Parents: faa4bb45c

  • fixed: The light defaults were not fully deleted on an engine restart.

15-Dec-2018 (Saturday) at 08:36:33 CST by Christoph Oelckers
Commit faa4bb45c
Parents: d937c5072

  • store UnchangedSpriteNames in Dehacked in a less hacky manner.

15-Dec-2018 (Saturday) at 07:59:49 CST by Christoph Oelckers
Commit d937c5072
Parents: 056b2c3a8

  • use a TArray in PPUniforms.

This makes the vast majority of code in that class just go away

15-Dec-2018 (Saturday) at 07:25:30 CST by Christoph Oelckers
Commit 056b2c3a8
Parents: 48d87e3dc

  • handle CR_UNTRANSLATED so that it doesn't force CR_UNTRANSLATED to the palette.

Since the entire font setup is very much incapable of handling this during rendering, short of a complete rewrite, it was necessary to put the relevant code into the places which process the characters for drawing so that it can disable the translation table (which needs to be passed as raw data to the draw functions) and keep track of both the translatable and the original variant of the character graphics.

15-Dec-2018 (Saturday) at 04:55:21 CST by Christoph Oelckers
Commit 48d87e3dc
Parents: cd25b4be4

  • use TArrays for most buffers being used in the font class.

15-Dec-2018 (Saturday) at 03:04:49 CST by Christoph Oelckers
Commit cd25b4be4
Parents: 3d0fb6cf9

  • use a TArray to store the particles and remove all 16 bit global variables.

This means one less exit function to deal with - and these days 16 bit variables are a pointless attempt at saving space.

15-Dec-2018 (Saturday) at 03:02:57 CST by Magnus Norddahl
Commit f1fe9a028
Parents: 1187906a6

  • fix vanilla light mode angle calculation

15-Dec-2018 (Saturday) at 02:45:26 CST by Christoph Oelckers

Merge branch 'master' into Texture_Cleanup

15-Dec-2018 (Saturday) at 02:40:39 CST by Christoph Oelckers
Commit 1187906a6
Parents: 15949102d

  • use symbolic constants for the light modes.

15-Dec-2018 (Saturday) at 01:27:32 CST by Christoph Oelckers

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

15-Dec-2018 (Saturday) at 00:11:28 CST by Magnus Norddahl
Commit 3af6ae4b3
Parents: f373752b4

  • add vanilla lightmode that behaves exactly as Doom's original light did

14-Dec-2018 (Friday) at 17:38:27 CST by Christoph Oelckers
Commit 4d8e8e774
Parents: 656dbc964

  • enable the texture scalers in software mode.

Currently only implemented for 8 bit in the classic renderer.

14-Dec-2018 (Friday) at 15:36:26 CST by Christoph Oelckers

Merge branch 'master' into Texture_Cleanup#

Conflicts:

  • #
  • src/textures/texture.cpp

14-Dec-2018 (Friday) at 15:34:28 CST by Christoph Oelckers
Commit 013d3e236
Parents: f373752b4

  • code simplification.

14-Dec-2018 (Friday) at 12:59:19 CST by Christoph Oelckers
Commit f373752b4
Parents: 4a83f4d25

  • fixed incorrect alignment of scaled world panned textures combined with per-sidedef scaling in the hardware renderer

This particular case incorrectly factored in the sidedef's scaling factor for how to calculate the offset. Fortunately this is a very rare case - a quick check yielded no maps depending on it. Should any map surface that depends on this bug a compatibility option may be needed but it doesn't seem likely that this may be the case.

14-Dec-2018 (Friday) at 12:59:19 CST by Christoph Oelckers
Commit a19f297ae
Parents: e157e36b4

  • fixed incorrect alignment of scaled world panned textures combined with per-sidedef scaling in the hardware renderer

This particular case incorrectly factored in the sidedef's scaling factor for how to calculate the offset. Fortunately this is a very rare case - a quick check yielded no maps depending on it. Should any map surface that depends on this bug a compatibility option may be needed but it doesn't seem likely that this may be the case.

14-Dec-2018 (Friday) at 07:52:40 CST by alexey.lysiuk
Commit 4a83f4d25
Parents: 74ec789d0

  • disable music playback if WinMM stream cannot be opened

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

13-Dec-2018 (Thursday) at 18:48:53 CST by Christoph Oelckers
Commit e157e36b4
Parents: bd6ba47d6

  • the texture still needs to be added to the texture manager.

13-Dec-2018 (Thursday) at 15:29:08 CST by Christoph Oelckers
Commit bd6ba47d6
Parents: 1e844336b

  • fixed: The multipatch texture builder may not store the texture IDs on assignment.

Between creation and resolving the texture manager will resort the textures and after that the old ids are no longer valid. The textures themselves have the correct one, so that should be used.

13-Dec-2018 (Thursday) at 18:46:26 CST by Christoph Oelckers
Commit 1e844336b
Parents: fc5dd17d7

  • fixed memory leak with texture creation.

13-Dec-2018 (Thursday) at 18:31:40 CST by Christoph Oelckers
Commit fc5dd17d7
Parents: 7ffc2f127

  • fixed 3D floor texture setup.

This code really makes zero sense, it looks like the cases for upper and lower texture should never be entered ever.

13-Dec-2018 (Thursday) at 16:25:55 CST by Christoph Oelckers
Commit 7ffc2f127
Parents: 134460bae

  • fixed invalid texture accesses in the software renderer.

13-Dec-2018 (Thursday) at 12:35:28 CST by Player701
Commit 74ec789d0
Parents: 172b4bb84

  • Force node rebuild for Plutonia 2 MAP29 to fix BSP glitches

12-Dec-2018 (Wednesday) at 13:16:02 CST by Christoph Oelckers
Commit 134460bae
Parents: 01e05c9b7

  • one final fix.

12-Dec-2018 (Wednesday) at 13:11:09 CST by Christoph Oelckers
Commit 01e05c9b7
Parents: 7ea1e8ace

  • now it's correct.

12-Dec-2018 (Wednesday) at 13:07:46 CST by Christoph Oelckers
Commit 7ea1e8ace
Parents: 173b8beb3

  • fixed layer creation.

12-Dec-2018 (Wednesday) at 11:55:55 CST by Christoph Oelckers
Commit 173b8beb3
Parents: c5447f0cd

  • cleaned out the FHardwareTexture class, now that the translations are finally handled on a higher level.

12-Dec-2018 (Wednesday) at 11:39:38 CST by Christoph Oelckers
Commit c5447f0cd
Parents: fb6ee5046

  • continued work on texture management.

12-Dec-2018 (Wednesday) at 10:22:53 CST by Rachael Alexanderson
Commit 172b4bb84
Parents: 14094ebeb

  • added a number of darken2.wad maps to rebuild nodes in compatibility.txt

12-Dec-2018 (Wednesday) at 02:15:53 CST by alexey.lysiuk
Commit 14094ebeb
Parents: eb8614fc7

  • fixed crash on invoking vid_setsize CCMD with one argument

11-Dec-2018 (Tuesday) at 19:28:42 CST by Christoph Oelckers
Commit fb6ee5046
Parents: e6b4c63b9

  • add the hardware texture container to FTexture.

Currently it does not use the translated entries yet.

Conflicts:

src/hwrenderer/textures/hw_material.cpp

11-Dec-2018 (Tuesday) at 19:52:27 CST by Christoph Oelckers
Commit e6b4c63b9
Parents: 245a8243b

  • More adjustments

11-Dec-2018 (Tuesday) at 19:03:54 CST by Christoph Oelckers
Commit 245a8243b
Parents: 2cf6d213e

  • separated the savepic texture handler from the regular PNG texture

This was leaking memory with being handled like a regular image texture and also would prevent further changes to the in-game texture handling because the savegame picture was imposing some limitations on FPNGTexture's implementation

11-Dec-2018 (Tuesday) at 18:27:04 CST by Christoph Oelckers
Commit 2cf6d213e
Parents: 8fcc170e8

  • fixed compile bugs

11-Dec-2018 (Tuesday) at 18:25:25 CST by Christoph Oelckers
Commit 8fcc170e8
Parents: 368c78878

  • add font characters to the texture manager for easier management

These were the only non-transient textures not being handled by the texture manager which complicarted operations that require itrer

Older commits