Ricardo Luís Vaz Silva
3a31008aa8
implement global shaders
2025-01-08 18:25:36 +08:00
Rachael Alexanderson
b85b7c18da
Merge branch '4.14' of c:/projects/gzdoom into gzd4-14-merge
2024-12-18 10:23:00 -05:00
RaveYard
3e10e3f551
Fix M_SaveBitmap stream buffer size
...
- credits to dpJudas for the solution
2024-12-10 01:28:56 -05:00
Rachael Alexanderson
7980d351b7
Merge branch '4.13' of ../gzdoom into gz4.13.1-merge
2024-10-20 10:25:15 -04:00
nashmuhandes
a45bf49616
Move no-mipmapping from actor renderflag/particle flag, to a material property in GLDEFS, where it makes more sense. The feature was introduced in the short-lived engine version of 4.13 which was deemed too broken and needed to be replaced with a newer version anyway, so might as well perform an API-breaking change at this point in time. Note that this currently only works for sprites (its primary targeted use case) -- walls, flats and models can be patched in later.
2024-10-19 18:36:34 -04:00
nashmuhandes
12c6d1361a
Move no-mipmapping from actor renderflag/particle flag, to a material property in GLDEFS, where it makes more sense. The feature was introduced in the short-lived engine version of 4.13 which was deemed too broken and needed to be replaced with a newer version anyway, so might as well perform an API-breaking change at this point in time. Note that this currently only works for sprites (its primary targeted use case) -- walls, flats and models can be patched in later.
2024-10-19 18:35:54 -04:00
nashmuhandes
1fae4b9d4a
Merge branch 'master' of https://github.com/ZDoom/gzdoom
2024-09-24 15:31:08 +08:00
Cacodemon345
38290b6615
Truecolor sky: Draw opaque black background on transparent texels
...
Fixes HOM effect
2024-09-12 08:38:19 +02:00
Cacodemon345
ce24849adf
Add support for fire textures in ANIMDEFS
2024-09-12 08:38:19 +02:00
nashmuhandes
58fecd4b92
Move depth fade definition to GLDEFS
2024-09-09 18:57:07 +08:00
Magnus Norddahl
cc06294932
Remove linear depth from texture manager again (this wasn't a good idea)
...
Add linear depth texture to the fixed descriptor set
2024-09-08 21:18:22 +02:00
Magnus Norddahl
1b8effe1ea
Make linearized depth data available to translucent material shaders via the texture name SceneLinearDepth. Does it work? Who knows!
2024-09-08 02:32:01 +02:00
Rachael Alexanderson
112c6cbccf
Merge branch 'master' of https://github.com/ZDoom/gzdoom into gzdoom-update-4-12-1
2024-04-21 11:05:59 -04:00
Christoph Oelckers
ebd4ebf298
StringTable cleanup and improvements
...
cleaned up function interface to avoid referencing the file system in the worker functions.
replaced StringTable's operators with functions.. The main reason is that these are far easier to look up when browsing the source.
This also fixes a premature translation in SBARINFO that was done in the parsing stage, not the printing stage.
2024-04-21 10:34:44 +02:00
Ricardo Luís Vaz Silva
1c3764ec89
remove copying from CreateTexBuffer
2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
3b6c8349da
do the same for paletted and rgb textues
2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
74e9d575e8
store YUV and VPX directly as BGRA to speed up animation
2024-04-17 20:35:49 -04:00
Ricardo Luís Vaz Silva
5b2673f469
add 444/422/440 support to vp9, remove extra copy of image data
2024-04-17 20:35:49 -04:00
nashmuhandes
74a27be3fd
Merge branch 'master' of https://github.com/ZDoom/gzdoom
2024-03-10 03:34:37 +08:00
Magnus Norddahl
144caa0902
Fix precache unload bug in FHardwareTextureContainer::UnmarkAll
2024-02-19 06:45:30 -05:00
Magnus Norddahl
c9612b0cab
Fix memory leak due to IHardwareTexture forward declaration
2024-02-19 06:45:18 -05:00
Magnus Norddahl
fc6e5860e2
Fix precache unload bug in FHardwareTextureContainer::UnmarkAll
2024-02-19 12:25:05 +01:00
Magnus Norddahl
3247f7c67a
Fix memory leak due to IHardwareTexture forward declaration
2024-02-19 10:16:36 +01:00
Ștefan Talpalaru
b5eb8f47db
GCC-13 support, when precompiled headers are off
2024-02-05 17:40:37 +01:00
Christoph Oelckers
b37ea19f86
remove unnecessary #defines
2024-02-03 16:07:12 +01:00
Magnus Norddahl
805bce1166
Merge remote-tracking branch 'gzdoom/master'
2024-01-10 04:03:35 +01:00
Christoph Oelckers
963209e8af
removed external stuff from tarray.h
2024-01-09 16:47:24 +01:00
Ricardo Luís Vaz Silva
8ae93fb87f
use map instead of linear search to find texture indices for animation
2024-01-09 06:38:08 -05:00
Christoph Oelckers
f13ae3b706
addressed a few things pointed out by static analysis
...
* marking move assignments noexcept
* using [[fallthrough]] consistently.
* getting rid of alloca.
2024-01-07 08:46:47 +01:00
Christoph Oelckers
83aa9388ca
backend update from Raze
...
* moving large allocations off the stack
* use proper printf formatters for size_t and ptrdiff_t.
* adding some missing 'noexcept'.
2024-01-06 15:24:10 +01:00
Christoph Oelckers
e27cbe5bd9
convert more files to UTF-8.
...
It was mostly degree signs causing these issues.
2024-01-02 21:54:29 +01:00
Magnus Norddahl
73ada7f84b
Merge remote-tracking branch 'gzdoom/staging'
2024-01-02 17:10:47 +01:00
Christoph Oelckers
958303556f
warnings and debug code cleanup
2023-12-26 22:16:21 +01:00
Christoph Oelckers
fd9b762106
moved animlib to thirdparty folder.
2023-12-25 08:45:47 +01:00
Christoph Oelckers
11d6b3e5b4
only use the new flag names
2023-12-14 17:22:32 +01:00
Christoph Oelckers
fe106d9bfe
merge FileData and ResourceData.
2023-12-14 17:22:29 +01:00
Christoph Oelckers
fc84579319
let FileReader::Read return an opaque buffer instead of std::vector.
...
This can later allow returning a pointer to a static buffer from a cache without creating copies.
2023-12-10 09:07:49 +01:00
Ricardo Luís Vaz Silva
b6b6b0cb89
fix gcc/clang
2023-11-20 22:08:33 -05:00
Ricardo Luís Vaz Silva
5d5e7ca042
Decoupled IQM Model Animations
2023-11-20 22:08:33 -05:00
Christoph Oelckers
578a398981
use FTranslationID in the 2D code.
2023-11-09 23:04:11 +01:00
Magnus Norddahl
e75e5a387b
Merge remote-tracking branch 'gzdoom/master' into merge-gzdoom
2023-10-19 21:05:17 +02:00
Christoph Oelckers
6055ff029d
the remaining GetChars additions.
...
The offending operator const char * no longer exists.
2023-10-07 23:44:01 +02:00
Christoph Oelckers
7a5a2858a2
yet even more GetChars calls added.
2023-10-07 23:29:24 +02:00
Christoph Oelckers
c94c63110e
added a third batch of GetChars call to FStrings.
2023-10-07 23:03:40 +02:00
Christoph Oelckers
89535b803a
Backend update from Raze.
2023-10-07 18:42:24 +02:00
Professor Hastig
ab8711b57a
removed several bad casts to 'long'.
...
The 'long' type should generally be avoided because its size differs on Windows and Linux/Mac so it is almost guaranteed to cause undefined behavior
2023-10-04 16:47:43 +02:00
Cacodemon345
ba9ce0e83f
Switch to miniz from zlib
2023-09-17 23:52:51 +02:00
Christoph Oelckers
ef8fd472a8
- fixed bad virtual override in FSheetTexture.
2023-09-03 19:52:53 +02:00
Christoph Oelckers
4baabf98c4
- use stb-image for JPEG decoding.
...
the statically provided library did not provide any advantage over it whatsoever and even libjpeg-turbo's better performance cannot really play out here so ease of use and getting rid of a dependency wins.
2023-09-03 08:34:58 +02:00
nashmuhandes
4aa6ac5585
Merge remote-tracking branch 'remotes/origin/gzd_staging'
2023-08-31 08:37:25 +08:00