mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-16 18:40:53 +00:00
17 lines
354 B
C
17 lines
354 B
C
|
#pragma once
|
||
|
|
||
|
#include "textures.h"
|
||
|
|
||
|
|
||
|
class FireTexture : public FTexture
|
||
|
{
|
||
|
TArray<uint8_t> Image;
|
||
|
TArray<PalEntry> Palette;
|
||
|
|
||
|
public:
|
||
|
FireTexture();
|
||
|
void SetPalette(TArray<PalEntry>& colors);
|
||
|
void Update();
|
||
|
virtual FBitmap GetBgraBitmap(const PalEntry* remap, int* trans) override;
|
||
|
virtual TArray<uint8_t> Get8BitPixels(bool alphatex) override;
|
||
|
};
|