Latest GZDoom Changes

Latest 50 commits

Unofficial development builds at DRD Team

Older commits

25-Apr-2017 (Tuesday) at 14:30:11 CDT by Christoph Oelckers
Commit 99579ef (HEAD -> master)
Parents: f866e0f

  • fixed a few issues with libmpg123 not correctly reporting the sound's length and issues with repeatedly rewinding the song.

25-Apr-2017 (Tuesday) at 14:05:36 CDT by Christoph Oelckers
Commit f866e0f
Parents: 090502b

  • saved the wrong version.

25-Apr-2017 (Tuesday) at 12:55:05 CDT by Christoph Oelckers
Commit 090502b
Parents: 9375edd

  • moved the 'no player start' check to the end of G_DoLoadLevel because inside G_FinishTravel it would leave some data in undefined places that later can cause a crash.

25-Apr-2017 (Tuesday) at 05:40:08 CDT by Christoph Oelckers
Commit 9375edd
Parents: cc786ba

  • removed p_buildmap.cpp.

This code had been broken for years and inactive for several months. Since there is really little point fixing it it may just be removed entirely.

25-Apr-2017 (Tuesday) at 02:57:55 CDT by alexey.lysiuk
Commit cc786ba
Parents: 2bb16c6

Fixed crash when mouse is moved right after saving of game has been triggered

https://forum.zdoom.org/viewtopic.php?t=56060 https://forum.zdoom.org/viewtopic.php?t=49369&start=105#p992821 https://forum.drdteam.org/viewtopic.php?t=7607

24-Apr-2017 (Monday) at 07:57:30 CDT by alexey.lysiuk
Commit 2bb16c6
Parents: f97efef

Fixed crash caused by 0-length lines in UDMF

When line was removed during processing bogus entries remained in sidedefs array

24-Apr-2017 (Monday) at 05:46:48 CDT by Chris Robinson
Commit f97efef
Parents: 78231d5

Set the source gain to 0 before stopping it

Stopping a source in the middle of playback can causing undesirable "popping" from a sudden change in amplitude. Setting the source gain to 0 gives OpenAL the opportunity to ramp the source's output to 0, where it can be safely stopped without causing a sudden change in amplitude.

23-Apr-2017 (Sunday) at 19:40:35 CDT by Chris Robinson
Commit 78231d5
Parents: e78d880

Remove unused URLSong functionality

This isn't supported with the OpenAL backend, and instead of trying to make a workaround for it, a better approach would probably be to make a FileReader implementation that handles URLs.

23-Apr-2017 (Sunday) at 09:19:58 CDT by alexey.lysiuk
Commit e78d880
Parents: 6fb1689

Removed obsolete timer workaround from Cocoa backend

23-Apr-2017 (Sunday) at 09:19:35 CDT by alexey.lysiuk
Commit 6fb1689
Parents: ab87590

Disabled truecolor software renderer on PowerPC by default

Performance on such old hardware is not acceptable

23-Apr-2017 (Sunday) at 09:17:36 CDT by alexey.lysiuk
Commit ab87590
Parents: f9735c4

Enabled GLSW framebuffer in Cocoa backend by default

Added fallback to generic Cocoa implementation if it's not available (i.e. without OpenGL Core Profile support) Value of vid_glswfb CVAR is now saved to configuration file

23-Apr-2017 (Sunday) at 08:40:03 CDT by Christoph Oelckers
Commit f9735c4
Parents: 9308e45

  • fixed signedness issues in OPL code.

23-Apr-2017 (Sunday) at 07:12:02 CDT by Christoph Oelckers
Commit 9308e45
Parents: 70abf19

  • include strifehelp.acs when building gzdoom.pk3.

Seriously, we shouldn't set a bad precedent for mappers here.

23-Apr-2017 (Sunday) at 06:42:47 CDT by alexey.lysiuk
Commit 70abf19
Parents: 93fa9ac

Replaced pointless comparison with loop_start range check

src/sound/oalsound.cpp:1285:17: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]

23-Apr-2017 (Sunday) at 06:29:41 CDT by alexey.lysiuk
Commit 93fa9ac
Parents: bd74cf8

Include gitinfo.h in version.h on Windows only

Avoid building of several files on each pull/reset/amend/cherry-pick/etc on macOS and Linux

23-Apr-2017 (Sunday) at 06:27:50 CDT by alexey.lysiuk
Commit bd74cf8
Parents: ea3b47d

Added selection of frame buffer implementation in Cocoa backend

Added vid_glswfb CVAR but set it to false by default for compatibility reasons

23-Apr-2017 (Sunday) at 05:25:13 CDT by alexey.lysiuk
Commit ea3b47d
Parents: 1c6cc3e

Added generic workaround for double type alignment

This fixes not only 32-bit Linux/macOS builds but PowerPC Mac target too

23-Apr-2017 (Sunday) at 04:34:48 CDT by alexey.lysiuk
Commit 1c6cc3e
Parents: e38e1d6

Proper detection of Intel 64-bit architecture

Size of pointer check was not enough

23-Apr-2017 (Sunday) at 04:24:57 CDT by alexey.lysiuk
Commit e38e1d6
Parents: 680d1b2

Added TargetArch CMake module, axr/solar-cmake@73cfea0

https://github.com/axr/solar-cmake/blob/master/TargetArch.cmake Added 2-clause BSD license header to TargetArch.cmake

23-Apr-2017 (Sunday) at 04:23:56 CDT by alexey.lysiuk
Commit 680d1b2
Parents: c519e76

Moved all CMake modules and launcher templates to designated directory

Let's not pollute root directory with various files

23-Apr-2017 (Sunday) at 05:58:40 CDT by Christoph Oelckers
Commit c519e76
Parents: 82b0326

  • fixed calculation of clipping rect's lower edge.

23-Apr-2017 (Sunday) at 05:12:49 CDT by Christoph Oelckers
Commit 82b0326
Parents: ace0568

  • delete the MMX function, too.

23-Apr-2017 (Sunday) at 04:52:32 CDT by Christoph Oelckers
Commit ace0568
Parents: 63e0310

  • now that SSE2 is a required feature for compiling on x86, DoBlending_MMX has no use anymore and could be removed, as could the checks for bRDTSC, which is an older hardware feature than SSE2. There's also little point printing pre-SSE2 hardware features because they can be assumed to be present on anything the code can run on.

23-Apr-2017 (Sunday) at 04:05:48 CDT by Magnus Norddahl
Commit 63e0310
Parents: 2621c46

  • add non-sse version of the softpoly drawers

23-Apr-2017 (Sunday) at 03:39:07 CDT by Christoph Oelckers
Commit 2621c46
Parents: c2391d6

Revert "- add CPU.bSSE2 branching support to softpoly"

This reverts commit 545241aa06ef73320cf84c3ae57950186a01ca83.

These commits are WIP stuff that should not be in the master branch. A work branch has been created to finalize this code.

22-Apr-2017 (Saturday) at 17:04:39 CDT by Chris Robinson
Commit c2391d6 (sse_optional)
Parents: 4b78344

Fix the default loop end point

22-Apr-2017 (Saturday) at 16:55:41 CDT by Chris Robinson
Commit 4b78344
Parents: fe2864d

Fix off-by-one error for the loop end

22-Apr-2017 (Saturday) at 15:15:09 CDT by Magnus Norddahl
Commit fe2864d
Parents: 9c805d1

  • add the AVX-2 softpoly drawer to the repository for completeness sake (not currently used)

22-Apr-2017 (Saturday) at 15:05:47 CDT by Magnus Norddahl
Commit 9c805d1
Parents: 173fa31

  • added non-sse version of the true color softpoly drawers

22-Apr-2017 (Saturday) at 14:58:45 CDT by alexey.lysiuk
Commit 173fa31
Parents: e4c73cf

Fixed internal Dehacked support

https://mantis.zdoom.org/view.php?id=619

22-Apr-2017 (Saturday) at 14:16:59 CDT by alexey.lysiuk
Commit e4c73cf
Parents: 545241a

Fixed compilation on Linux

src/polyrenderer/drawers/poly_triangle.cpp:212:20: error: ‘CPU’ was not declared in this scope src/polyrenderer/drawers/screen_triangle.cpp:955:6: error: ‘CPU’ was not declared in this scope

22-Apr-2017 (Saturday) at 13:38:06 CDT by Magnus Norddahl
Commit 545241a
Parents: 3608299

  • add CPU.bSSE2 branching support to softpoly

22-Apr-2017 (Saturday) at 08:52:24 CDT by Christoph Oelckers
Commit 3608299
Parents: 882279d

  • serialize AActor::boomwaterlevel.

After changing the splash code this looks necessary.

22-Apr-2017 (Saturday) at 08:49:39 CDT by Christoph Oelckers
Commit 882279d
Parents: dc3df4e

  • clamp the loop end point to the sample size for sound effects so that bogus values do not render the loop start ineffective.

22-Apr-2017 (Saturday) at 03:58:30 CDT by Christoph Oelckers
Commit dc3df4e
Parents: ecbfb25

  • remove mod_dumb CVAR. This now effectively disabled module playback because the OpenAL backend cannot substitute for it, unlike FMod.

22-Apr-2017 (Saturday) at 02:28:53 CDT by alexey.lysiuk
Commit ecbfb25
Parents: 370b639

Fixed handling of default values in EventHandler.SendNetworkEvent()

22-Apr-2017 (Saturday) at 01:58:38 CDT by alexey.lysiuk
Commit 370b639
Parents: 4e1e527

Fixed crash on returning to title screen

https://mantis.zdoom.org/view.php?id=615

21-Apr-2017 (Friday) at 14:07:06 CDT by alexey.lysiuk
Commit 4e1e527
Parents: 3ccd4aa

Fixed compilation with Clang

src/sound/oalsound.cpp:1288: error: non-constant-expression cannot be narrowed from type 'uint32_t' (aka 'unsigned int') to 'ALint' (aka 'int') in initializer list [-Wc++11-narrowing]

21-Apr-2017 (Friday) at 11:08:30 CDT by Christoph Oelckers
Commit 3ccd4aa
Parents: 0ed3ee6

  • fixed: The powerup icons did not blink when expiring.

21-Apr-2017 (Friday) at 10:48:40 CDT by Christoph Oelckers
Commit 0ed3ee6
Parents: f7a2215

  • updated the license in fmopl.cpp to the one in the current version of the original file.

21-Apr-2017 (Friday) at 09:25:36 CDT by Christoph Oelckers
Commit f7a2215
Parents: b3f3500

  • fixed: loop_end needs a different default in the sound effect code than in the music code.

21-Apr-2017 (Friday) at 05:29:50 CDT by Christoph Oelckers
Commit b3f3500
Parents: 1852079

  • added loop tag reading for Ogg and Flac sound effects. Due to lack of test material this is currently untested.
  • removed unaligned memory access in FindLoopTags.

21-Apr-2017 (Friday) at 03:56:34 CDT by Christoph Oelckers
Commit 1852079
Parents: b5f87aa

  • removed alpha parameter from BaseStatusBar.DrawBar because this cannot be used with this function.

21-Apr-2017 (Friday) at 03:45:27 CDT by Christoph Oelckers
Commit b5f87aa
Parents: 5cb5d26

  • typo in last commit.

21-Apr-2017 (Friday) at 03:44:02 CDT by Christoph Oelckers
Commit 5cb5d26
Parents: 66b5c26

  • fixed the item stats positioning on the automap.

21-Apr-2017 (Friday) at 03:37:03 CDT by Christoph Oelckers
Commit 66b5c26
Parents: c681d6e

  • consider the volume control of all Windows MIDI mapper devices broken, because it may be the GS synth, which is not detectable.

20-Apr-2017 (Thursday) at 14:09:18 CDT by alexey.lysiuk
Commit c681d6e
Parents: e19f6fe

Fixed applying of multiple pain chances

https://mantis.zdoom.org/view.php?id=608

20-Apr-2017 (Thursday) at 08:20:51 CDT by alexey.lysiuk
Commit e19f6fe
Parents: 403634c

Final touch in fixing restart CCMD

https://mantis.zdoom.org/view.php?id=595

19-Apr-2017 (Wednesday) at 09:52:43 CDT by alexey.lysiuk
Commit 403634c
Parents: 29402ff

Fixed crash caused by failure to allocate memory block of very special size

Allocation of 810 FState objects (32400 bytes in total) could be performed in MSVC x64 build but worked in 32-bit version This fixes https://mantis.zdoom.org/view.php?id=602

19-Apr-2017 (Wednesday) at 04:01:56 CDT by ZZYZX
Commit 29402ff
Parents: 316af5a

ZScript version of SetCameraToTexture

Older commits