Commit graph

12880 commits

Author SHA1 Message Date
alexey.lysiuk
a797db74da Silenced scripting warning from main .pk3
Script warning, "gzdoom.pk3:zscript/menu/playercontrols.txt" line 526:
Truncation of floating point value
2017-06-04 16:21:10 +03:00
Christoph Oelckers
1cb3514b05 - use 0 as the default for r_vanillatrans.
As nice as the automatic is, this will trigger far too many cases where it will disable translucency for mods that only change some texts. Dehacked is very often only used for non-actor related modifications.
If the automatic is supposed to be the default it needs to do a lot more thorough checks to avoid bug reports due to misunderstanding the feature.
2017-06-04 12:39:39 +02:00
Rachael Alexanderson
c18134dbd3 - r_vanillatrans: Cache the cache! Transform the function into a global variable and recheck at the start of D_Display 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
5eaf085d58 - fixed minor menudef mistake 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
4686ba78a0 - Add licenses to r_vanillatrans files 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
68b6f922f7 - Added auto-detection scheme for r_vanillatrans
It now works the following way:
(0) - Force off (ZDoom defaults)
(1) - Force on (Doom defaults)
(2) - Auto off (Prefer ZDoom defaults - if DEHACKED is detected with no ZSCRIPT it will turn on) (default)
(3) - Auto on (Prefer Doom defaults - if DECORATE is detected with no ZSCRIPT it will turn off)
2017-06-04 12:30:35 +02:00
Rachael Alexanderson
11741846c6 - fixed: missed the teleport fog 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
e1bb44a9ed - added menu option for r_vanillatrans 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
10a9d087f1 - fixed: missed the golden wand puff for the +ZDOOMTRANS flag 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
2997f31f9f - removed ZDOOMADD and updated actors in question with ZDOOMTRANS 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
a937f709aa - Added +ZDOOMADD to all Heretic, Hexen, and Strife actors that needed it (that I know of...)
- this developer's insanity level increased another 21%
2017-06-04 12:30:35 +02:00
Rachael Alexanderson
89b372cb01 - Changed MF7_SPRITEFLIP, MF8_ZDOOMTRANS to RenderFlags
- Added RF_ZDOOMADD
- renamed r_canontrans to r_vanillatrans
- this developer's insanity level has increased by 231%.
2017-06-04 12:30:35 +02:00
Rachael Alexanderson
c252b5d753 - fixed: forgot to assign +ZDOOMTRANS to rockets 2017-06-04 12:30:35 +02:00
Rachael Alexanderson
01f88cfb16 - Added 'canonical transparency' cvar r_canontrans - this simply turns off transparency for Doom objects that were marked as transparent sometime in ZDoom's development cycle 2017-06-04 12:30:35 +02:00
Magnus Norddahl
7acb492852 - Add gl_shadowmap_quality cvar that controls the resolution of the 1D shadow map texture 2017-06-04 00:44:49 +02:00
Magnus Norddahl
265df4b797 - Change shadowmap resolution from 1024 to 128 2017-06-03 21:19:34 +02:00
Christoph Oelckers
1df7dc81e6 - fixed: The statusbar's MustDrawLog method was called with an incorrect number of parameters. 2017-06-03 19:44:22 +02:00
Magnus Norddahl
797cb94b4f - Add stat shadowmap to get performance for the upload part of the shadow maps 2017-06-03 19:24:54 +02:00
Magnus Norddahl
7edb75d299 - The mandatory include compile error fix for unix 2017-06-03 18:28:12 +02:00
Magnus Norddahl
d38dae5de8 - Add gpu stat that displays how much time the GPU spent on named GL groups 2017-06-03 18:14:24 +02:00
jplebreton
2c7a0c87c8 add FloatBobStrength Actor property, a multiplier on Z offset created by FloatBob behavior. default of 1.0 is current behavior, set higher/lower for more/less extreme bobbing. 2017-06-03 18:02:27 +02:00
Magnus Norddahl
f593e2aa3c - Fix stat output to use the console scale 2017-06-03 16:58:09 +02:00
Rachael Alexanderson
cdc0bf1cd5 - condense all of unloved/2.pk3's compatibility entries together since they are all the same 2017-06-02 16:58:22 -04:00
Kirill Gavrilov
2a8ebc6c27 Fixed broken Interleaved 3D output when GL Sampler objects are used 2017-06-02 09:10:38 +02:00
Rachael Alexanderson
5502421901 - fixed: Using pure software drawers (vid_hw2d==false) drawing stencils on the screen resulted in black stencils
- this fixes crosshairs being drawn black
2017-06-01 16:21:15 -04:00
Magnus Norddahl
c30010370e - Fix voxels not being rendered when the replaced sprite texture doesn't exist 2017-06-01 00:26:25 +02:00
Rachael Alexanderson
9e2d44e9c8 - Added a number of missing textures for all 4 episodes of Ultimate Doom 2017-05-31 21:29:25 +02:00
Rachael Alexanderson
f753a8bfbc - Two more compat fixes for Doom2 - this at least covers all the HOM errors mentioned in the Doom Wiki. 2017-05-31 11:28:27 -04:00
Rachael Alexanderson
907d1e0056 - Several compatibility fixes for Doom2's first map cluster. Fixes missing textures as well as incorrect sector tagging causing glitches when opening doors or triggering an ambush. 2017-05-31 08:46:29 -04:00
Christoph Oelckers
1bd3098dec - Now we are at 3.2pre. 2017-05-31 12:52:38 +02:00
Christoph Oelckers
d8d4723ae1 - removed PCD_GetActorZ double check. 2017-05-31 11:52:51 +02:00
Christoph Oelckers
1465102ba0 - added SetRandomSeed function for ZScript. This uses the same RNG syntax as the other random functions. 2017-05-31 11:33:57 +02:00
Christoph Oelckers
afa2888acb - fixed size clamping of sector lights to use 1024 as maximum, not 255 as inherited from ZDoomGL. 2017-05-31 10:41:43 +02:00
Christoph Oelckers
977d5988c5 - fixed weapon sprite light calculation for low light levels. 2017-05-31 09:27:50 +02:00
Christoph Oelckers
b50123ec6b - avoid function call in VM code.
- return after calling ThrowAbortException because this avoids storing some register variables on the stack.
2017-05-30 17:50:56 +02:00
alexey.lysiuk
62bac1d612 Added check for nullptr to CLSS and META instructions of scripting VM
https://forum.zdoom.org/viewtopic.php?t=56667
2017-05-30 18:09:51 +03:00
alexey.lysiuk
0c90253a5d Fixed potentially broken portal rendering after OpenGL context change
https://forum.zdoom.org/viewtopic.php?t=56393
2017-05-30 13:01:51 +03:00
alexey.lysiuk
7e7e1ff12e Added VS2017 Release targets to AppVeyor configuration
Removed VS2015 Win32 Debug target to speedup build process
2017-05-29 14:50:39 +03:00
alexey.lysiuk
3b61be3145 Removed dependency on dxguid library
It's impossible to use VS2017 with XP compatible toolset otherwise
2017-05-29 14:46:56 +03:00
alexey.lysiuk
0f936f39d8 Rewrote directory creation function for Windows
Previous implementation had several security issues
https://forum.zdoom.org/viewtopic.php?t=56622
2017-05-29 12:20:30 +03:00
Rachael Alexanderson
b7295775b9 - Print out warnings when Direct3D initialization fails. 2017-05-29 01:01:08 -04:00
Magnus Norddahl
1505f75669 - Fix testcolor and testfade in the software renderer 2017-05-28 23:57:09 +02:00
alexey.lysiuk
f759e1155a Damage factor on armor is no longer ignored
https://forum.zdoom.org/viewtopic.php?t=56632
2017-05-28 17:41:44 +03:00
alexey.lysiuk
e56cda1350 Fixed crash on change particular sound options
Happened only when there is a current song but it’s not played, for example in title screen
https://forum.zdoom.org/viewtopic.php?t=56631
2017-05-28 17:18:35 +03:00
Rachael Alexanderson
9435a09f1e - Added vid_glswfb to menu on Mac. 2017-05-27 08:01:56 -04:00
Rachael Alexanderson
d0c1dc9b02 - Added compatibility fix for Doom2's map18 for missing textures on one of the door frames - lines 451 and 459 2017-05-27 06:53:36 -04:00
Rachael Alexanderson
a7cc6fb1ba - fixed: 'IfOption(Linux)' is actually 'IfOption(unix)' in menudef 2017-05-27 05:12:59 -04:00
Rachael Alexanderson
9ebf1ec9a2 - Update menu to match new vid_glswfb config
- Added vid_glswfb to menu on Linux
2017-05-27 04:58:48 -04:00
Rachael Alexanderson
4545bb2fa1 - rename vid_used3d on windows to vid_glswfb to match Linux. Additionally, the values were reversed to match the Linux variant of this configuration. This CVar now operates exactly the same way it does on Linux, except it defaults to being off and still allows the D3D framebuffer on Windows when it's deactivated. 2017-05-27 04:52:43 -04:00
Magnus Norddahl
b111a708da - Fix compile error and some warnings 2017-05-27 06:27:36 +02:00