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.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/engines/titanic/star_control/star_control_sub13.h b/engines/titanic/star_control/star_control_sub13.h
index 047df987d2..80b2e55c4b 100644
--- a/engines/titanic/star_control/star_control_sub13.h
+++ b/engines/titanic/star_control/star_control_sub13.h
@@ -42,10 +42,8 @@ private:
CStarControlSub6 _sub2;
double _fieldC0;
double _fieldC4;
- int _fieldD4;
+ bool _flag;
private:
- void setup(void *ptr);
-
void reset();
public:
FVector _position;
@@ -57,10 +55,13 @@ public:
double _fieldCC;
double _fieldD0;
public:
- CStarControlSub13(void *ptr);
+ CStarControlSub13();
CStarControlSub13(CStarControlSub13 *src);
- void copyFrom(const void *src);
+ /**
+ * Copys the data from another instance
+ */
+ void copyFrom(const CStarControlSub13 *src);
/**
* Load the data for the class from file
@@ -80,7 +81,7 @@ public:
/**
* Sets the position
*/
- void setPosition(const CStarControlSub6 &sub6);
+ void setPosition(const CStarControlSub6 *sub6);
/**
* Sets the matrix
@@ -90,25 +91,25 @@ public:
void fn11(const FVector &v);
void fn12();
void fn13(StarMode mode, double v2);
- void fn14(double v);
- void fn15(FMatrix &matrix);
+ void reposition(double factor);
+ void fn15(const FMatrix &matrix);
CStarControlSub6 getSub1();
CStarControlSub6 getSub2();
void fn16(int index, const FVector &src, FVector &dest);
- FVector fn17(int index, const FVector &v);
- FVector fn18(int index, const FVector &v);
+ FVector fn17(int index, const FVector &src);
+ FVector fn18(int index, const FVector &src);
void fn19(double *v1, double *v2, double *v3, double *v4);
/**
- * Makes a copy of the instance's matrix into the passed matrix
+ * Returns the instance's matrix
*/
- void getMatrix(FMatrix *matrix);
+ const FMatrix &getMatrix() const;
- void setC(int v);
- void set10(int v);
- void set14(int v);
- void set18(int v);
- void set1C(int v);
+ void setC(double v);
+ void set10(double v);
+ void set14(double v);
+ void set18(double v);
+ void set1C(double v);
};
} // End of namespace Titanic