diff options
author | Strangerke | 2013-09-01 02:13:14 +0200 |
---|---|---|
committer | Strangerke | 2013-09-01 02:13:14 +0200 |
commit | e25b9b602b5cd1590b209a03a256bfdd3f0d6c74 (patch) | |
tree | a20f3f92b4709801440d5de9a2692caa6c021de6 /engines | |
parent | 008016db37ae91ab24cec1ca77d7e1a861819add (diff) | |
download | scummvm-rg350-e25b9b602b5cd1590b209a03a256bfdd3f0d6c74.tar.gz scummvm-rg350-e25b9b602b5cd1590b209a03a256bfdd3f0d6c74.tar.bz2 scummvm-rg350-e25b9b602b5cd1590b209a03a256bfdd3f0d6c74.zip |
TSAGE: R2R - More renaming in scene 250
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.cpp | 18 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_scenes0.h | 2 |
2 files changed, 10 insertions, 10 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp index 186fb1ff5c..21dd05c214 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp +++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp @@ -2580,7 +2580,7 @@ void Scene250::Button::setFloor(int floorNumber) { /*--------------------------------------------------------------------------*/ Scene250::Scene250(): SceneExt() { - _currButtonY = _destButtonY = _field416 = 0; + _currButtonY = _destButtonY = _elevatorSpeed = 0; _skippingFl = _skippableFl = false; } @@ -2589,7 +2589,7 @@ void Scene250::synchronize(Serializer &s) { s.syncAsSint16LE(_currButtonY); s.syncAsSint16LE(_destButtonY); - s.syncAsSint16LE(_field416); + s.syncAsSint16LE(_elevatorSpeed); s.syncAsSint16LE(_skippableFl); s.syncAsSint16LE(_skippingFl); } @@ -2665,7 +2665,7 @@ void Scene250::signal() { R2_GLOBALS._player.setPosition(Common::Point(261, 185)); ADD_MOVER(R2_GLOBALS._player, 261, 15); - _field416 = 0; + _elevatorSpeed = 0; _sceneMode = 2; break; case 2: @@ -2704,7 +2704,7 @@ void Scene250::signal() { R2_GLOBALS._player.setup(250, 1, 2); R2_GLOBALS._player.setPosition(Common::Point(261, 15)); ADD_MOVER(R2_GLOBALS._player, 261, 185); - _field416 = 0; + _elevatorSpeed = 0; _sceneMode = 7; break; case 7: @@ -2787,14 +2787,14 @@ void Scene250::process(Event &event) { void Scene250::dispatch() { SceneExt::dispatch(); - if (((_sceneMode == 2) || (_sceneMode == 7)) && (_field416 < 100)) { - ++_field416; - R2_GLOBALS._player._moveDiff.y = _field416 / 5; + if (((_sceneMode == 2) || (_sceneMode == 7)) && (_elevatorSpeed < 100)) { + ++_elevatorSpeed; + R2_GLOBALS._player._moveDiff.y = _elevatorSpeed / 5; } if (((_sceneMode == 5) || (_sceneMode == 10)) && (R2_GLOBALS._player._moveDiff.y > 4)) { - --_field416; - R2_GLOBALS._player._moveDiff.y = (_field416 / 7) + 3; + --_elevatorSpeed; + R2_GLOBALS._player._moveDiff.y = (_elevatorSpeed / 7) + 3; } } diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.h b/engines/tsage/ringworld2/ringworld2_scenes0.h index cfaa560d11..ff62fc83d6 100644 --- a/engines/tsage/ringworld2/ringworld2_scenes0.h +++ b/engines/tsage/ringworld2/ringworld2_scenes0.h @@ -318,7 +318,7 @@ class Scene250: public SceneExt { virtual bool startAction(CursorType action, Event &event); }; public: - int _currButtonY, _destButtonY, _field416; + int _currButtonY, _destButtonY, _elevatorSpeed; bool _skippingFl, _skippableFl; NamedHotspot _background, _item2, _item3, _item4; Button _button1, _currentFloor; |