From 979560e304fef2ff978b8019a510a4f2a13ed49e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 16 Jan 2017 00:48:35 +0100 Subject: DIRECTOR: Lingo: Added stub for Lingo restarting --- engines/director/lingo/lingo.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'engines/director/lingo/lingo.cpp') diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp index 01b6207566..1416b14c93 100644 --- a/engines/director/lingo/lingo.cpp +++ b/engines/director/lingo/lingo.cpp @@ -306,6 +306,27 @@ void Lingo::processEvent(LEvent event, ScriptType st, int entityId) { } } +void Lingo::restartLingo() { + warning("STUB: restartLingo()"); + + // TODO + // + // reset the following: + // the keyDownScript + // the mouseUpScript + // the mouseDownScript + // the beepOn + // the constraint properties + // the cursor + // the immediate sprite properties + // the puppetSprite + // cursor commands + // custom menus + // + // NOTE: + // tuneousScript is not reset +} + int Lingo::alignTypes(Datum &d1, Datum &d2) { int opType = INT; -- cgit v1.2.3