aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2017-03-26 18:35:07 -0400
committerPaul Gilbert2017-03-26 18:35:07 -0400
commit3194c308ee58d7d02a59e0367daaba5222d6be2f (patch)
tree6876d083077085681c19a82243f70b0cb970b824
parent857bf17e2c1adaa35764def6531b5fe1f1ea4ea8 (diff)
downloadscummvm-rg350-3194c308ee58d7d02a59e0367daaba5222d6be2f.tar.gz
scummvm-rg350-3194c308ee58d7d02a59e0367daaba5222d6be2f.tar.bz2
scummvm-rg350-3194c308ee58d7d02a59e0367daaba5222d6be2f.zip
TITANIC: Minor cleanups, TODO removals
-rw-r--r--engines/titanic/star_control/star_control_sub13.cpp8
-rw-r--r--engines/titanic/star_control/star_control_sub5.cpp2
-rw-r--r--engines/titanic/star_control/surface_area.cpp2
3 files changed, 2 insertions, 10 deletions
diff --git a/engines/titanic/star_control/star_control_sub13.cpp b/engines/titanic/star_control/star_control_sub13.cpp
index 190ae20179..1e9cffb55b 100644
--- a/engines/titanic/star_control/star_control_sub13.cpp
+++ b/engines/titanic/star_control/star_control_sub13.cpp
@@ -63,13 +63,7 @@ CStarControlSub13::CStarControlSub13(CStarControlSub13 *src) :
}
void CStarControlSub13::copyFrom(const CStarControlSub13 *src) {
- if (src) {
- // TODO: Not really certain src is a CStarControlSub13
- _position = src->_position;
- _fieldC = src->_field18;
- _field10 = src->_field1C;
- error("TODO: Remainder of CStarControlSub13::copyFrom");
- }
+ error("Unused function");
}
void CStarControlSub13::load(SimpleFile *file, int param) {
diff --git a/engines/titanic/star_control/star_control_sub5.cpp b/engines/titanic/star_control/star_control_sub5.cpp
index 092e7eb35a..e4a9739f3a 100644
--- a/engines/titanic/star_control/star_control_sub5.cpp
+++ b/engines/titanic/star_control/star_control_sub5.cpp
@@ -63,8 +63,6 @@ bool CStarControlSub5::setup() {
}
bool CStarControlSub5::setup2(int val1, int val2) {
- // TODO: Original set an explicit random seed here. Could be
- // problematic if following random values need to be deterministic
const double FACTOR = 2 * M_PI / 360.0;
const int VALUES1[] = { 0x800, 0xC00, 0x1000, 0x1400, 0x1800 };
const int VALUES2[] = {
diff --git a/engines/titanic/star_control/surface_area.cpp b/engines/titanic/star_control/surface_area.cpp
index 6faf0acf10..a3029bde88 100644
--- a/engines/titanic/star_control/surface_area.cpp
+++ b/engines/titanic/star_control/surface_area.cpp
@@ -229,7 +229,7 @@ double CSurfaceArea::fillRect(const FRect &rect) {
}
}
- // TODO: Lots more functionality
+ // Lots more functionality
*/
return r.top;
}