diff options
author | Paul Gilbert | 2010-07-07 11:02:11 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-07-07 11:02:11 +0000 |
commit | dd5f6f13e292e3ca8c63997fb1360fc39b5426e3 (patch) | |
tree | 75d026071efc238e81a70f7797b82389569072f2 /engines/m4/mads_scene.cpp | |
parent | afd285005825926ee4f26b7ca5b20d2450efe211 (diff) | |
download | scummvm-rg350-dd5f6f13e292e3ca8c63997fb1360fc39b5426e3.tar.gz scummvm-rg350-dd5f6f13e292e3ca8c63997fb1360fc39b5426e3.tar.bz2 scummvm-rg350-dd5f6f13e292e3ca8c63997fb1360fc39b5426e3.zip |
Bugfixes and changed field names in the player class to be more explanatory. Implemented Ctrl-T to turn the player - the original game used Ctrl-U, but this is reserved by ScummVM for toggle Mute.
svn-id: r50734
Diffstat (limited to 'engines/m4/mads_scene.cpp')
-rw-r--r-- | engines/m4/mads_scene.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/m4/mads_scene.cpp b/engines/m4/mads_scene.cpp index 3e838fc1c0..e4f84aeb5a 100644 --- a/engines/m4/mads_scene.cpp +++ b/engines/m4/mads_scene.cpp @@ -165,7 +165,7 @@ void MadsScene::loadScene(int sceneNumber) { // Miscellaneous player setup _madsVm->_player._destPos = _madsVm->_player._destPos; - _madsVm->_player._direction2 = _madsVm->_player._direction; + _madsVm->_player._newDirection = _madsVm->_player._direction; _madsVm->_player.setupFrame(); _madsVm->_player.updateFrame(); @@ -1192,9 +1192,9 @@ bool MadsInterfaceView::handleKeypress(int32 keycode) { warning("TODO: Activate sound"); break; - case Common::KEYCODE_u: - // Rotate player - warning("TODO: Rotate player"); + case Common::KEYCODE_t: + // Rotate player - This was Ctrl-U in the original, but in ScummVM Ctrl-U is a global mute key + _madsVm->_player._newDirection = _madsVm->_player._directionListIndexes[_madsVm->_player._newDirection + 10]; break; case Common::KEYCODE_v: { |