🚚 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

@ -169,7 +169,7 @@ static void InitCutscene(interface_mode uMsg)
static void DrawCutscene()
{
lock_buf(1);
const CelOutputBuffer &out = GlobalBackBuffer();
const Surface &out = GlobalBackBuffer();
DrawArt(out, PANEL_X - (ArtCutsceneWidescreen.w() - PANEL_WIDTH) / 2, UI_OFFSET_Y, &ArtCutsceneWidescreen);
CelDrawTo(out, { PANEL_X, 480 - 1 + UI_OFFSET_Y }, *sgpBackCel, 1);