TITANIC: Finished CStarControlSub21 class

This commit is contained in:
Paul Gilbert 2017-03-21 22:07:38 -04:00
parent 6d78d4ca33
commit c0030abe5e
2 changed files with 7 additions and 3 deletions

View file

@ -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");
}
}

View file

@ -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();
}
}