- Convert the entire image backend infrastructure to be animation-friendly
This commit is contained in:
parent
53d8a5bb2c
commit
7c90ea6b84
31 changed files with 145 additions and 128 deletions
|
|
@ -55,7 +55,7 @@ FBuildTexture::FBuildTexture(const FString &pathprefix, int tilenum, const uint8
|
|||
TopOffset = top;
|
||||
}
|
||||
|
||||
PalettedPixels FBuildTexture::CreatePalettedPixels(int conversion)
|
||||
PalettedPixels FBuildTexture::CreatePalettedPixels(int conversion, int frame)
|
||||
{
|
||||
PalettedPixels Pixels(Width * Height);
|
||||
FRemapTable *Remap = Translation;
|
||||
|
|
@ -67,7 +67,7 @@ PalettedPixels FBuildTexture::CreatePalettedPixels(int conversion)
|
|||
return Pixels;
|
||||
}
|
||||
|
||||
int FBuildTexture::CopyPixels(FBitmap *bmp, int conversion)
|
||||
int FBuildTexture::CopyPixels(FBitmap *bmp, int conversion, int frame)
|
||||
{
|
||||
PalEntry *Remap = Translation->Palette;
|
||||
bmp->CopyPixelData(0, 0, RawPixels, Width, Height, Height, 1, 0, Remap);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue