aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_view.h
diff options
context:
space:
mode:
authorPaul Gilbert2017-05-28 15:53:52 -0400
committerPaul Gilbert2017-05-28 15:53:52 -0400
commit38beceef7d0a9393f1dab47df42e43d8191a4d09 (patch)
tree1a43e5e218235d70444335ee0bb1b36546e9a968 /engines/titanic/star_control/star_view.h
parent0be151d5072615a438af9cce0288fb086c143410 (diff)
downloadscummvm-rg350-38beceef7d0a9393f1dab47df42e43d8191a4d09.tar.gz
scummvm-rg350-38beceef7d0a9393f1dab47df42e43d8191a4d09.tar.bz2
scummvm-rg350-38beceef7d0a9393f1dab47df42e43d8191a4d09.zip
TITANIC: Renamings of orientation related variables and methods
Diffstat (limited to 'engines/titanic/star_control/star_view.h')
-rw-r--r--engines/titanic/star_control/star_view.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_view.h b/engines/titanic/star_control/star_view.h
index 690c5cb782..04cc7d83e9 100644
--- a/engines/titanic/star_control/star_view.h
+++ b/engines/titanic/star_control/star_view.h
@@ -43,7 +43,7 @@ private:
CVideoSurface *_videoSurface;
CStarCamera _camera;
bool _hasReference;
- CViewport _sub13;
+ CViewport _photoViewport;
CSurfaceFader _fader;
CVideoSurface *_videoSurface2;
CGameObject *_homePhotoMask;
@@ -54,8 +54,15 @@ private:
void fn18(CStarCamera *camera);
void fn19(int v);
- void randomizeVectors1(FVector &v1, FVector &v2);
- void randomizeVectors2(FVector &v1, FVector &v2);
+ /**
+ * Gets a random position and orientation
+ */
+ void randomizeVectors1(FVector &pos, FVector &orientation);
+
+ /**
+ * Gets a random position and orientation
+ */
+ void randomizeVectors2(FVector &pos, FVector &orientation);
/**
* Handles resizing the surface