🚚 Rename CelOutputBuf to Surface and extract

This commit is contained in:
Gleb Mazovetskiy 2021-07-03 07:42:35 +01:00 committed by Anders Jenbo
commit cb0dae8590
60 changed files with 474 additions and 458 deletions

View file

@ -79,7 +79,7 @@ bool SetHardwareCursorFromSprite(int pcurs)
size.width += 2 * outlineWidth;
size.height += 2 * outlineWidth;
auto out = CelOutputBuffer::Alloc(size.width, size.height);
auto out = Surface::Alloc(size.width, size.height);
SDL_SetSurfacePalette(out.surface, palette);
// Transparent color must not be used in the sprite itself.