gzdoom/src/textures
Christoph Oelckers 7e169eb76f - split out the span generation from most texture classes
Until now each subclass of FTexture had to implement the entire span generation itself, presumably so that a few classes can use simpler structures.
This does not work if a texture can have more than one pixel buffer as is needed for alpha textures.
Even though it means that some classes will allocate more data now, it's the only way to do it properly.
In addition this removes a significant amount of mostly redundant code from the texture classes.

- added alpha texture processing to all converted classes

As of now this is not active and not tested.
Note that as part of the conversion even those textures that were working as alphatextures will not look correct until the higher level code gets adjusted.
2018-03-18 12:36:14 +01:00
..
anim_switches.cpp - removed farchive.cpp and .h 2016-09-22 00:48:22 +02:00
animations.cpp - update more millisecond-storing data structures to u/int64_t to fix possible rollover bugs 2017-11-15 20:33:08 -05:00
automaptexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
backdroptexture.cpp - replaced another large batch of homegrown type use. 2017-03-08 18:55:53 +01:00
bitmap.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
bitmap.h - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
buildtexture.cpp - renamed FileRdr back to FileReader. 2018-03-11 19:29:37 +01:00
canvastexture.cpp Handle unloading of canvas textures properly 2017-05-01 16:20:25 +03:00
ddstexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
emptytexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
flattexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
imgztexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
jpegtexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
multipatchtexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
patchtexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
pcxtexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
pngtexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
rawpagetexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
shadertexture.cpp - moved the BarShader textures into the texture manager so that ZScript can use them. ZScript only knows about TextureIDs, but those require the texture to be handled by the texture manager. 2017-03-27 01:55:47 +02:00
skyboxtexture.cpp - moved the skybox texture files to the main textures directory. 2017-03-17 21:12:09 +01:00
skyboxtexture.h - moved the skybox texture files to the main textures directory. 2017-03-17 21:12:09 +01:00
texture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
texturemanager.cpp - rewrote the operator>> methods of FileReader as normal functions for clarity. 2018-03-11 18:20:49 +01:00
textures.h - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
tgatexture.cpp - split out the span generation from most texture classes 2018-03-18 12:36:14 +01:00
warpbuffer.h - update more millisecond-storing data structures to u/int64_t to fix possible rollover bugs 2017-11-15 20:33:08 -05:00
warptexture.cpp - update more millisecond-storing data structures to u/int64_t to fix possible rollover bugs 2017-11-15 20:33:08 -05:00