aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/various.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/cine/various.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/cine/various.cpp')
-rw-r--r--engines/cine/various.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 3a826fab97..5b54bccc25 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -318,7 +318,7 @@ void CineEngine::resetEngine() {
currentAdditionalBgIdx2 = 0;
// TODO: Add resetting of the following variables
// adBgVar1 = 0;
- // adBgVar0 = 0;
+ // adBgVar0 = 0;
// gfxFadeOutCompleted = 0;
}
}
@@ -602,7 +602,7 @@ void makeCommandLine(void) {
}
}
}
-
+
if (g_cine->getGameType() == Cine::GType_OS || !(playerCommand != -1 && choiceResultTable[playerCommand] == 2)) {
if (playerCommand == 2) {
getMouseData(mouseUpdateStatus, &dummyU16, &x, &y);
@@ -829,7 +829,7 @@ uint16 executePlayerInput(void) {
renderer->setCommand(commandBuffer);
isDrawCommandEnabled = 0;
}
-
+
getMouseData(mouseUpdateStatus, &mouseButton, &mouseX, &mouseY);
while (mouseButton && currentEntry < 200) {
@@ -870,7 +870,7 @@ uint16 executePlayerInput(void) {
commandBuffer += " ";
commandBuffer += objectTable[si].name;
-
+
isDrawCommandEnabled = 1;
@@ -1408,14 +1408,14 @@ uint16 addAni(uint16 param1, uint16 objIdx, const int8 *ptr, SeqListElement &ele
return 1;
}
-/*!
+/*!
* Permutates the overlay list into a different order according to some logic.
* \todo Check this function for correctness (Wasn't very easy to reverse engineer so there may be errors)
*/
void resetGfxEntityEntry(uint16 objIdx) {
Common::List<overlay>::iterator it, bObjsCutPoint;
Common::List<overlay> aReverseObjs, bObjs;
- bool foundCutPoint = false;
+ bool foundCutPoint = false;
// Go through the overlay list and partition the whole list into two categories (Type A and type B objects)
for (it = overlayList.begin(); it != overlayList.end(); ++it) {
@@ -1429,14 +1429,14 @@ void resetGfxEntityEntry(uint16 objIdx) {
} else {
objectMask = objectTable[it->objIdx].mask;
}
-
+
if (objectTable[objIdx].mask > objectMask) { // Check for B objects' cut point
bObjsCutPoint = bObjs.reverse_begin();
foundCutPoint = true;
}
}
}
-
+
// Recreate the overlay list in a different order.
overlayList.clear();
if (foundCutPoint) {
@@ -1461,7 +1461,7 @@ void processSeqListElement(SeqListElement &element) {
int16 var_10;
int16 var_4;
int16 var_2;
-
+
// Initial interpretations for variables addressed through ptr1 (8-bit addressing):
// These may be inaccurate!
// 0: ?