Commit graph

13302 commits

Author SHA1 Message Date
Magnus Norddahl
0cd575363f - Add r_sprite_distance_cull that per default culls all things further than 5000 units away 2017-06-28 19:55:11 +02:00
Christoph Oelckers
c74356a1c0 - made OpenGL 3.3 a requirement for running the modern render path. Also force '-glversion 3' to use the modern render path, even though actual OpenGL 3.0 won't support it.
This will exclude Intel HD3000 and many obsolete drivers for NVidia and ATI which should have been updated long ago.
2017-06-28 17:57:04 +02:00
Rachael Alexanderson
c15880a2fc Merge https://github.com/coelckers/gzdoom 2017-06-27 17:38:26 -04:00
Magnus Norddahl
9c3361dfe2 - Fix stat fps to write something slightly more useful 2017-06-27 21:15:26 +02:00
Christopher Bruns
e9f03102f4 Update fixed color map for each eye, so light goggles would work in both eyes in stereo 3d modes. 2017-06-27 17:55:11 +02:00
Rachael Alexanderson
cf400ba2db Merge https://github.com/coelckers/gzdoom 2017-06-25 23:44:33 -04:00
Rachael Alexanderson
1562d64580 - fixed: in the availability of gl_fogmode == 0, default to having square fog instead of radial fog in gl_lightmode == 8 2017-06-25 09:37:14 -04:00
Magnus Norddahl
b6e035e796 - Implemented radial fog support in software light mode 2017-06-25 15:02:34 +02:00
Rachael Alexanderson
7592e6d5de Merge https://github.com/coelckers/gzdoom 2017-06-25 00:18:19 -04:00
Magnus Norddahl
f34ededdef - Improved fuzz rendering in software renderer by scaling it relative to 320x200 2017-06-25 00:35:15 +02:00
Rachael Alexanderson
9cb9121549 Merge https://github.com/coelckers/gzdoom 2017-06-24 11:31:01 -04:00
alexey.lysiuk
279b1e27dc Made usage of assertions in VM code consistent
https://forum.zdoom.org/viewtopic.php?t=56995
2017-06-22 10:36:08 +03:00
Rachael Alexanderson
9001009fcf Merge https://github.com/coelckers/gzdoom 2017-06-22 01:42:33 -04:00
Rachael Alexanderson
4229389680 - fixed: banded sw light was broken in a recent commit. Added back the 32 light levels and also made it prefer darker shades. 2017-06-21 19:10:39 -04:00
Rachael Alexanderson
f49794d6c6 - fixed: Due to recent changes, textures now use 'bgra' format in OpenGL. The palette tonemap shader had not yet been updated to reflect this. 2017-06-21 19:00:51 -04:00
Magnus Norddahl
28acf2ad06 - Fix OpenGL software diminishing light to be identical to truecolor swrenderer and softpoly
All there is left is to make globVis an uniform and move the LightVisibility::SetVisibility calculations out of the software renderer.
That will make it 100% correct for all r_visiblity values and aspect ratios.
2017-06-22 00:01:57 +02:00
Christoph Oelckers
a6b7ce00c2 - made DropItem fully read-only by changing the two places which messed around with DropItem.Amount to use a local variable instead.
The pointers themselves should have been declared read-only from the start but for that it is too late, so now all its members are.
2017-06-21 11:39:59 +02:00
Rachael Alexanderson
bdc99d9768 - fixed: fillsimplepoly drawer was using an inverted scale, leading to incorrect automap texture display. 2017-06-21 04:03:37 -04:00
Rachael Alexanderson
e60d627e88 Merge https://github.com/coelckers/gzdoom 2017-06-21 03:04:06 -04:00
Magnus Norddahl
fa36677bdb - Removed power-of-two limitation from span drawers, except for slopes 2017-06-21 03:08:11 +02:00
Rachael Alexanderson
ff257fcfd7 Merge https://github.com/coelckers/gzdoom 2017-06-20 09:39:12 -04:00
Christoph Oelckers
f909b82074 - fixed: Blood translations did not properly treat color 0 as transparent. 2017-06-20 09:10:19 +02:00
Rachael Alexanderson
cc9fa8a6f5 - fixed: Prevent /0 errors when calculating console scale, which could happen in certain rare situations. 2017-06-19 23:46:07 -04:00
Rachael Alexanderson
e290274fb7 - fixed: Now fully fixed the 3d floor + fog boundary issue.
- Revert "- Partially fixed the 3d floors + fogboundary issue. There's still an issue when a sprite appears in front of a fog boundary, but because this is already a huge visual improvement I am going to go ahead and push this."

This reverts commit 7e292fbfec.
2017-06-19 17:19:44 -04:00
Rachael Alexanderson
7e292fbfec - Partially fixed the 3d floors + fogboundary issue. There's still an issue when a sprite appears in front of a fog boundary, but because this is already a huge visual improvement I am going to go ahead and push this. 2017-06-19 17:05:53 -04:00
Magnus Norddahl
8af76b96d8 - Fix clearfog crash 2017-06-19 20:36:28 +02:00
Rachael Alexanderson
f65c651ffd - applied Maulotaur obituary text from https://forum.zdoom.org/viewtopic.php?f=2&t=56959 2017-06-19 04:16:09 -04:00
Rachael Alexanderson
d454fafc9e Merge https://github.com/coelckers/gzdoom 2017-06-19 03:22:23 -04:00
Magnus Norddahl
490d7e3a35 - Remove clearfog goto 2017-06-19 00:55:32 +02:00
Magnus Norddahl
8beafbb7da - Fix voxel speed regression in the palette software renderer 2017-06-18 19:45:15 +02:00
alexey.lysiuk
9b446e41fc Fixed applying of flags on fullscreen inventory bar
DI_ALWAYSSHOWCOUNTERS and DI_DRAWCURSORFIRST flags are no longer ignored in BaseStatusBar.DrawInventoryBar() function
https://forum.zdoom.org/viewtopic.php?t=56798
2017-06-18 16:57:05 +03:00
Christoph Oelckers
3b024c347b - use a dedicated flag word for the dynamic light flags instead of piggybacking on some flags4 bits. 2017-06-18 10:15:31 +02:00
Christoph Oelckers
cf1d94c9bb - fixed blood translation's alpha so that CreateTexBuffer can assume that all palette entries in translations are correct. 2017-06-18 09:23:56 +02:00
Christoph Oelckers
a1694a79c6 - removed the FGLBitmap class and replaced all uses with the regular FBitmap.
The only reason this ever existed is that the GL renderer used RGBA instead of BGRA but there's no reason why this is even necessary.
2017-06-18 09:14:33 +02:00
alexey.lysiuk
9ac7aaf7d5 Fixed possibility to stuck in MAP14 of Hellbound
https://forum.zdoom.org/viewtopic.php?t=56925
2017-06-18 09:24:19 +03:00
alexey.lysiuk
4fe9b65782 Removed sudo requirements from Travis configuration
This should slightly reduce overall processing time
2017-06-18 09:23:52 +03:00
Rachael Alexanderson
4149cdb343 Merge https://github.com/coelckers/gzdoom 2017-06-17 20:18:22 -04:00
jplebreton
4ec6326daa - Final Doom fixes: two progression blockers and a few bugs in maps that prevented getting 100% kills and/or items. 2017-06-17 09:09:55 +02:00
Rachael Alexanderson
c70dac2d7f Merge https://github.com/coelckers/gzdoom 2017-06-16 13:27:03 -04:00
alexey.lysiuk
eda55b25ee Fixed code generation for vector parameters with default values
https://forum.zdoom.org/viewtopic.php?t=56915
2017-06-16 11:58:24 +03:00
alexey.lysiuk
478d72b37b Fixed resetting of activation failed flag on pickup
https://forum.zdoom.org/viewtopic.php?t=56896
2017-06-14 22:13:40 +03:00
alexey.lysiuk
c22017f981 Made two Hexen maps compatibility options data driven 2017-06-14 16:10:01 +03:00
alexey.lysiuk
5874d01a73 All compatibility options are now applied for IWAD maps
https://forum.zdoom.org/viewtopic.php?t=56867
2017-06-14 15:24:11 +03:00
Rachael Alexanderson
c239ca3262 Merge https://github.com/coelckers/gzdoom 2017-06-13 00:50:50 -04:00
jplebreton
29ca258cb9 Fixes for two Master Levels: progression blocker in catwalk.wad, unattainable secret in nessus.wad. 2017-06-12 12:16:06 +02:00
Rachael Alexanderson
96df3aed01 Merge https://github.com/coelckers/gzdoom 2017-06-12 00:56:25 -04:00
Rachael Alexanderson
2ff492d005 - fix compile on Windows 2017-06-12 00:38:50 -04:00
Rachael Alexanderson
a148212215 Merge commit 'f1ad42c' 2017-06-12 00:22:59 -04:00
Christoph Oelckers
842e8b68b4 - blacklist old FMod related sound CVARs because they tend to be in the UnknownCVARs section but aren't useful any longer. 2017-06-12 00:00:55 +02:00
Christoph Oelckers
f1ad42c4e5 - instead of discarding protected menu replacements, try to merge them with the original version.
Testing with Adventures of Square this mostly works, but it is clear that a list of old and deleted CVARs still needs to be added so that any items referring to those can be eliminated as well. Some stuff is still slipping through that refers to features which no longer exist.
2017-06-11 22:30:40 +02:00