diff options
author | Eugene Sandulenko | 2016-04-12 13:48:48 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-10 09:54:21 +0200 |
commit | f4fc5e251a79bb7ee7d6ba69251fc7db05747853 (patch) | |
tree | 9289ca41e4d5706fcb7cbf114862fa46667e56ba /engines/gnap | |
parent | 7762c494324075170ce3b84761bdaba31a390228 (diff) | |
download | scummvm-rg350-f4fc5e251a79bb7ee7d6ba69251fc7db05747853.tar.gz scummvm-rg350-f4fc5e251a79bb7ee7d6ba69251fc7db05747853.tar.bz2 scummvm-rg350-f4fc5e251a79bb7ee7d6ba69251fc7db05747853.zip |
GNAP: Add missing newlines at the end
Diffstat (limited to 'engines/gnap')
-rw-r--r-- | engines/gnap/scenes/scene32.cpp | 21 | ||||
-rw-r--r-- | engines/gnap/scenes/scene33.cpp | 29 | ||||
-rw-r--r-- | engines/gnap/scenes/scene38.cpp | 19 |
3 files changed, 33 insertions, 36 deletions
diff --git a/engines/gnap/scenes/scene32.cpp b/engines/gnap/scenes/scene32.cpp index 0822dc41ed..659ce0e7f5 100644 --- a/engines/gnap/scenes/scene32.cpp +++ b/engines/gnap/scenes/scene32.cpp @@ -81,15 +81,15 @@ void GnapEngine::scene32_run() { initBeaverPos(1, 7, kDirNone); endSceneInit(); } - + while (!_sceneDone) { updateMouseCursor(); updateCursorByHotspot(); testWalk(0, 0, -1, -1, -1, -1); - + _sceneClickedHotspot = getClickedHotspotId(); updateGrabCursorSprite(0, 0); - + switch (_sceneClickedHotspot) { case kHSDevice: if (_gnapActionStatus < 0) { @@ -153,10 +153,10 @@ void GnapEngine::scene32_run() { } scene32_updateAnimations(); - + if (!isSoundPlaying(0x1091C)) playSound(0x1091C, true); - + if (!_isLeavingScene) { if (_beaverActionStatus < 0) updateBeaverIdleSequence(); @@ -171,19 +171,19 @@ void GnapEngine::scene32_run() { } playSoundC(); } - + checkGameKeys(); - + if (isKeyStatus1(8)) { clearKeyStatus1(8); runMenu(); scene32_updateHotspots(); } - + gameUpdateTick(); - + } - + } void GnapEngine::scene32_updateAnimations() { @@ -197,4 +197,3 @@ void GnapEngine::scene32_updateAnimations() { } } // End of namespace Gnap -
\ No newline at end of file diff --git a/engines/gnap/scenes/scene33.cpp b/engines/gnap/scenes/scene33.cpp index 3069dba025..72588329a9 100644 --- a/engines/gnap/scenes/scene33.cpp +++ b/engines/gnap/scenes/scene33.cpp @@ -106,10 +106,10 @@ void GnapEngine::scene33_run() { updateMouseCursor(); updateCursorByHotspot(); testWalk(0, 0, 7, 6, 8, 6); - + _sceneClickedHotspot = getClickedHotspotId(); updateGrabCursorSprite(0, 0); - + switch (_sceneClickedHotspot) { case kHSDevice: @@ -169,7 +169,7 @@ void GnapEngine::scene33_run() { } } break; - + case kHSExitHouse: if (_gnapActionStatus < 0) { _isLeavingScene = true; @@ -181,7 +181,7 @@ void GnapEngine::scene33_run() { gnapWalkTo(6, 7, 0, 0x107B1, 1); } break; - + case kHSExitBarn: if (_gnapActionStatus < 0) { _isLeavingScene = true; @@ -203,7 +203,7 @@ void GnapEngine::scene33_run() { _newSceneNum = 34; } break; - + case kHSExitPigpen: if (_gnapActionStatus < 0) { _isLeavingScene = true; @@ -213,13 +213,13 @@ void GnapEngine::scene33_run() { _newSceneNum = 32; } break; - + case kHSWalkArea1: case kHSWalkArea2: if (_gnapActionStatus < 0) gnapWalkTo(-1, -1, -1, -1, 1); break; - + default: if (_mouseClickState._left && _gnapActionStatus < 0) { gnapWalkTo(-1, -1, -1, -1, 1); @@ -228,12 +228,12 @@ void GnapEngine::scene33_run() { break; } - + scene33_updateAnimations(); - + if (!isSoundPlaying(0x1091C)) playSound(0x1091C, true); - + if (!_isLeavingScene) { if (_beaverActionStatus < 0) updateBeaverIdleSequence(); @@ -257,17 +257,17 @@ void GnapEngine::scene33_run() { } playSoundC(); } - + checkGameKeys(); - + if (isKeyStatus1(8)) { clearKeyStatus1(8); runMenu(); scene33_updateHotspots(); } - + gameUpdateTick(); - + } } @@ -328,4 +328,3 @@ void GnapEngine::scene33_updateAnimations() { } } // End of namespace Gnap -
\ No newline at end of file diff --git a/engines/gnap/scenes/scene38.cpp b/engines/gnap/scenes/scene38.cpp index eab5670cb3..3650c63634 100644 --- a/engines/gnap/scenes/scene38.cpp +++ b/engines/gnap/scenes/scene38.cpp @@ -95,7 +95,7 @@ void GnapEngine::scene38_run() { queueInsertDeviceIcon(); _gameSys->insertSequence(0x9B, 0, 0, 0, kSeqNone, 0, 0, 0); - + if (_prevSceneNum == 39) { initGnapPos(3, 7, kDirBottomLeft); initBeaverPos(4, 7, kDirUnk4); @@ -106,13 +106,13 @@ void GnapEngine::scene38_run() { endSceneInit(); while (!_sceneDone) { - + updateMouseCursor(); updateCursorByHotspot(); _sceneClickedHotspot = getClickedHotspotId(); updateGrabCursorSprite(0, 0); - + switch (_sceneClickedHotspot) { case kHSDevice: @@ -222,7 +222,7 @@ void GnapEngine::scene38_run() { else if (_gnapActionStatus < 0) gnapWalkTo(-1, -1, -1, -1, 1); break; - + default: if (_mouseClickState._left) { if (_gnapActionStatus == kASHoldingHuntingTrophy) @@ -236,22 +236,22 @@ void GnapEngine::scene38_run() { } scene38_updateAnimations(); - + if (!_isLeavingScene) { updateBeaverIdleSequence(); updateGnapIdleSequence(); } - + checkGameKeys(); - + if (isKeyStatus1(8)) { clearKeyStatus1(8); runMenu(); scene38_updateHotspots(); } - + gameUpdateTick(); - + } } @@ -362,4 +362,3 @@ void GnapEngine::scene38_updateAnimations() { } } // End of namespace Gnap -
\ No newline at end of file |