ALL: Fix whitespaces / indention
svn-id: r55818
This commit is contained in:
parent
377b4c67d9
commit
2d1c8a3533
50 changed files with 78 additions and 70 deletions
|
@ -1323,7 +1323,8 @@ void addSeqListElement(uint16 objIdx, int16 param1, int16 param2, int16 frame, i
|
|||
Common::List<SeqListElement>::iterator it;
|
||||
SeqListElement tmp;
|
||||
|
||||
for (it = g_cine->_seqList.begin(); it != g_cine->_seqList.end() && it->varE < param7; ++it) ;
|
||||
for (it = g_cine->_seqList.begin(); it != g_cine->_seqList.end() && it->varE < param7; ++it)
|
||||
;
|
||||
|
||||
tmp.objIdx = objIdx;
|
||||
tmp.var4 = param1;
|
||||
|
|
|
@ -577,8 +577,9 @@ void Game::loop(LoopSubstatus substatus, bool shouldExit) {
|
|||
case kStatusDialogue:
|
||||
handleDialogueLoop();
|
||||
break;
|
||||
case kStatusGate: ;
|
||||
case kStatusGate:
|
||||
// cannot happen when isCursonOn; added for completeness
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -141,7 +141,8 @@ void Mouse::waitForRelease() {
|
|||
LureEngine &engine = LureEngine::getReference();
|
||||
|
||||
do {
|
||||
while (e.pollEvent() && !engine.shouldQuit()) ;
|
||||
while (e.pollEvent() && !engine.shouldQuit())
|
||||
;
|
||||
g_system->delayMillis(20);
|
||||
} while (!engine.shouldQuit() && (lButton() || rButton() || mButton()));
|
||||
}
|
||||
|
|
|
@ -228,7 +228,8 @@ void Game::execute() {
|
|||
case Common::KEYCODE_KP_MINUS:
|
||||
if (_debugFlag) {
|
||||
if (roomNum == 1) roomNum = 55;
|
||||
while (res.getRoom(--roomNum) == NULL) ;
|
||||
while (res.getRoom(--roomNum) == NULL)
|
||||
;
|
||||
room.setRoomNumber(roomNum);
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -233,7 +233,8 @@ bool LureEngine::loadGame(uint8 slotNumber) {
|
|||
}
|
||||
|
||||
// Read in and discard the savegame caption
|
||||
while (f->readByte() != 0) ;
|
||||
while (f->readByte() != 0)
|
||||
;
|
||||
|
||||
// Load in the data
|
||||
Resources::getReference().loadFromStream(f);
|
||||
|
|
|
@ -250,7 +250,8 @@ public:
|
|||
|
||||
bool complete[3];
|
||||
_vm->_saveLoad->getGamePartProgress(complete, 3);
|
||||
for (i = 0; i < 3 && complete[i]; i++, _availItems++) ;
|
||||
for (i = 0; i < 3 && complete[i]; i++, _availItems++)
|
||||
;
|
||||
|
||||
if (_vm->getPlatform() == Common::kPlatformAmiga) {
|
||||
_menuStrings = _menuStringsAmiga;
|
||||
|
|
|
@ -306,7 +306,7 @@ void Music::startMusic(int32 tuneId, int32 loopFlag) {
|
|||
/* The handle will load the music file now. It can take a while, so unlock
|
||||
the mutex before, to have the soundthread playing normally.
|
||||
As the corresponding _converter is NULL, the handle will be ignored by the playing thread */
|
||||
if (SwordEngine::isPsx()) { ;
|
||||
if (SwordEngine::isPsx()) {
|
||||
if (_handles[newStream].playPSX(tuneId, loopFlag != 0)) {
|
||||
_mutex.lock();
|
||||
_converter[newStream] = Audio::makeRateConverter(_handles[newStream].getRate(), _mixer->getOutputRate(), _handles[newStream].isStereo(), false);
|
||||
|
|
|
@ -277,7 +277,8 @@ int TeenAgentEngine::skipEvents() const {
|
|||
case Common::EVENT_KEYDOWN:
|
||||
if (event.kbd.ascii)
|
||||
return 1;
|
||||
default: ;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -288,7 +288,8 @@ void Scheduler::giveWay(PPROCESS pReSchedProc) {
|
|||
PPROCESS pEnd;
|
||||
|
||||
// Find the last process in the list.
|
||||
for (pEnd = pCurrent; pEnd->pNext != NULL; pEnd = pEnd->pNext) ;
|
||||
for (pEnd = pCurrent; pEnd->pNext != NULL; pEnd = pEnd->pNext)
|
||||
;
|
||||
assert(pEnd->pNext == NULL);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue