From 9a98b32a11270e9ac0f40798ddc457aef138fe0a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 6 Aug 2017 20:01:28 -0400 Subject: TITANIC: Minor renamings in CStarView --- engines/titanic/star_control/star_view.cpp | 4 ++-- 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); -- cgit v1.2.3