Commit graph

562 commits

Author SHA1 Message Date
Christoph Oelckers
1fe667c6a0 - cleaned up the includes in m_png.h, this file had far too many and far too broad dependencies. 2020-04-11 14:00:09 +02:00
Christoph Oelckers
c623b04170 - copied some fixes for overlong config entries from Raze.
- renamed basictypes.h to basics.h to keep the file name in line with Raze and make comparisons easier.
2020-04-11 14:00:08 +02:00
Lucy Phipps
2c1a42ae55
remove gl_texture_usehires since it's unused now
GLTEXMNU_ENABLEHIRES in language.csv is unused too
2020-04-05 13:22:32 +01:00
Christoph Oelckers
5490ffcd77 - removed the obsolete Doomsday 1.8-style texture pack support.
This poorly integrated into the texture system and wasn't compatible with modern texture packs anymore so its usefulness was questionable.
2020-04-04 12:55:24 +02:00
drfrag
8336e80f48 - Fixed sprites sunk into water on Carmack with HQ resize modes. 2020-04-01 14:25:10 +02:00
dondiego
4bfb0e937f
- Fixed tutti-frutti and crash with liquid warp effects on the Carmack renderer when texture resizing was disabled. (#1063) 2020-03-31 19:17:41 -04:00
dondiego
cc0594df2e
- Use g_sin for the SoftPoly warp effects as Graf suggested. (#1061) 2020-03-31 10:25:46 -04:00
Rachael Alexanderson
6049e806d1 - amend previous commit: add softpoly fix 2020-03-26 17:53:32 +01:00
Rachael Alexanderson
7c9d8a0b99 - fix nullptr crash in player.camera reference when player.camera is nullptr 2020-03-26 17:53:32 +01:00
Rachael Alexanderson
ecb3ff0977 - add warp2 shader to softpoly2 2020-03-24 14:05:39 -04:00
Magnus Norddahl
175b697ba2 Implement warp effect 2020-03-24 17:49:21 +01:00
Rachael Alexanderson
aa0df7479e - remove assumption in DFrameBuffer::FillBorder that ultrawide screens will stretch an image, since it is no longer the case. 2020-03-22 06:47:34 -04:00
Christoph Oelckers
828cba13a1 - changed translation management so that the fonts also use translation IDs. 2020-03-16 17:23:30 +01:00
Christoph Oelckers
16ae7e3124 - fixed typo. 2020-03-15 12:19:22 +01:00
Christoph Oelckers
db5efddf12 - implemented better aspect ratio control for fullscreen images.
Due to backwards compatibility needs and for flexibility this needs to be controlled by a gameinfo setting (fullscreenautoaspect):

0: Treat all images as having an aspect ratio of 4:3, this is the default for compatibility reasons
1: Scale all images to fit the screen, i.e. either pillarbox or letterbox them.
2: Scale all images to fill the screen.
3: Scale all images so that the center 4:3 area is always fully visible. This is the recommended mode for 16:9 images designed to be shown with the sides being cropped on narrower displays.

A new DTA_ tag - DTA_FullscreenEx also exists which allows specifying the scale mode directly
2020-03-15 09:27:02 +01:00
Magnus Norddahl
920b322d72 Add missing segment clipping clamps for decals, sprites and wall sprites 2020-03-11 02:18:43 +01:00
alexey.lysiuk
5d6a490846 - prohibit core shaders overriding for OpenGL renderer
https://forum.zdoom.org/viewtopic.php?t=67519
2020-02-25 15:57:50 +02:00
drfrag
68f338b134 - Fixed compilation with MinGW and did some cleanup. 2020-02-16 09:39:17 +02:00
Magnus Norddahl
08e86b5bcc - fix vulkan crash when there are no textures in player's view 2020-02-15 10:42:46 +01:00
Magnus Norddahl
dd2d9f4182 - Fix vk_hdr looking for the wrong colorspace 2020-02-15 09:46:24 +01:00
Christoph Oelckers
617b6cd987 - use floats for sprite depth sorting in the hardware renderer.
Fixed point is clearly insufficient here.
2020-02-15 09:22:30 +01:00
alexey.lysiuk
bf18eab54b - fixed sprite and particle colors when not affected by dynlights
When gl_light_sprites and/or gl_light_particles CVARs were unset, random values could be used their colors

https://forum.zdoom.org/viewtopic.php?t=67066
2020-01-23 17:20:20 +02:00
Magnus Norddahl
e43894213e Remove softpoly specific matrix and vector classes 2020-01-18 13:56:37 +01:00
Magnus Norddahl
43562c94d0 Seems the clamp was required 2020-01-18 12:55:36 +01:00
Magnus Norddahl
e68b46cb6a Implement special colormap support for softpoly 2020-01-17 21:58:33 +01:00
Magnus Norddahl
3b336a1476 Fix broken fixed camera light for walls 2020-01-17 01:15:44 +01:00
alexey.lysiuk
efd2f8a1a8 - implemented screenshots in softpoly backend 2020-01-14 12:14:03 +02:00
Kevin Caccamo
91589d9799 Attempt to optimize check for ML_DRAWFULLHEIGHT
It is less likely that a line will have the ML_DRAWFULLHEIGHT flag than its' ceiling will be above the neighbouring sector's ceiling and vice versa.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
d73a5f5e16 Use != 0 after ANDing with the relevant flags
This is mostly a "just in case" measure, in case I did something wrong with the previous commits.
2020-01-11 13:24:02 +01:00
Kevin Caccamo
2ff92e91d2 Fix ML_DRAWFULLHEIGHT flag check 2020-01-11 13:24:02 +01:00
Kevin Caccamo
7ca6e7e5c1 Add handling for drawfullheight flag
Parse drawfullheight flag in UDMF
Draw full height for walls if the linedef has this flag
2020-01-11 13:24:02 +01:00
Kevin Caccamo
9b598017f9 Add more ways to prevent GZDoom from drawing skybox walls
Add noskywalls flag to sectors and linedefs
2020-01-11 13:24:02 +01:00
alexey.lysiuk
3185e359b9 - added workaround for GLSL noise functions on macOS
There is no chance that Apple will fix their OpenGL drivers
The only viable solution is to preprocess these functions out, and put zeroes instead of them
2020-01-10 13:52:17 +02:00
alexey.lysiuk
7e050010aa - removed obsolete softpoly render modes
https://forum.zdoom.org/viewtopic.php?t=66888
2020-01-06 14:31:34 +02:00
Rachael Alexanderson
cb7a097ed4 - vid_scalemode 1 now only goes down to 640x400 at minimum, instead of 320x200 2020-01-04 15:05:35 -05:00
alexey.lysiuk
651dfbc49f - fixed a few compilation warnings
src/d_main.cpp:280:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
src/rendering/r_videoscale.cpp:147:22: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
src/sound/s_reverbedit.cpp:250:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
2020-01-04 12:59:26 +02:00
Magnus Norddahl
fca3da8af4 Update and clarify the licenses for the postprocess, vulkan and softpoly parts 2020-01-03 05:52:01 +01:00
Rachael Alexanderson
f398819ce3 - due to issues with chat, scoreboard, and the stat screen, disable 320x200 in multiplayer for now 2020-01-02 06:47:17 -05:00
Rachael Alexanderson
118e3db5ca - r_videoscale: make the compiler manage vScaleTable's size 2020-01-01 23:23:20 -05:00
Rachael Alexanderson
dff45eb1f3 - relicense some of my past work under BSD 2020-01-01 07:38:06 -05:00
Rachael Alexanderson
5ae0ae885d - amend last commit: do it the other direction, too 2020-01-01 01:28:42 -05:00
Rachael Alexanderson
e87ed35565 - add framerate limiter to polybackend update function 2020-01-01 00:39:33 -05:00
Rachael Alexanderson
aa4abfc977 - added pixel ratio detection to supersampling detection for forcing linear scaling - this should likely make it so if there's ever an instance where a viewport pixel is smaller than a screen pixel, the screen should go to linear scaling now 2020-01-01 00:25:48 -05:00
Rachael Alexanderson
5389d8ad1a - set sane limits for vid_scale_custompixelaspect 2019-12-31 15:21:47 -05:00
Rachael Alexanderson
4bc923dddf - slight rearrange of vid_scalemode and menu update 2019-12-31 10:41:30 -05:00
Rachael Alexanderson
903f448461 - made linear scaling more user controlled 2019-12-31 10:26:23 -05:00
Rachael Alexanderson
5d2d187b84 - allow custom pixel ratio scaling 2019-12-31 09:41:42 -05:00
Magnus Norddahl
839b737429 Fix wrong blend tables used when dynamic lights hits translucent lines 2019-12-31 03:00:36 +01:00
Cacodemon345
7fd27bc925 Add PSPF_PLAYERTRANSLATED flag (makes a PSprite layer translated to the user's color) 2019-12-30 13:05:38 +01:00
Christoph Oelckers
77469e0512 - fixed the colorization parser. 2019-12-29 12:11:16 +01:00