diff options
author | Paul Gilbert | 2017-04-15 21:35:04 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-04-15 21:35:04 -0400 |
commit | 074e466f914022901e26a12988b5e9c24e9a74c8 (patch) | |
tree | bcc261c87b3abdc65ed367ae7ab2607fcfac7a5c /engines/titanic/star_control/star_control_sub23.cpp | |
parent | d128587e99d93e55cf9de9da771f1f775d27ad18 (diff) | |
download | scummvm-rg350-074e466f914022901e26a12988b5e9c24e9a74c8.tar.gz scummvm-rg350-074e466f914022901e26a12988b5e9c24e9a74c8.tar.bz2 scummvm-rg350-074e466f914022901e26a12988b5e9c24e9a74c8.zip |
TITANIC: Renaming movement counter fields
Diffstat (limited to 'engines/titanic/star_control/star_control_sub23.cpp')
-rw-r--r-- | engines/titanic/star_control/star_control_sub23.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/titanic/star_control/star_control_sub23.cpp b/engines/titanic/star_control/star_control_sub23.cpp index f2a195debe..7b329e77e7 100644 --- a/engines/titanic/star_control/star_control_sub23.cpp +++ b/engines/titanic/star_control/star_control_sub23.cpp @@ -37,8 +37,8 @@ CStarControlSub23::CStarControlSub23() : _row1(0.0, 1000000.0, 0.0) { _field48 = 0; _field4C = 0; _field54 = 0; - _field58 = 0.0; - _field60 = 0.0; + _moveDelayCtr = 0.0; + _moveDelayInc = 0.0; } void CStarControlSub23::proc2(FVector &v1, FVector &v2, FMatrix &m1, FMatrix &m2) { @@ -47,10 +47,9 @@ void CStarControlSub23::proc2(FVector &v1, FVector &v2, FMatrix &m1, FMatrix &m2 _row3 = _row2 - _row1; _field24 = _row3.normalize(); - _field58 = 0; _active = false; _field34 = 0; - _field58 = 1.0; + _moveDelayCtr = 1.0; _field40 = -1; _field44 = -1; _field48 = -1; @@ -60,7 +59,7 @@ void CStarControlSub23::proc2(FVector &v1, FVector &v2, FMatrix &m1, FMatrix &m2 void CStarControlSub23::proc3(const FMatrix &m1, const FMatrix &m2) { _row1.clear(); _row2.clear(); - _field58 = 1.0; + _moveDelayCtr = 1.0; _field24 = 0.0; _active = false; _field34 = 0; @@ -79,7 +78,7 @@ void CStarControlSub23::proc4(FVector &v1, FVector &v2, FMatrix &m) { _field44 = -1; _field48 = -1; _field4C = -1; - _field58 = 1.0; + _moveDelayCtr = 1.0; } void CStarControlSub23::proc6(int val1, int val2, float val) { |