diff options
author | Paul Gilbert | 2017-08-06 20:01:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-06 20:01:28 -0400 |
commit | 9a98b32a11270e9ac0f40798ddc457aef138fe0a (patch) | |
tree | a0f85d425470a6b7f6bfb6a3ece5e67acb434e87 | |
parent | a48ff3713b150589e6530dbc6a3ea079787f405d (diff) | |
download | scummvm-rg350-9a98b32a11270e9ac0f40798ddc457aef138fe0a.tar.gz scummvm-rg350-9a98b32a11270e9ac0f40798ddc457aef138fe0a.tar.bz2 scummvm-rg350-9a98b32a11270e9ac0f40798ddc457aef138fe0a.zip |
TITANIC: Minor renamings in CStarView
-rw-r--r-- | engines/titanic/star_control/star_view.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/star_control/star_view.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_view.cpp b/engines/titanic/star_control/star_view.cpp index 97752c2f95..f1adaf640d 100644 --- a/engines/titanic/star_control/star_view.cpp +++ b/engines/titanic/star_control/star_view.cpp @@ -97,7 +97,7 @@ void CStarView::draw(CScreenManager *screenManager) { if (_homePhotoMask) _homePhotoMask->draw(screenManager, Point(20, 187)); } else { - fn1(); + updateCamera(); // Render the display _videoSurface->clear(); @@ -255,7 +255,7 @@ void CStarView::resetPosition() { _camera.setPosition(FVector(0.0, 0.0, 0.0)); } -bool CStarView::fn1() { +bool CStarView::updateCamera() { if (_videoSurface) { CErrorCode errorCode; _camera.updatePosition(&errorCode); diff --git a/engines/titanic/star_control/star_view.h b/engines/titanic/star_control/star_view.h index a98886eb51..7e3f1d084a 100644 --- a/engines/titanic/star_control/star_view.h +++ b/engines/titanic/star_control/star_view.h @@ -50,7 +50,11 @@ private: bool _field218; bool _showingPhoto; private: - bool fn1(); + /** + * Updates the camera, allowing for movement + */ + bool updateCamera(); + void fn18(CStarCamera *camera); void fn19(int v); |