ILLUSIONS: More work on BBDOU specific code (cursor, bubble)
- Add input handling code
This commit is contained in:
parent
28cb39eb2b
commit
e05a789975
13 changed files with 1011 additions and 38 deletions
|
@ -29,6 +29,7 @@
|
|||
#include "illusions/scriptman.h"
|
||||
#include "illusions/scriptresource.h"
|
||||
#include "illusions/scriptthread.h"
|
||||
#include "illusions/specialcode.h"
|
||||
|
||||
namespace Illusions {
|
||||
|
||||
|
@ -559,11 +560,11 @@ void ScriptOpcodes::opRunSpecialCode(ScriptThread *scriptThread, OpCall &opCall)
|
|||
ARG_SKIP(2);
|
||||
ARG_UINT32(specialCodeId);
|
||||
_vm->_scriptMan->_callerThreadId = opCall._callerThreadId;
|
||||
// TODO _vm->runSpecialCode(specialCodeId, opCall._code + 8, opCall._threadId);
|
||||
_vm->_specialCode->run(specialCodeId, opCall);
|
||||
_vm->_scriptMan->_callerThreadId = 0;
|
||||
|
||||
//DEBUG Resume calling thread, later done by the special code
|
||||
_vm->notifyThreadId(opCall._callerThreadId);
|
||||
//_vm->notifyThreadId(opCall._callerThreadId);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue