- started separating the texture class from the image format handlers.
This commit is contained in:
parent
e35d88e039
commit
5eab944157
16 changed files with 297 additions and 129 deletions
|
|
@ -184,7 +184,6 @@ class FJPEGTexture : public FWorldTexture
|
|||
public:
|
||||
FJPEGTexture (int lumpnum, int width, int height);
|
||||
|
||||
FTextureFormat GetFormat () override;
|
||||
int CopyPixels(FBitmap *bmp) override;
|
||||
bool UseBasePalette() override;
|
||||
TArray<uint8_t> Get8BitPixels(bool alphatex) override;
|
||||
|
|
@ -262,17 +261,6 @@ FJPEGTexture::FJPEGTexture (int lumpnum, int width, int height)
|
|||
//
|
||||
//==========================================================================
|
||||
|
||||
FTextureFormat FJPEGTexture::GetFormat()
|
||||
{
|
||||
return TEX_RGB;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
TArray<uint8_t> FJPEGTexture::Get8BitPixels(bool doalpha)
|
||||
{
|
||||
auto lump = Wads.OpenLumpReader (SourceLump);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue