aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-01-28 00:14:17 +0000
committerJordi Vilalta Prat2008-01-28 00:14:17 +0000
commitd6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd (patch)
treee6e98f266610f6428c248aed6abc75e637e45231 /engines/sky
parent66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (diff)
downloadscummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.gz
scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.tar.bz2
scummvm-rg350-d6c34bdc4b12ea7bef445ef4d84bf8a5370c02dd.zip
Fixed the spaces before tabs.
svn-id: r30667
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/compact.cpp2
-rw-r--r--engines/sky/control.cpp2
-rw-r--r--engines/sky/logic.cpp10
-rw-r--r--engines/sky/sound.cpp2
4 files changed, 8 insertions, 8 deletions
diff --git a/engines/sky/compact.cpp b/engines/sky/compact.cpp
index 0f38445105..eccca6795b 100644
--- a/engines/sky/compact.cpp
+++ b/engines/sky/compact.cpp
@@ -349,7 +349,7 @@ MegaSet *SkyCompact::getMegaSet(Compact *cpt) {
/**
\brief Returns the turn table for direction \a dir
- from Compact \a cpt in \a megaSet.
+ from Compact \a cpt in \a megaSet.
Functionally equivalent to:
\verbatim
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index eaea67e918..5b06efd589 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -955,7 +955,7 @@ uint16 Control::saveRestorePanel(bool allowSave) {
quitPanel = true;
}
if (clickRes == RESTORE_FAILED)
- refreshAll = true;
+ refreshAll = true;
}
}
diff --git a/engines/sky/logic.cpp b/engines/sky/logic.cpp
index 4f7f1fc774..ed7e419f64 100644
--- a/engines/sky/logic.cpp
+++ b/engines/sky/logic.cpp
@@ -1230,8 +1230,8 @@ uint16 Logic::mouseScript(uint32 scrNum, Compact *scriptComp) {
* This is the actual script engine. It interprets script \a scriptNo starting at \a offset
*
* @param scriptNo The script to interpret.
- * @arg Bits 0-11 - Script number
- * @arg Bits 12-15 - Module number
+ * @arg Bits 0-11 - Script number
+ * @arg Bits 12-15 - Module number
* @param offset At which offset to start interpreting the script.
*
* @return 0 if script finished. Else offset where to continue.
@@ -1559,7 +1559,7 @@ bool Logic::fnCloseHand(uint32 a, uint32 b, uint32 c) {
}
bool Logic::fnGetTo(uint32 targetPlaceId, uint32 mode, uint32 c) {
- _compact->upFlag = (uint16)mode; // save mode for action script
+ _compact->upFlag = (uint16)mode; // save mode for action script
_compact->mode += 4; // next level up
Compact *cpt = _skyCompact->fetchCpt(_compact->place);
if (!cpt) {
@@ -1702,7 +1702,7 @@ bool Logic::fnQuit(uint32 a, uint32 b, uint32 c) {
bool Logic::fnSpeakMe(uint32 targetId, uint32 mesgNum, uint32 animNum) {
stdSpeak(_skyCompact->fetchCpt(targetId), mesgNum, animNum, 0);
- return false; //drop out of script
+ return false; //drop out of script
}
bool Logic::fnSpeakMeDir(uint32 targetId, uint32 mesgNum, uint32 animNum) {
@@ -2578,7 +2578,7 @@ void Logic::stdSpeak(Compact *target, uint32 textNum, uint32 animNum, uint32 bas
} else {
//talking off-screen
- target->spTextId = 0; //don't kill any text 'cos none was made
+ target->spTextId = 0; //don't kill any text 'cos none was made
textCompact->status = 0; //don't display text
}
// In CD version, we're doing the timing by checking when the VOC has stopped playing.
diff --git a/engines/sky/sound.cpp b/engines/sky/sound.cpp
index 102d041643..928221a9a5 100644
--- a/engines/sky/sound.cpp
+++ b/engines/sky/sound.cpp
@@ -1156,7 +1156,7 @@ void Sound::fnStartFx(uint32 sound, uint8 channel) {
if (SkyEngine::_systemVars.systemFlags & SF_SBLASTER)
volume = roomList[i].adlibVolume;
else if (SkyEngine::_systemVars.systemFlags & SF_ROLAND)
- volume = roomList[i].rolandVolume;
+ volume = roomList[i].rolandVolume;
volume = (volume * _mainSfxVolume) >> 8;
// Check the flags, the sound may come on after a delay.