aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_view.h
diff options
context:
space:
mode:
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