diff options
author | Paul Gilbert | 2017-04-17 11:50:12 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-17 11:50:12 -0400 |
commit | 4940bef43edfd37bc57c901e46879cf69d36b37e (patch) | |
tree | ccf39e14a427a497dc31b566f42bf93bbb7d422a /engines | |
parent | 60faebe348f7d7a9a43c93b8982a49a670be9404 (diff) | |
download | scummvm-rg350-4940bef43edfd37bc57c901e46879cf69d36b37e.tar.gz scummvm-rg350-4940bef43edfd37bc57c901e46879cf69d36b37e.tar.bz2 scummvm-rg350-4940bef43edfd37bc57c901e46879cf69d36b37e.zip |
TITANIC: Further renamings of CStarMover fields
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/camera_mover.cpp | 24 | ||||
-rw-r--r-- | engines/titanic/star_control/camera_mover.h | 8 |
2 files changed, 16 insertions, 16 deletions
diff --git a/engines/titanic/star_control/camera_mover.cpp b/engines/titanic/star_control/camera_mover.cpp index 07072afbb9..bd588e6382 100644 --- a/engines/titanic/star_control/camera_mover.cpp +++ b/engines/titanic/star_control/camera_mover.cpp @@ -35,11 +35,11 @@ CCameraMover::CCameraMover(const CNavigationInfo *src) { _speed = 0.0; _speedChangeCtr = 0.0; _speedChangeInc = 20.0; - _fieldC = 0.0; + _unused = 0.0; _maxSpeed = 50000.0; - _field14 = 1.0; - _field18 = 1.0; - _field1C = 0.0; + _unusedX = 1.0; + _unusedY = 1.0; + _unusedZ = 0.0; } } @@ -117,11 +117,11 @@ void CCameraMover::load(SimpleFile *file, int val) { _speed = file->readFloat(); _speedChangeCtr = file->readFloat(); _speedChangeInc = file->readFloat(); - _fieldC = file->readFloat(); + _unused = file->readFloat(); _maxSpeed = file->readFloat(); - _field14 = file->readFloat(); - _field18 = file->readFloat(); - _field1C = file->readFloat(); + _unusedX = file->readFloat(); + _unusedY = file->readFloat(); + _unusedZ = file->readFloat(); } } @@ -129,11 +129,11 @@ void CCameraMover::save(SimpleFile *file, int indent) { file->writeFloatLine(_speed, indent); file->writeFloatLine(_speedChangeCtr, indent); file->writeFloatLine(_speedChangeInc, indent); - file->writeFloatLine(_fieldC, indent); + file->writeFloatLine(_unused, indent); file->writeFloatLine(_maxSpeed, indent); - file->writeFloatLine(_field14, indent); - file->writeFloatLine(_field18, indent); - file->writeFloatLine(_field1C, indent); + file->writeFloatLine(_unusedX, indent); + file->writeFloatLine(_unusedY, indent); + file->writeFloatLine(_unusedZ, indent); } void CCameraMover::incLockCount() { diff --git a/engines/titanic/star_control/camera_mover.h b/engines/titanic/star_control/camera_mover.h index 30fe6ff85b..c3528f88a2 100644 --- a/engines/titanic/star_control/camera_mover.h +++ b/engines/titanic/star_control/camera_mover.h @@ -34,11 +34,11 @@ struct CNavigationInfo { double _speed; double _speedChangeCtr; double _speedChangeInc; - double _fieldC; + double _unused; double _maxSpeed; - double _field14; - double _field18; - double _field1C; + double _unusedX; + double _unusedY; + double _unusedZ; }; class CCameraMover : public CNavigationInfo { |