NScumm.Scumm.ScummEngine.BeginOverrideCore C# (CSharp) Метод

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

protected BeginOverrideCore ( ) : void
Результат void
        protected void BeginOverrideCore()
        {
            var idx = cutScene.StackPointer;
            cutScene.Data[idx].Pointer = CurrentPos;
            cutScene.Data[idx].Script = CurrentScript;

            // Skip the jump instruction following the override instruction
            // (the jump is responsible for "skipping" cutscenes, and the reason
            // why we record the current script position in vm.cutScenePtr).
            ReadByte();
            ReadWord();

            if (Game.Version >= 5)
            {
                Variables[VariableOverride.Value] = 0;
            }
        }
ScummEngine