diff options
author | Paul Gilbert | 2017-03-21 22:07:38 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-03-21 22:07:38 -0400 |
commit | c0030abe5ef238fe4bb1b60839bbba65a0671623 (patch) | |
tree | d643117987ff9b993d767f864beb819811d90794 /engines | |
parent | 6d78d4ca3371be8279abf7080ec9bde9f4cf96c2 (diff) | |
download | scummvm-rg350-c0030abe5ef238fe4bb1b60839bbba65a0671623.tar.gz scummvm-rg350-c0030abe5ef238fe4bb1b60839bbba65a0671623.tar.bz2 scummvm-rg350-c0030abe5ef238fe4bb1b60839bbba65a0671623.zip |
TITANIC: Finished CStarControlSub21 class
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_control_sub13.cpp | 1 | ||||
-rw-r--r-- | engines/titanic/star_control/star_control_sub21.cpp | 9 |
2 files changed, 7 insertions, 3 deletions
diff --git a/engines/titanic/star_control/star_control_sub13.cpp b/engines/titanic/star_control/star_control_sub13.cpp index 6512d12232..190ae20179 100644 --- a/engines/titanic/star_control/star_control_sub13.cpp +++ b/engines/titanic/star_control/star_control_sub13.cpp @@ -68,6 +68,7 @@ void CStarControlSub13::copyFrom(const CStarControlSub13 *src) { _position = src->_position; _fieldC = src->_field18; _field10 = src->_field1C; + error("TODO: Remainder of CStarControlSub13::copyFrom"); } } diff --git a/engines/titanic/star_control/star_control_sub21.cpp b/engines/titanic/star_control/star_control_sub21.cpp index 1e676b7703..681736dfac 100644 --- a/engines/titanic/star_control/star_control_sub21.cpp +++ b/engines/titanic/star_control/star_control_sub21.cpp @@ -60,11 +60,14 @@ void CStarControlSub21::proc11(CErrorCode &errorCode, FVector &v, const FMatrix incLockCount(); if (val == 2) { proc7(); - error("TODO: _dataP"); + if (_starVector) + _starVector->apply(); } } else if (_size != 0.0) { - // TODO - error("TODO"); + v._x += m._row3._x * _size; + v._y += m._row3._y * _size; + v._z += m._row3._z * _size; + errorCode.set(); } } |