diff options
author | Eugene Sandulenko | 2016-09-04 23:54:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-04 23:54:43 +0200 |
commit | 26f55005b3dad33a6ca9ff0b9d0df98bb4478be0 (patch) | |
tree | 2b078a8ad98a5fae0a63f7aaf23bd1f7802ad243 /engines/fullpipe/scenes/scene16.cpp | |
parent | a3238fdbac5c2b3c0cd5b7e753321c3973fe8a3b (diff) | |
download | scummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.tar.gz scummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.tar.bz2 scummvm-rg350-26f55005b3dad33a6ca9ff0b9d0df98bb4478be0.zip |
FULLPIPE: Rename in ExCommand structure
Diffstat (limited to 'engines/fullpipe/scenes/scene16.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene16.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/fullpipe/scenes/scene16.cpp b/engines/fullpipe/scenes/scene16.cpp index 5079863b4e..cb21f28103 100644 --- a/engines/fullpipe/scenes/scene16.cpp +++ b/engines/fullpipe/scenes/scene16.cpp @@ -181,7 +181,7 @@ void sceneHandler16_fillMug() { if (g_vars->scene16_walkingBoy) { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYOUT), 0, 1); - mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode); + mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode); if (mq->chain(g_vars->scene16_walkingBoy)) return; } else { @@ -190,7 +190,7 @@ void sceneHandler16_fillMug() { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLOUT), 0, 1); - mq->replaceKeyCode(-1, g_vars->scene16_walkingGirl->_okeyCode); + mq->setParamInt(-1, g_vars->scene16_walkingGirl->_okeyCode); if (mq->chain(g_vars->scene16_walkingGirl)) return; } @@ -208,7 +208,7 @@ void sceneHandler16_fillMug() { if (g_vars->scene16_walkingBoy) { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYOUT), 0, 1); - mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode); + mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode); ani = g_vars->scene16_walkingBoy; } else { @@ -217,7 +217,7 @@ void sceneHandler16_fillMug() { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLOUT), 0, 1); - mq->replaceKeyCode(-1, g_vars->scene16_walkingGirl->_okeyCode); + mq->setParamInt(-1, g_vars->scene16_walkingGirl->_okeyCode); ani = g_vars->scene16_walkingGirl; } @@ -232,7 +232,7 @@ void sceneHandler16_startLaugh() { MessageQueue *mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GIRLLAUGH), 0, 1); - mq->replaceKeyCode(-1, girl->_okeyCode); + mq->setParamInt(-1, girl->_okeyCode); mq->setFlags(mq->getFlags() | 1); mq->chain(0); @@ -258,7 +258,7 @@ void sceneHandler16_drink() { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_BOYKICK), 0, 1); - mq->replaceKeyCode(-1, g_vars->scene16_walkingBoy->_okeyCode); + mq->setParamInt(-1, g_vars->scene16_walkingBoy->_okeyCode); ex = new ExCommand(ANI_MAN, 34, 384, 0, 0, 0, 1, 0, 0, 0); ex->_excFlags |= 3u; @@ -361,7 +361,7 @@ void sceneHandler16_putOnWheel() { if (ani->_id == ANI_BOY) { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GOBOY), 0, 1); - mq->replaceKeyCode(-1, ani->_okeyCode); + mq->setParamInt(-1, ani->_okeyCode); mq->chain(0); g_vars->scene16_walkingBoy = ani; @@ -370,7 +370,7 @@ void sceneHandler16_putOnWheel() { if (g_fp->getObjectState(sO_Girl) == g_fp->getObjectEnumState(sO_Girl, sO_IsSwinging)) { mq = new MessageQueue(g_fp->_currentScene->getMessageQueueById(QU_SC16_GOGIRL), 0, 1); - mq->replaceKeyCode(-1, ani->_okeyCode); + mq->setParamInt(-1, ani->_okeyCode); mq->chain(0); g_vars->scene16_walkingBoy = 0; |