aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-01 15:06:43 +0000
committerEugene Sandulenko2009-01-01 15:06:43 +0000
commit696897b0583ad52ebc6f7666525277847619a8ce (patch)
tree5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /engines/made/scriptfuncs.cpp
parent05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff)
downloadscummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r--engines/made/scriptfuncs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index 835d846108..72ce3e238c 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -93,7 +93,7 @@ void ScriptFunctions::setupExternalsTable() {
External(sfLoadMouseCursor);
External(sfSetSpriteGround);
External(sfLoadResText);
-
+
if (_vm->getGameID() == GID_MANHOLE || _vm->getGameID() == GID_LGOP2 || _vm->getGameID() == GID_RODNEY) {
External(sfAddScreenMask);
External(sfSetSpriteMask);
@@ -113,7 +113,7 @@ void ScriptFunctions::setupExternalsTable() {
External(sfGetCdTime);
External(sfPlayCdSegment);
}
-
+
if (_vm->getGameID() == GID_RTZ) {
External(sfPrintf);
External(sfClearMono);
@@ -236,7 +236,7 @@ int16 ScriptFunctions::sfPlaySound(int16 argc, int16 *argv) {
_vm->_autoStopSound = (argv[0] == 1);
}
if (soundNum > 0) {
- _vm->_mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_audioStreamHandle,
+ _vm->_mixer->playInputStream(Audio::Mixer::kPlainSoundType, &_audioStreamHandle,
_vm->_res->getSound(soundNum)->getAudioStream(_vm->_soundRate, false));
}
return 0;
@@ -833,18 +833,18 @@ int16 ScriptFunctions::sfGetMenuCount(int16 argc, int16 *argv) {
}
int16 ScriptFunctions::sfSaveGame(int16 argc, int16 *argv) {
-
+
int16 saveNum = argv[2];
int16 descObjectIndex = argv[1];
int16 version = argv[0];
-
+
if (saveNum > 999)
return 6;
const char *description = _vm->_dat->getObjectString(descObjectIndex);
Common::String filename = _vm->getSavegameFilename(saveNum);
return _vm->_dat->savegame(filename.c_str(), description, version);
-
+
}
int16 ScriptFunctions::sfLoadGame(int16 argc, int16 *argv) {
@@ -857,11 +857,11 @@ int16 ScriptFunctions::sfLoadGame(int16 argc, int16 *argv) {
Common::String filename = _vm->getSavegameFilename(saveNum);
return _vm->_dat->loadgame(filename.c_str(), version);
-
+
}
int16 ScriptFunctions::sfGetGameDescription(int16 argc, int16 *argv) {
-
+
int16 descObjectIndex = argv[2];
int16 saveNum = argv[1];
/*int16 version = argv[0];*/