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; }
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); }