diff options
author | Paul Gilbert | 2012-05-06 23:51:11 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-05-06 23:51:11 +1000 |
commit | 0b8974ec4ab37ef056ac50c098d3fe8045ec172b (patch) | |
tree | b9b5c371a532c0bd58fecf83a374206622a15ec6 /engines/tony/mpal/mpal.h | |
parent | 156d8cdb733fe03688da9e2e9844b722681bed7f (diff) | |
download | scummvm-rg350-0b8974ec4ab37ef056ac50c098d3fe8045ec172b.tar.gz scummvm-rg350-0b8974ec4ab37ef056ac50c098d3fe8045ec172b.tar.bz2 scummvm-rg350-0b8974ec4ab37ef056ac50c098d3fe8045ec172b.zip |
TONY: Beginnings of converting dialog processes to coroutines
Diffstat (limited to 'engines/tony/mpal/mpal.h')
-rw-r--r-- | engines/tony/mpal/mpal.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h index c9f8625744..5517a6518c 100644 --- a/engines/tony/mpal/mpal.h +++ b/engines/tony/mpal/mpal.h @@ -474,10 +474,8 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION; * \****************************************************************************/ -#define mpalQueryDialogWaitForChoice() \ - (int)mpalQuery(MPQ_DIALOG_WAITFORCHOICE) - - +#define mpalQueryDialogWaitForChoice(dwRet) \ + CORO_INVOKE_2(mpalQueryCoro, dwRet, MPQ_DIALOG_WAITFORCHOICE) /****************************************************************************\ * @@ -627,7 +625,7 @@ bool EXPORT mpalInit(const char *lpszFileName, const char *lpszMprFileName, uint32 EXPORT mpalQuery(uint16 wQueryType, ...); - +void mpalQueryCoro(CORO_PARAM, uint32 *dwRet, uint16 wQueryType, ...); /****************************************************************************\ * |