QuitScreen() 공개 메소드

public QuitScreen ( ) : void
리턴 void
예제 #1
0
        private void Reinitialize()
        {
            _sound.QuitScreen();
            _resMan.Flush();         // free everything that's currently alloced and opened. (*evil*)

            _logic.Initialize();     // now reinitialize these objects as they (may) have locked
            _objectMan.Initialize(); // resources which have just been wiped.
            _mouse.Initialize();
            // TODO: _system.WwarpMouse(320, 240);
            SystemVars.WantFade = true;
        }
예제 #2
0
        private int fnPlaySequence(SwordObject cpt, int id, int sequenceId, int d, int e, int f, int z, int x)
        {
            // A cutscene usually (always?) means the room will change. In the
            // meantime, we don't want any looping sound effects still playing.
            _sound.QuitScreen();

            var player = new MoviePlayer(_vm, _textMan, _resMan);

            _screen.ClearScreen();
            player.Load(sequenceId);
            player.Play();

            return(SCRIPT_CONT);
        }