mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- made it compile again.
This commit is contained in:
parent
de8db297a6
commit
94eadb1a8c
8 changed files with 3 additions and 9 deletions
|
@ -3088,7 +3088,7 @@ static void DrawMarker (FTexture *tex, double x, double y, int yadjust,
|
|||
DTA_TranslationIndex, translation,
|
||||
DTA_Alpha, alpha,
|
||||
DTA_FillColor, fillcolor,
|
||||
DTA_RenderStyle, uint32_t(renderstyle),
|
||||
DTA_RenderStyle, renderstyle.AsDWORD,
|
||||
TAG_DONE);
|
||||
}
|
||||
|
||||
|
|
|
@ -133,7 +133,6 @@ union FRenderStyle
|
|||
uint32_t AsDWORD;
|
||||
|
||||
inline FRenderStyle &operator= (ERenderStyle legacy);
|
||||
operator uint32_t() const { return AsDWORD; }
|
||||
bool operator==(const FRenderStyle &o) const { return AsDWORD == o.AsDWORD; }
|
||||
void CheckFuzz();
|
||||
bool IsVisible(double alpha) const throw();
|
||||
|
|
|
@ -51,7 +51,6 @@ class FAutomapTexture : public FWorldTexture
|
|||
{
|
||||
public:
|
||||
FAutomapTexture(int lumpnum);
|
||||
~FAutomapTexture ();
|
||||
uint8_t *MakeTexture (FRenderStyle style);
|
||||
};
|
||||
|
||||
|
|
|
@ -183,7 +183,6 @@ class FJPEGTexture : public FWorldTexture
|
|||
{
|
||||
public:
|
||||
FJPEGTexture (int lumpnum, int width, int height);
|
||||
~FJPEGTexture ();
|
||||
|
||||
FTextureFormat GetFormat () override;
|
||||
int CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, FCopyInfo *inf = NULL) override;
|
||||
|
|
|
@ -85,7 +85,6 @@ class FPCXTexture : public FWorldTexture
|
|||
{
|
||||
public:
|
||||
FPCXTexture (int lumpnum, PCXHeader &);
|
||||
~FPCXTexture ();
|
||||
|
||||
FTextureFormat GetFormat () override;
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ class FRawPageTexture : public FWorldTexture
|
|||
{
|
||||
public:
|
||||
FRawPageTexture (int lumpnum);
|
||||
~FRawPageTexture ();
|
||||
uint8_t *MakeTexture (FRenderStyle style) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -134,6 +134,7 @@ public:
|
|||
int CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, FCopyInfo *inf = NULL) override
|
||||
{
|
||||
bmp->CopyPixelData(x, y, Pixels, Width, Height, Height, 1, rotate, translationtables[TRANSLATION_Standard][8]->Palette, inf);
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool UseBasePalette() override
|
||||
|
|
|
@ -374,8 +374,6 @@ static bool FixBuildPalette (uint8_t *opal, int lump, bool blood)
|
|||
void InitPalette ()
|
||||
{
|
||||
uint8_t pal[768];
|
||||
bool usingBuild = false;
|
||||
int lump;
|
||||
|
||||
ReadPalette(Wads.CheckNumForName("PLAYPAL"), pal);
|
||||
|
||||
|
|
Loading…
Reference in a new issue