diff options
author | Matthew Hoops | 2011-10-13 20:59:20 -0400 |
---|---|---|
committer | Matthew Hoops | 2011-10-13 20:59:20 -0400 |
commit | 753006ae1a89d2e54477e3782e72c187d90d4083 (patch) | |
tree | 6f9f9521e3f78f188cbb674078bda7d050500db8 /engines/pegasus/util.cpp | |
parent | 13fef21fed3631af3c8ebc5c34ccaf2d077af983 (diff) | |
download | scummvm-rg350-753006ae1a89d2e54477e3782e72c187d90d4083.tar.gz scummvm-rg350-753006ae1a89d2e54477e3782e72c187d90d4083.tar.bz2 scummvm-rg350-753006ae1a89d2e54477e3782e72c187d90d4083.zip |
PEGASUS: Add the WSC neighborhood
Seems to be working fine, minus the molecule sprites (though the minigame is completable and the antidote can be found).
Diffstat (limited to 'engines/pegasus/util.cpp')
-rwxr-xr-x | engines/pegasus/util.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/pegasus/util.cpp b/engines/pegasus/util.cpp index a4c9a351c2..9f4ad57bdd 100755 --- a/engines/pegasus/util.cpp +++ b/engines/pegasus/util.cpp @@ -87,14 +87,4 @@ int32 linearInterp(const int32 start1, const int32 stop1, const int32 current1, return start2 + pegasusRound((current1 - start1) * (stop2 - start2), (stop1 - start1)); } -void shuffleArray(int32 *arr, int32 count, Common::RandomSource &random) { - if (count > 1) { - for (int32 i = 1; i < count; ++i) { - int32 j = random.getRandomNumber(i); - if (j != i) - SWAP(arr[i], arr[j]); - } - } -} - } // End of namespace Pegasus |