NScumm.Sky.Logic.FnNewBackground C# (CSharp) Method

FnNewBackground() private method

private FnNewBackground ( uint sprite, uint b, uint c ) : bool
sprite uint
b uint
c uint
return bool
        private bool FnNewBackground(uint sprite, uint b, uint c)
        {
            // Make sprite a background sprite
            Compact cpt = _skyCompact.FetchCpt((ushort)sprite);
            cpt.Core.status &= 0xfff8;
            cpt.Core.status |= ST_BACKGROUND;
            return true;
        }
Logic