mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-10 08:50:44 +00:00
17 lines
No EOL
354 B
C++
17 lines
No EOL
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;
|
|
}; |