aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal/mpal.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-06 12:21:29 +1000
committerPaul Gilbert2012-05-06 12:21:29 +1000
commit10deebed553fc5d458a20756d963835aa1a86afe (patch)
tree28d6a862d8e67fbd6823bd9aed7c4d06b7f85fd2 /engines/tony/mpal/mpal.h
parent2dbdb31c8b274b896877c8716434e971e94a4a44 (diff)
downloadscummvm-rg350-10deebed553fc5d458a20756d963835aa1a86afe.tar.gz
scummvm-rg350-10deebed553fc5d458a20756d963835aa1a86afe.tar.bz2
scummvm-rg350-10deebed553fc5d458a20756d963835aa1a86afe.zip
TONY: Beginnings of refactoring Tony engine's threads to use coroutines
Diffstat (limited to 'engines/tony/mpal/mpal.h')
-rw-r--r--engines/tony/mpal/mpal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h
index e66f1fdb7e..3c2e62d992 100644
--- a/engines/tony/mpal/mpal.h
+++ b/engines/tony/mpal/mpal.h
@@ -119,6 +119,7 @@
#include "common/scummsys.h"
#include "common/rect.h"
+#include "tony/coroutine.h"
namespace Tony {
@@ -220,7 +221,7 @@ typedef ITEM *LPITEM;
* to perform various controls as a result of an action
\****************************************************************************/
-typedef void (*LPCUSTOMFUNCTION)(uint32, uint32, uint32, uint32);
+typedef void (*LPCUSTOMFUNCTION)(CORO_PARAM, uint32, uint32, uint32, uint32);
typedef LPCUSTOMFUNCTION *LPLPCUSTOMFUNCTION;