- started separating the texture class from the image format handlers.

This commit is contained in:
Christoph Oelckers 2018-12-08 23:28:35 +01:00
commit 5eab944157
16 changed files with 297 additions and 129 deletions

View file

@ -84,8 +84,6 @@ class FPCXTexture : public FWorldTexture
public:
FPCXTexture (int lumpnum, PCXHeader &);
FTextureFormat GetFormat () override;
int CopyPixels(FBitmap *bmp) override;
bool UseBasePalette() override;
@ -157,17 +155,6 @@ FPCXTexture::FPCXTexture(int lumpnum, PCXHeader & hdr)
//
//==========================================================================
FTextureFormat FPCXTexture::GetFormat()
{
return TEX_RGB;
}
//==========================================================================
//
//
//
//==========================================================================
void FPCXTexture::ReadPCX1bit (uint8_t *dst, FileReader & lump, PCXHeader *hdr)
{
int y, i, bytes;