diff options
Diffstat (limited to 'engines/titanic/star_control')
11 files changed, 11 insertions, 11 deletions
diff --git a/engines/titanic/star_control/star_control.cpp b/engines/titanic/star_control/star_control.cpp index f27f16dab2..9880e6f28c 100644 --- a/engines/titanic/star_control/star_control.cpp +++ b/engines/titanic/star_control/star_control.cpp @@ -29,7 +29,7 @@ CStarControl::CStarControl() : _fieldBC(0), _field80A0(0), _field80A4(0), _field80A8(0), _field80AC(0), _field80B0(0) { } -void CStarControl::save(SimpleFile *file, int indent) const { +void CStarControl::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); } diff --git a/engines/titanic/star_control/star_control.h b/engines/titanic/star_control/star_control.h index ee042b6bc8..1bd2dec92b 100644 --- a/engines/titanic/star_control/star_control.h +++ b/engines/titanic/star_control/star_control.h @@ -46,7 +46,7 @@ public: /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const; + virtual void save(SimpleFile *file, int indent); /** * Load the data for the class from file diff --git a/engines/titanic/star_control/star_control_sub11.cpp b/engines/titanic/star_control/star_control_sub11.cpp index f590ee61e6..05f2733e21 100644 --- a/engines/titanic/star_control/star_control_sub11.cpp +++ b/engines/titanic/star_control/star_control_sub11.cpp @@ -45,7 +45,7 @@ void CStarControlSub11::load(SimpleFile *file, int param) { } } -void CStarControlSub11::save(SimpleFile *file, int indent) const { +void CStarControlSub11::save(SimpleFile *file, int indent) { } } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub11.h b/engines/titanic/star_control/star_control_sub11.h index 9cb9cbeb50..a322e1e43a 100644 --- a/engines/titanic/star_control/star_control_sub11.h +++ b/engines/titanic/star_control/star_control_sub11.h @@ -55,7 +55,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub12.cpp b/engines/titanic/star_control/star_control_sub12.cpp index 3e288e83c0..aa65f718eb 100644 --- a/engines/titanic/star_control/star_control_sub12.cpp +++ b/engines/titanic/star_control/star_control_sub12.cpp @@ -33,7 +33,7 @@ void CStarControlSub12::load(SimpleFile *file, int param) { _sub13.load(file, param); } -void CStarControlSub12::save(SimpleFile *file, int indent) const { +void CStarControlSub12::save(SimpleFile *file, int indent) { _sub13.save(file, indent); } diff --git a/engines/titanic/star_control/star_control_sub12.h b/engines/titanic/star_control/star_control_sub12.h index 586e138969..3637e13bd1 100644 --- a/engines/titanic/star_control/star_control_sub12.h +++ b/engines/titanic/star_control/star_control_sub12.h @@ -56,7 +56,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub13.cpp b/engines/titanic/star_control/star_control_sub13.cpp index fbe40b9532..f22a22a6e9 100644 --- a/engines/titanic/star_control/star_control_sub13.cpp +++ b/engines/titanic/star_control/star_control_sub13.cpp @@ -67,7 +67,7 @@ void CStarControlSub13::load(SimpleFile *file, int param) { _fieldD4 = 0; } -void CStarControlSub13::save(SimpleFile *file, int indent) const { +void CStarControlSub13::save(SimpleFile *file, int indent) { _sub14.save(file, indent); } diff --git a/engines/titanic/star_control/star_control_sub13.h b/engines/titanic/star_control/star_control_sub13.h index 1ec841ae2d..e1b54775ce 100644 --- a/engines/titanic/star_control/star_control_sub13.h +++ b/engines/titanic/star_control/star_control_sub13.h @@ -65,7 +65,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_control_sub14.cpp b/engines/titanic/star_control/star_control_sub14.cpp index 3d02705af5..75e7c68d8e 100644 --- a/engines/titanic/star_control/star_control_sub14.cpp +++ b/engines/titanic/star_control/star_control_sub14.cpp @@ -42,7 +42,7 @@ void CStarControlSub14::load(SimpleFile *file, int param) { _field20 = file->readFloat(); } -void CStarControlSub14::save(SimpleFile *file, int indent) const { +void CStarControlSub14::save(SimpleFile *file, int indent) { } diff --git a/engines/titanic/star_control/star_control_sub14.h b/engines/titanic/star_control/star_control_sub14.h index 2d02d13d8c..0b1d4e3b08 100644 --- a/engines/titanic/star_control/star_control_sub14.h +++ b/engines/titanic/star_control/star_control_sub14.h @@ -49,7 +49,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const; + void save(SimpleFile *file, int indent); }; diff --git a/engines/titanic/star_control/star_control_sub8.h b/engines/titanic/star_control/star_control_sub8.h index 6dcd147da2..39d9fef7dc 100644 --- a/engines/titanic/star_control/star_control_sub8.h +++ b/engines/titanic/star_control/star_control_sub8.h @@ -51,7 +51,7 @@ public: /** * Save the data for the class to file */ - void save(SimpleFile *file, int indent) const {} + void save(SimpleFile *file, int indent) {} }; } // End of namespace Titanic |