gzdoom/src/r_data
Christoph Oelckers b473838627 - adjustments and fixes for alphatextures:
* Instead of using the red channel it now uses the grayscale value. While slower in a few situations, it is also more precise and makes the feature more useful.
* For paletted textures do not use the index as alpha anymore but the actual grayscaled color. This is again to make the feature more consistent and useful.
* To compensate for the above there is now a list of hashes for known alpha textures in patch format, so that they don't get broken.
* IMGZ is now considered a grayscale format. There's only two known textures that use IMGZ for something else than crosshairs and those are explicitly handled.
* several smaller fixes.
* the actual color conversion functions for paletted output are now consolidated in a small number of inlines so that future changes are easier to do.

Note: This hasn't been tested yet and will need further changes in the hardware rendering code. As it is it is not production-ready.
2018-03-22 00:29:01 +01:00
..
models - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
colormaps.cpp - sound code and most of texture code converted to FileRdr. 2018-03-10 18:45:11 +01:00
colormaps.h - made 'nocoloredspritelighting' a global option and also implemented it in the software renderer. 2017-03-16 00:56:03 +01:00
matrix.cpp - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
matrix.h - moved the matrix code out of 'gl' because the model code also needs it. 2017-11-25 13:51:09 +01:00
r_interpolate.cpp - block direct use of 'new' for DObjects. 2017-04-14 13:31:58 +02:00
r_interpolate.h - changed TObjPtr to take a pointer as its template argument and not the class it points to. 2017-03-08 13:35:21 +01:00
r_translate.cpp - adjustments and fixes for alphatextures: 2018-03-22 00:29:01 +01:00
r_translate.h - adjustments and fixes for alphatextures: 2018-03-22 00:29:01 +01:00
r_vanillatrans.cpp - use 0 as the default for r_vanillatrans. 2017-06-04 12:39:39 +02:00
r_vanillatrans.h - 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
renderstyle.cpp - Added auto-detection scheme for r_vanillatrans 2017-06-04 12:30:35 +02:00
renderstyle.h - extended FTexture::GetPixels and FTexture::GetColumn by a RenderStyle parameter. 2018-03-18 21:33:44 +01:00
sprites.cpp - Added +SPRITEFLIP which reverses a sprite's left-rightness. 2017-05-03 21:13:31 +02:00
sprites.h - Added +SPRITEFLIP which reverses a sprite's left-rightness. 2017-05-03 21:13:31 +02:00
voxels.cpp Disabled GCC loop vectorization for R_LoadKVX() function 2018-03-08 12:24:33 +02:00
voxels.h - except for DWORD, all homegrown integer types are gone - a handful were left where they represent genuine Windows types. 2017-03-09 19:54:41 +01:00