diff options
author | David Fioramonti | 2017-08-18 04:57:14 -0700 |
---|---|---|
committer | David Fioramonti | 2017-08-18 17:26:05 -0700 |
commit | 1370b49b6a88e8ea533da5d62a7f37828bf2fca1 (patch) | |
tree | 02812f22be0f8e2bc3bbb5e28043e908bd44fd49 /engines/titanic/star_control/fmatrix.cpp | |
parent | 524855d173699a6b56dd932a70e2d9a1e4068d8c (diff) | |
download | scummvm-rg350-1370b49b6a88e8ea533da5d62a7f37828bf2fca1.tar.gz scummvm-rg350-1370b49b6a88e8ea533da5d62a7f37828bf2fca1.tar.bz2 scummvm-rg350-1370b49b6a88e8ea533da5d62a7f37828bf2fca1.zip |
TITANIC: Simplified dependencies for classes related to star_camera
This involved removing header files and forward declaring when possible.
I also reorded the header include files to be local to gloabal.
E.x., in the class implementation the class header file
would be the first included.
This is a first pass of header reduction for star_control/ files
Diffstat (limited to 'engines/titanic/star_control/fmatrix.cpp')
-rw-r--r-- | engines/titanic/star_control/fmatrix.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/titanic/star_control/fmatrix.cpp b/engines/titanic/star_control/fmatrix.cpp index cd59c559ca..050d89bc67 100644 --- a/engines/titanic/star_control/fmatrix.cpp +++ b/engines/titanic/star_control/fmatrix.cpp @@ -22,6 +22,7 @@ #include "titanic/star_control/fmatrix.h" #include "titanic/star_control/daffine.h" +#include "titanic/support/simple_file.h" namespace Titanic { @@ -39,7 +40,7 @@ void matProd(const FMatrix &a, const FMatrix &m, FMatrix &C) { C._row3._z = a._row3._x * m._row1._z + a._row3._y * m._row2._z + a._row3._z * m._row3._z; } -// member functions +// Member functions FMatrix::FMatrix() : _row1(1.0, 0.0, 0.0), _row2(0.0, 1.0, 0.0), _row3(0.0, 0.0, 1.0) { |