aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/faders.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/faders.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/faders.cpp')
-rw-r--r--engines/tinsel/faders.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tinsel/faders.cpp b/engines/tinsel/faders.cpp
index 9ac742800f..3b3940fa9c 100644
--- a/engines/tinsel/faders.cpp
+++ b/engines/tinsel/faders.cpp
@@ -35,7 +35,7 @@ namespace Tinsel {
/** structure used by the "FadeProcess" process */
struct FADE {
const long *pColourMultTable; // list of fixed point colour multipliers - terminated with negative entry
- PPALQ pPalQ; // palette queue entry to fade
+ PALQ *pPalQ; // palette queue entry to fade
};
// fixed point fade multiplier tables
@@ -120,7 +120,7 @@ static void FadeProcess(CORO_PARAM) {
* @param noFadeTable List of palettes not to fade
*/
static void Fader(const long multTable[], SCNHANDLE noFadeTable[]) {
- PPALQ pPal; // palette manager iterator
+ PALQ *pPal; // palette manager iterator
// create a process for each palette in the palette queue
for (pPal = GetNextPalette(NULL); pPal != NULL; pPal = GetNextPalette(pPal)) {
@@ -149,7 +149,7 @@ static void Fader(const long multTable[], SCNHANDLE noFadeTable[]) {
fade.pPalQ = pPal;
// create a fader process for this palette
- CoroutineInstall(PID_FADER, FadeProcess, (void *)&fade, sizeof(FADE));
+ ProcessCreate(PID_FADER, FadeProcess, (void *)&fade, sizeof(FADE));
}
}
}