aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/star_control_sub13.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/star_control_sub13.h')
-rw-r--r--engines/titanic/star_control/star_control_sub13.h23
1 files changed, 18 insertions, 5 deletions
diff --git a/engines/titanic/star_control/star_control_sub13.h b/engines/titanic/star_control/star_control_sub13.h
index eb4a07cb32..eacdce3447 100644
--- a/engines/titanic/star_control/star_control_sub13.h
+++ b/engines/titanic/star_control/star_control_sub13.h
@@ -31,9 +31,6 @@ namespace Titanic {
class CStarControlSub13 {
private:
- double _field0;
- double _field4;
- double _field8;
double _fieldC;
double _field10;
double _field14;
@@ -55,6 +52,8 @@ private:
private:
void setup(void *ptr);
public:
+ FVector _position;
+public:
CStarControlSub13(void *ptr);
CStarControlSub13(CStarControlSub13 *src);
@@ -70,11 +69,25 @@ public:
*/
void save(SimpleFile *file, int indent);
- void fn10(const void *src);
- void fn11(const FVector *v);
+ /**
+ * Sets the position
+ */
+ void setPosition(const FVector &v);
+
+ /**
+ * Sets the matrix
+ */
+ void setMatrix(const FMatrix &m);
+
+ void fn11(const FVector &v);
void fn12();
void fn13(double v1, double v2);
+ /**
+ * Makes a copy of the instance's matrix into the passed matrix
+ */
+ void getMatrix(FMatrix *matrix);
+
void setC(int v);
void set10(int v);
void set14(int v);