Skip to content

Commit

Permalink
FULLPIPE: Rename some methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Oct 17, 2015
1 parent 70c42f2 commit 9b95f9f
Show file tree
Hide file tree
Showing 25 changed files with 160 additions and 160 deletions.
2 changes: 1 addition & 1 deletion engines/fullpipe/gameloader.cpp
Expand Up @@ -419,7 +419,7 @@ bool GameLoader::unloadScene(int sceneId) {
if (_sc2array[sceneTag]._isLoaded)
saveScenePicAniInfos(sceneId);

_sc2array[sceneTag]._motionController->freeItems();
_sc2array[sceneTag]._motionController->detachAllObjects();

delete tag->_scene;
tag->_scene = 0;
Expand Down
2 changes: 1 addition & 1 deletion engines/fullpipe/interaction.cpp
Expand Up @@ -311,7 +311,7 @@ bool InteractionController::handleInteraction(StaticANIObject *subj, GameObject

if (abs(xpos - subj->_ox) > 1 || abs(ypos - subj->_oy) > 1
|| (inter->_staticsId2 != 0 && (subj->_statics == 0 || subj->_statics->_staticsId != inter->_staticsId2))) {
mq = getSc2MctlCompoundBySceneId(g_fp->_currentScene->_sceneId)->method34(subj, xpos, ypos, 1, inter->_staticsId2);
mq = getSc2MctlCompoundBySceneId(g_fp->_currentScene->_sceneId)->startMove(subj, xpos, ypos, 1, inter->_staticsId2);

if (!mq)
return false;
Expand Down
2 changes: 1 addition & 1 deletion engines/fullpipe/lift.cpp
Expand Up @@ -324,7 +324,7 @@ void FullpipeEngine::lift_walkAndGo() {
ExCommand *ex;

if (abs(_liftX - _aniMan->_ox) > 1 || abs(_liftY - _aniMan->_oy) > 1 || _aniMan->_movement || _aniMan->_statics->_staticsId != ST_MAN_UP) {
mq = getCurrSceneSc2MotionController()->method34(_aniMan, _liftX, _liftY, 1, ST_MAN_UP);
mq = getCurrSceneSc2MotionController()->startMove(_aniMan, _liftX, _liftY, 1, ST_MAN_UP);

if (mq) {
ex = new ExCommand(0, 17, MSG_LIFT_CLICKBUTTON, 0, 0, 0, 1, 0, 0, 0);
Expand Down

0 comments on commit 9b95f9f

Please sign in to comment.