mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
Remove unused code
This commit is contained in:
parent
7000d0ccf9
commit
2f512e54cd
1 changed files with 0 additions and 8 deletions
|
@ -41,7 +41,6 @@
|
|||
#include "bitmap.h"
|
||||
#include "v_palette.h"
|
||||
#include "textures/textures.h"
|
||||
#include <vector>
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
@ -74,7 +73,6 @@ protected:
|
|||
bool HaveTrans;
|
||||
WORD NonPaletteTrans[3];
|
||||
|
||||
std::vector<BYTE> PngPalette;
|
||||
BYTE *PaletteMap;
|
||||
int PaletteSize;
|
||||
DWORD StartOfIDAT;
|
||||
|
@ -268,12 +266,6 @@ FPNGTexture::FPNGTexture (FileReader &lump, int lumpnum, const FString &filename
|
|||
{
|
||||
lump.Seek (len - PaletteSize * 3, SEEK_CUR);
|
||||
}
|
||||
for (i = 0; i < PaletteSize; i++)
|
||||
{
|
||||
PngPalette.push_back(p.pngpal[i][0]);
|
||||
PngPalette.push_back(p.pngpal[i][1]);
|
||||
PngPalette.push_back(p.pngpal[i][2]);
|
||||
}
|
||||
for (i = PaletteSize - 1; i >= 0; --i)
|
||||
{
|
||||
p.palette[i] = MAKERGB(p.pngpal[i][0], p.pngpal[i][1], p.pngpal[i][2]);
|
||||
|
|
Loading…
Reference in a new issue