diff options
author | Johannes Schickel | 2012-09-26 04:10:32 +0200 |
---|---|---|
committer | Johannes Schickel | 2012-09-26 04:11:09 +0200 |
commit | a6c6c74350bb673c178d9756a1625ca128d24f21 (patch) | |
tree | 5d88c0cef3a2b40fdfe6e10d8b20904ff75bddf8 /engines/pegasus/neighborhood/mars/spacejunk.cpp | |
parent | d9b204b78ea2c7636af7e8fcffd67065a6d08d84 (diff) | |
download | scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.tar.gz scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.tar.bz2 scummvm-rg350-a6c6c74350bb673c178d9756a1625ca128d24f21.zip |
PEGASUS: Remove trailing whitespaces.
Powered by: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
Diffstat (limited to 'engines/pegasus/neighborhood/mars/spacejunk.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/mars/spacejunk.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/pegasus/neighborhood/mars/spacejunk.cpp b/engines/pegasus/neighborhood/mars/spacejunk.cpp index ac8b1a23cc..3912e659c2 100644 --- a/engines/pegasus/neighborhood/mars/spacejunk.cpp +++ b/engines/pegasus/neighborhood/mars/spacejunk.cpp @@ -49,7 +49,7 @@ SpaceJunk::~SpaceJunk() { g_spaceJunk = 0; } -void SpaceJunk::launchJunk(int16 whichJunk, CoordType xOrigin, CoordType yOrigin) { +void SpaceJunk::launchJunk(int16 whichJunk, CoordType xOrigin, CoordType yOrigin) { _bouncing = false; TimeValue startTime = whichJunk * 16 * 40; TimeValue stopTime = startTime + 16 * 40; @@ -93,7 +93,7 @@ void SpaceJunk::setScaleSize(const CoordType size) { setBounds(r); } -void SpaceJunk::useIdleTime() { +void SpaceJunk::useIdleTime() { if (_bouncing) { TimeValue time = _timer.getTime(); Common::Point pt; @@ -116,7 +116,7 @@ void SpaceJunk::useIdleTime() { Common::Point pt2D; project3DTo2D(_junkPosition, pt2D); setCenter(pt2D.x, pt2D.y); - setScaleSize((int)(convertSpaceYToScreenV(_junkPosition.y - kJunkSize / 2, _junkPosition.z) - + setScaleSize((int)(convertSpaceYToScreenV(_junkPosition.y - kJunkSize / 2, _junkPosition.z) - convertSpaceYToScreenV(_junkPosition.y + kJunkSize / 2, _junkPosition.z))); if (t == 1.0) { @@ -188,7 +188,7 @@ void SpaceJunk::hitByEnergyBeam(Common::Point) { setGlowing(false); } -void SpaceJunk::hitByGravitonCannon(Common::Point impactPoint) { +void SpaceJunk::hitByGravitonCannon(Common::Point impactPoint) { stop(); stopIdling(); hide(); |