alexey.lysiuk
7425a73d90
- prevented crashes caused by inconsistent status bar
...
Incorrectly initialized or deliberately broken status bar could lead to integer division by zero and null pointer dereference
class BuggyStatusBar : DoomStatusBar
{
override void Init()
{
// No super.Init()
}
}
(cherry picked from commit 832de42c24
)
2018-06-17 18:55:43 +02:00
Magnus Norddahl
34500a6324
- move DrawArray and DrawElements to PolyTriangleDrawer
...
(cherry picked from commit a91147a3a5
)
2018-06-16 19:59:22 +02:00
Magnus Norddahl
db8c8c5ac3
- add support for using FModelVertex as input to the softpoly vertex shader
...
(cherry picked from commit 9ba26a5ece
)
2018-06-16 19:59:19 +02:00
Magnus Norddahl
380d90f532
- add GroupMemoryBarrierCommand
...
(cherry picked from commit c9fd52340e
)
2018-06-16 19:58:39 +02:00
Magnus Norddahl
9bcd8aeb13
- remove unused VectoredTryCatch
...
# Conflicts:
# src/win32/i_crash.cpp
2018-06-16 19:52:12 +02:00
Magnus Norddahl
ddbf2f3166
- remove unused DrawerCommand::DebugInfo
...
(cherry picked from commit 628f6c32d9
)
2018-06-16 19:20:21 +02:00
Magnus Norddahl
0a265d028d
- use the worker threads to clear the stencil buffer
...
(cherry picked from commit de67393b4e
)
2018-06-16 19:20:19 +02:00
Magnus Norddahl
fe940d09a6
- enable model rendering in the software renderer
...
(cherry picked from commit 85f5f897d7
)
# Conflicts:
# src/polyrenderer/scene/poly_playersprite.cpp
# wadsrc/static/menudef.txt
2018-06-16 19:20:17 +02:00
Christoph Oelckers
d7c2274692
- 3.4.1
2018-06-14 08:59:10 +02:00
drfrag666
0964fd7108
Revert "- Changed savegame list order, now they are sorted by reverse slot number instead of alphabetically."
...
This reverts commit dc8d32cb69
.
This is an experimental feature and should not be in the release.
2018-06-14 08:52:54 +02:00
alexey.lysiuk
807695783f
- fixed portal restoration on revisiting level in hub
...
Added function to FLevelLocals to test if map is being reentered
https://forum.zdoom.org/viewtopic.php?t=60455
(cherry picked from commit 29d2e77840
)
2018-06-11 12:25:30 +02:00
Christoph Oelckers
ed5c2b21ac
- ZScript used the wrong variable for compatflags2.
...
ii_* is merely the storage for info from the compatibility.txt lump.
(cherry picked from commit ae1fe041ee
)
2018-06-09 19:44:12 +02:00
alexey.lysiuk
c5b20b91ff
- fixed: flag CVars in ZScript referenced wrong addresses
...
(cherry picked from commit 4a1f36623b
)
2018-06-09 19:44:11 +02:00
drfrag666
8ff20c98a5
- That cmath include was actually not needed (bad merge).
2018-06-09 14:46:34 +02:00
Christoph Oelckers
43c3d63786
- redirect script access to the compatflags CVARs to their internal shadow variables.
...
This is needed so that MAPINFO settings for these flags don't get ignored.
(cherry picked from commit 1fdcacc337
)
# Conflicts:
# src/scripting/backend/codegen.cpp
2018-06-09 14:30:41 +02:00
drfrag666
f24f5e1bf9
- Clarify SSE2 option for software truecolor.
2018-06-07 20:06:48 +02:00
drfrag666
f48c52291c
- Fixed: the new savegame order didn't take into account custom filenames. Try to catch most custom names.
2018-06-07 11:43:13 +02:00
Magnus Norddahl
ee41e9d93a
- fix missing include
...
(cherry picked from commit 2abf700c29
)
2018-06-06 08:49:18 +02:00
Magnus Norddahl
01332a1bde
- add dynamic lights to softpoly and software renderer models
...
(cherry picked from commit 5464d2a577
)
# Conflicts:
# src/gl/scene/gl_spritelight.cpp
2018-06-06 08:49:08 +02:00
Magnus Norddahl
6a1722076a
- fix null pointer crash in softpoly
...
(cherry picked from commit 61f379c88f
)
2018-06-06 01:52:07 +02:00
Christoph Oelckers
a8c0e67b21
- fixed autoaiming for unranged attacks.
...
The abort condition for the extended checks must completely stop any further processing but the check for this was missing.
(cherry picked from commit 60b6dbadb2
)
2018-06-05 21:16:58 +02:00
Magnus Norddahl
f70715e25a
- fix software renderer dynamic lights not working properly in mirrors
...
(cherry picked from commit f5386a706f
)
2018-06-05 21:15:12 +02:00
Magnus Norddahl
d0ff0bcaf2
- draw models in mirrors and portals at the right location in the software renderer
...
(cherry picked from commit b74a9965b8
)
2018-06-05 21:15:12 +02:00
Rachael Alexanderson
196748236a
- fixed: 'empty function OnGiveSecret' - this was my fault, giving bad advice to Marisa in her PR. I fixed it.
...
(cherry picked from commit 512082b222
)
2018-06-05 20:10:13 +02:00
Marisa Kirisame
70c5886987
Adds "OnGiveSecret" virtual function on Actor for customizing behavior of secret finding.
...
(cherry picked from commit 477cf23fd2
)
2018-06-05 20:10:12 +02:00
Magnus Norddahl
28ec13b66c
- avoid using global variables in the inner fuzz drawer loop
...
(cherry picked from commit 674b6ee85c
)
2018-06-05 20:10:11 +02:00
Magnus Norddahl
69c51ae8b7
- fix dynlight color not being applied on sprites
...
(cherry picked from commit 51fd715404
)
2018-06-05 20:10:10 +02:00
Magnus Norddahl
2dff3af8cb
- fix softpoly colored fog bug in the new drawers
...
(cherry picked from commit 9cd751ae7a
)
2018-06-05 20:10:09 +02:00
alexey.lysiuk
3712a2cea5
- fix crash on dying when player class has no death states
...
https://forum.zdoom.org/viewtopic.php?t=60815
(cherry picked from commit 7009755c52
)
2018-06-05 12:26:02 +02:00
Christoph Oelckers
dc43bc5f0e
- fixed FMemArena to always return 16 byte aligned pointers.
...
Unfortunately this turned out harder than expected because of FSharedStringArena making some strong assumptions about the underlying implementation.
(cherry picked from commit 2f6dc46f14
)
2018-06-05 00:04:31 +02:00
Marisa Kirisame
74f4c8a6dd
BLOCKASPLAYER flag: treat non-player actors as blockable by "block players" lines
...
(cherry picked from commit fae514f30d
)
2018-06-05 00:04:22 +02:00
Rachael Alexanderson
4d238beb7b
- fixed - sector sounds were not translated through portal groups properly
...
(cherry picked from commit 780ddd21bd
)
2018-06-05 00:04:04 +02:00
Magnus Norddahl
3e9f8e7679
- use a light array to simplify inner light math
...
(cherry picked from commit e3c78ab838
)
2018-06-04 09:55:35 +02:00
Magnus Norddahl
f218485a57
- use affine dynlights in softpoly
...
(cherry picked from commit 97f4cc1951
)
2018-06-04 09:55:33 +02:00
drfrag666
6d15e0eb89
Revert "- fix memory arena allocation alignment for 32 bit systems."
...
This reverts commit 8f138a42e3
.
This gives an assertion failed error in zstring.h with MinGW.
2018-06-03 20:50:04 +02:00
Christoph Oelckers
fccd77500f
- Fixed: Dehacked must not validate parameters for MBF special functions.
...
These won't match the conditions.
Additionally this adds disassembly output for the synthesized replacement functions for diagnostics purposes.
(cherry picked from commit d18f5eecb4
)
2018-06-03 20:29:59 +02:00
Magnus Norddahl
a166f6a7ae
- replace the old rect drawers with new ones based on render styles
...
(cherry picked from commit d425fb2d4a
)
2018-06-03 20:13:48 +02:00
Magnus Norddahl
b07c4c41c7
- always store 255 in alpha channel for opaque things as the alpha channel is no longer ignored by the framebuffer backend (software drawer)
...
(cherry picked from commit 25784c2e57
)
2018-06-03 20:13:12 +02:00
Magnus Norddahl
90e131b6fd
- always store 255 in alpha channel for opaque things as the alpha channel is no longer ignored by the framebuffer backend (softpoly drawer)
...
(cherry picked from commit 11bb626ab6
)
2018-06-03 20:11:22 +02:00
Christoph Oelckers
8f138a42e3
- fix memory arena allocation alignment for 32 bit systems.
...
(cherry picked from commit 23fce56b5e
)
2018-06-03 20:01:43 +02:00
Christoph Oelckers
f6f25354d7
- fixed: For melee attacks with a short attack range P_AimLineAttack must check for hits from above and below.
...
This is necessary to be in line with P_LineAttack which does check for those.
(cherry picked from commit a851a5d151
)
2018-06-03 20:00:20 +02:00
alexey.lysiuk
53f66a6c4c
- fixed mouse cursor positioning in menu for Cocoa backend
...
With video resolution scaling enabled engine coordinates of mouse cursor were wrong
(cherry picked from commit f8f1148c59
)
2018-06-03 19:59:28 +02:00
alexey.lysiuk
d645da3ccf
- fixed linking with sanitizer(s) enabled
...
no more unresolved references to various functions
(cherry picked from commit b5274534d7
)
2018-06-03 19:56:19 +02:00
Marisa Kirisame
1afcd9b7c7
Mirroring should be flipped on HUD models since the view to world space transform already inverts one axis
...
(cherry picked from commit f74e74ac4b
)
2018-06-03 19:51:45 +02:00
Marisa Kirisame
5a76623993
Swap front face culling for GL model drawer (CCW should be the default).
...
Added mirroring handling to software models.
(cherry picked from commit dea1d0259d
)
2018-06-03 19:49:48 +02:00
Magnus Norddahl
d086c3d4dc
- removed the 8x8 block drawing code from softpoly
...
(cherry picked from commit a186677092
)
2018-06-03 19:46:38 +02:00
Christoph Oelckers
ea752bde90
- fixed: The translucent border draw list must be rendered with depth writing active.
...
This gets exclusively used by portal borders which means that for walls the setting is irrelevant but for flats it is needed to cover the portal surface so that translucent parts of the outer scene do not bleed through.
(cherry picked from commit d0aacd3ba8
)
# Conflicts:
# src/gl/scene/gl_scene.cpp
2018-06-03 01:22:56 +02:00
Magnus Norddahl
06496c7df7
- fix negative rotation speed not working
...
(cherry picked from commit 0dbcdc8a9c
)
2018-06-02 21:35:00 +02:00
Christoph Oelckers
ff5c488a0f
- pass mirroring info to model drawers.
...
Actual evaluation only implemented in OpenGL. Not tested yet because the bug report had no testable example.
(cherry picked from commit 94d1a73ae8
)
2018-06-02 21:31:23 +02:00
Christoph Oelckers
b18d198cf6
- fixed: MF3_DONTSPLASH disabled all terrain effects, not just the splash.
...
Untested for now because the report came without any example to check it with.
(cherry picked from commit 0c5a47ac90
)
2018-06-02 21:30:46 +02:00