mirror of
https://github.com/ZDoom/Raze.git
synced 2024-12-02 09:02:18 +00:00
82057bcd5a
This compiles but doesn't run.
21 lines
513 B
C++
21 lines
513 B
C++
|
|
|
|
// This is a font character that reads RLE compressed data.
|
|
class FFontChar2 : public FImageSource
|
|
{
|
|
public:
|
|
FFontChar2 (int sourcelump, int sourcepos, int width, int height, int leftofs=0, int topofs=0);
|
|
|
|
PalettedPixels CreatePalettedPixels(int conversion, int frame = 0) override;
|
|
int CopyPixels(FBitmap* bmp, int conversion, int frame = 0);
|
|
|
|
void SetSourceRemap(const PalEntry* sourceremap)
|
|
{
|
|
SourceRemap = sourceremap;
|
|
}
|
|
|
|
protected:
|
|
int SourceLump;
|
|
int SourcePos;
|
|
const PalEntry *SourceRemap;
|
|
};
|