aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/tinsel.cpp
diff options
context:
space:
mode:
authorMax Horn2008-07-23 16:55:52 +0000
committerMax Horn2008-07-23 16:55:52 +0000
commit29a96430a06b415b9965f261785eb256224c8004 (patch)
treebac17aac75e66faff2cdb08fb268c10bdf01cb63 /engines/tinsel/tinsel.cpp
parent918e0fe4738ce3de0c069ec0fd423ae0daa524f0 (diff)
downloadscummvm-rg350-29a96430a06b415b9965f261785eb256224c8004.tar.gz
scummvm-rg350-29a96430a06b415b9965f261785eb256224c8004.tar.bz2
scummvm-rg350-29a96430a06b415b9965f261785eb256224c8004.zip
TINSEL: Renamed CoroutineInstall back to ProcessCreate; got rid of yet another typedef; more cleanup
svn-id: r33249
Diffstat (limited to 'engines/tinsel/tinsel.cpp')
-rw-r--r--engines/tinsel/tinsel.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/tinsel/tinsel.cpp b/engines/tinsel/tinsel.cpp
index ec16e73294..8139e9f55d 100644
--- a/engines/tinsel/tinsel.cpp
+++ b/engines/tinsel/tinsel.cpp
@@ -386,8 +386,8 @@ void MouseProcess(CORO_PARAM) {
void EventsInstall(void) {
lastLeftClick = lastRightClick = DwGetCurrentTime();
- pMouseProcess = CoroutineInstall(PID_MOUSE, MouseProcess, NULL, 0);
- pKeyboardProcess = CoroutineInstall(PID_KEYBOARD, KeyboardProcess, NULL, 0);
+ pMouseProcess = ProcessCreate(PID_MOUSE, MouseProcess, NULL, 0);
+ pKeyboardProcess = ProcessCreate(PID_KEYBOARD, KeyboardProcess, NULL, 0);
}
/**
@@ -498,11 +498,11 @@ static void RestoredProcess(CORO_PARAM) {
}
void RestoreProcess(PINT_CONTEXT pic) {
- CoroutineInstall(PID_TCODE, RestoredProcess, &pic, sizeof(pic));
+ ProcessCreate(PID_TCODE, RestoredProcess, &pic, sizeof(pic));
}
void RestoreMasterProcess(PINT_CONTEXT pic) {
- CoroutineInstall(PID_MASTER_SCR, RestoredProcess, &pic, sizeof(pic));
+ ProcessCreate(PID_MASTER_SCR, RestoredProcess, &pic, sizeof(pic));
}
// FIXME: CountOut is used by ChangeScene
@@ -868,11 +868,11 @@ bool TinselEngine::pollEvent() {
void TinselEngine::CreateConstProcesses(void) {
// Process to run the master script
- CoroutineInstall(PID_MASTER_SCR, MasterScriptProcess, NULL, 0);
+ ProcessCreate(PID_MASTER_SCR, MasterScriptProcess, NULL, 0);
// Processes to run the cursor and inventory,
- CoroutineInstall(PID_CURSOR, CursorProcess, NULL, 0);
- CoroutineInstall(PID_INVENTORY, InventoryProcess, NULL, 0);
+ ProcessCreate(PID_CURSOR, CursorProcess, NULL, 0);
+ ProcessCreate(PID_INVENTORY, InventoryProcess, NULL, 0);
}
/**