diff options
author | johndoe123 | 2014-12-01 14:14:02 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | e4ce8ad4c9e9c5156270bb4c1c6f4952a011b70f (patch) | |
tree | 42700fc258076ed7cb2b3e27656b2bd5d6ae3ff7 /engines/illusions/camera.cpp | |
parent | d7dd74cbe99f8d6d8072f828707e89e43517caca (diff) | |
download | scummvm-rg350-e4ce8ad4c9e9c5156270bb4c1c6f4952a011b70f.tar.gz scummvm-rg350-e4ce8ad4c9e9c5156270bb4c1c6f4952a011b70f.tar.bz2 scummvm-rg350-e4ce8ad4c9e9c5156270bb4c1c6f4952a011b70f.zip |
ILLUSIONS: Start refactoring the resource system (not done yet)
Diffstat (limited to 'engines/illusions/camera.cpp')
-rw-r--r-- | engines/illusions/camera.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/illusions/camera.cpp b/engines/illusions/camera.cpp index 92783a198b..4e6281a9d8 100644 --- a/engines/illusions/camera.cpp +++ b/engines/illusions/camera.cpp @@ -72,7 +72,7 @@ void Camera::set(Common::Point &panPoint, WidthHeight &dimensions) { _activeState._currPan = _activeState._panTargetPoint; _activeState._panXShl = _activeState._currPan.x << 16; _activeState._panYShl = _activeState._currPan.y << 16; - _vm->_backgroundItems->refreshPan(); + _vm->_backgroundInstances->refreshPan(); _activeState._panToPositionPtr = 0; _activeState._panObjectId = 0; _activeState._panNotifyId = 0; @@ -169,7 +169,7 @@ void Camera::stopPan() { _activeState._panObjectId = 0; _activeState._panNotifyId = 0; _activeState._pointFlags = 0; - _vm->_backgroundItems->refreshPan(); + _vm->_backgroundInstances->refreshPan(); } void Camera::pause() { @@ -267,7 +267,7 @@ void Camera::update(uint32 currTime) { if (_activeState._cameraMode == 1 || _activeState._cameraMode == 5) nullsub_2(); */ - _vm->_backgroundItems->refreshPan(); + _vm->_backgroundInstances->refreshPan(); } if (isPanFinished()) { @@ -336,7 +336,7 @@ void Camera::getActiveState(CameraState &state) { state = _activeState; } -void Camera::refreshPan(BackgroundItem *backgroundItem, WidthHeight &dimensions) { +void Camera::refreshPan(BackgroundInstance *backgroundItem, WidthHeight &dimensions) { Common::Point screenOffs = getScreenOffset(); int x = dimensions._width - _screenWidth; int y = dimensions._height - _screenHeight; |