aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/star_control/dmatrix.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/star_control/dmatrix.h')
-rw-r--r--engines/titanic/star_control/dmatrix.h21
1 files changed, 20 insertions, 1 deletions
diff --git a/engines/titanic/star_control/dmatrix.h b/engines/titanic/star_control/dmatrix.h
index 565df80cd1..14f6bb0331 100644
--- a/engines/titanic/star_control/dmatrix.h
+++ b/engines/titanic/star_control/dmatrix.h
@@ -24,21 +24,40 @@
#define TITANIC_DMATRIX_H
#include "titanic/star_control/dvector.h"
+#include "titanic/star_control/fvector.h"
namespace Titanic {
+class FMatrix;
+class CStarControlSub26;
+
/**
* Double based matrix class.
* @remarks TODO: See if it can be merged with FMatrix
*/
class DMatrix {
private:
+ static DMatrix *_static;
+public:
DVector _row1;
DVector _row2;
DVector _row3;
- DVector _row4;
+ FVector _frow1;
+ FVector _frow2;
+public:
+ static void init();
+ static void deinit();
public:
DMatrix();
+ DMatrix(int mode, const FMatrix *src);
+ DMatrix(int mode, double val);
+
+ /**
+ * Sets up data for the matrix
+ */
+ void set(int mode, double amount);
+
+ void fn3(CStarControlSub26 *sub26);
};
} // End of namespace Titanic