NScumm.Scumm.ScummEngine2.LoadRoom C# (CSharp) Метод

LoadRoom() защищенный Метод

protected LoadRoom ( ) : void
Результат void
        protected void LoadRoom()
        {
            var room = (byte)GetVarOrDirectByte(OpCodeParameter.Param1);

            // For small header games, we only call startScene if the room
            // actually changed. This avoid unwanted (wrong) fades in Zak256
            // and others. OTOH, it seems to cause a problem in newer games.
            if ((Game.Version >= 5) || room != CurrentRoom)
            {
                StartScene(room);
            }
            _fullRedraw = true;
        }
ScummEngine2