mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
DIRECTOR: Lingo: Added stub for Lingo restarting
This commit is contained in:
parent
37469a45c4
commit
979560e304
@ -179,6 +179,8 @@ void Lingo::func_goto(Datum &frame, Datum &movie) {
|
||||
return;
|
||||
}
|
||||
|
||||
restartLingo();
|
||||
|
||||
delete _vm->_currentScore;
|
||||
|
||||
Archive *mov = _vm->openMainArchive(*movie.u.s);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -509,6 +509,8 @@ private:
|
||||
void push(Datum d);
|
||||
Datum pop(void);
|
||||
|
||||
void restartLingo();
|
||||
|
||||
Common::HashMap<uint32, const char *> _eventHandlerTypes;
|
||||
Common::HashMap<Common::String, uint32> _eventHandlerTypeIds;
|
||||
Common::HashMap<Common::String, Audio::AudioStream *> _audioAliases;
|
||||
|
Loading…
x
Reference in New Issue
Block a user