aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes/sceneIntro.cpp
diff options
context:
space:
mode:
authorKamil Zbróg2013-12-26 14:55:11 +0000
committerKamil Zbróg2013-12-26 14:55:11 +0000
commit165b8be77f4621ff5de8a483c6cd9ac497492a0a (patch)
tree41065a7a961c1b0caa07ac4b2b1b6c027c12ae99 /engines/fullpipe/scenes/sceneIntro.cpp
parentfc04a3c328e70733eea1b065cb5dacc9ec6999f2 (diff)
parentf3691700436e647e808023180430263a6567bfaf (diff)
downloadscummvm-rg350-165b8be77f4621ff5de8a483c6cd9ac497492a0a.tar.gz
scummvm-rg350-165b8be77f4621ff5de8a483c6cd9ac497492a0a.tar.bz2
scummvm-rg350-165b8be77f4621ff5de8a483c6cd9ac497492a0a.zip
Merge remote-tracking branch 'sync/master' into prince-malik
Diffstat (limited to 'engines/fullpipe/scenes/sceneIntro.cpp')
-rw-r--r--engines/fullpipe/scenes/sceneIntro.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/fullpipe/scenes/sceneIntro.cpp b/engines/fullpipe/scenes/sceneIntro.cpp
index d60f90faf7..c9f19f3724 100644
--- a/engines/fullpipe/scenes/sceneIntro.cpp
+++ b/engines/fullpipe/scenes/sceneIntro.cpp
@@ -24,6 +24,7 @@
#include "fullpipe/constants.h"
#include "fullpipe/gameloader.h"
+#include "fullpipe/motion.h"
#include "fullpipe/scenes.h"
#include "fullpipe/modal.h"
#include "fullpipe/statics.h"
@@ -31,13 +32,13 @@
namespace Fullpipe {
int sceneIntro_updateCursor() {
- g_fullpipe->_cursorId = 0;
+ g_fp->_cursorId = 0;
return 0;
}
void sceneIntro_initScene(Scene *sc) {
- g_fullpipe->_gameLoader->loadScene(SC_INTRO2);
+ g_fp->_gameLoader->loadScene(SC_INTRO2);
g_vars->sceneIntro_aniin1man = sc->getStaticANIObject1ById(ANI_IN1MAN, -1);
g_vars->sceneIntro_needSleep = true;
@@ -45,19 +46,19 @@ void sceneIntro_initScene(Scene *sc) {
g_vars->sceneIntro_playing = true;
g_vars->sceneIntro_needBlackout = false;
- if (g_fullpipe->_recordEvents || g_fullpipe->_inputArFlag)
+ if (g_fp->_recordEvents || g_fp->_inputArFlag)
g_vars->sceneIntro_skipIntro = false;
- g_fullpipe->_modalObject = new ModalIntro;
+ g_fp->_modalObject = new ModalIntro;
}
void sceneHandlerIntro_part1() {
- g_fullpipe->_currentScene = g_fullpipe->accessScene(SC_INTRO1);
+ g_fp->_currentScene = g_fp->accessScene(SC_INTRO1);
chainQueue(QU_INTR_FINISH, 0);
}
void sceneHandlerIntro_part2() {
- g_fullpipe->_currentScene = g_fullpipe->accessScene(SC_INTRO2);
+ g_fp->_currentScene = g_fp->accessScene(SC_INTRO2);
chainQueue(QU_IN2_DO, 0);
}
@@ -101,7 +102,7 @@ int sceneHandlerIntro(ExCommand *ex) {
chainQueue(QU_INTR_GETUPMAN, 0);
}
- g_fullpipe->startSceneTrack();
+ g_fp->startSceneTrack();
return 0;
}