FULLPIPE: Whitespace fix

This commit is contained in:
Eugene Sandulenko 2013-09-06 15:58:05 +03:00
parent c55862a378
commit af91d2a5ce
7 changed files with 10 additions and 10 deletions

View File

@ -170,7 +170,7 @@ bool CGameLoader::gotoScene(int sceneId, int entranceId) {
return true;
}
if (_sc2array[sc2idx]._entranceDataCount <= 0 )
if (_sc2array[sc2idx]._entranceDataCount <= 0)
return false;
int entranceIdx;

View File

@ -633,7 +633,7 @@ bool Picture::isPixelHitAtPos(int x, int y) {
if (x < _x || y < _y || x >= _x + _width || y >= _y + _height)
return false;
if (!_bitmap )
if (!_bitmap)
init();
_bitmap->_x = _x;

View File

@ -202,7 +202,7 @@ void FullpipeEngine::updateCursorsCommon() {
_cursorId = PIC_CSR_GOFAR_R;
return;
}
if (_mouseVirtX - _sceneRect.left < 47 && _sceneRect.left > 0 ) {
if (_mouseVirtX - _sceneRect.left < 47 && _sceneRect.left > 0) {
_cursorId = PIC_CSR_GOFAR_L;
return;
}

View File

@ -44,8 +44,8 @@ bool CInteractionController::compareInteractions(const void *p1, const void *p2)
const CInteraction *i1 = (const CInteraction *)p1;
const CInteraction *i2 = (const CInteraction *)p2;
if ( i2->_sceneId < i1->_sceneId) {
if ( i1->_sceneId != static_compSceneId)
if (i2->_sceneId < i1->_sceneId) {
if (i1->_sceneId != static_compSceneId)
return false;
}
if (i2->_sceneId != i1->_sceneId) {
@ -60,7 +60,7 @@ bool CInteractionController::compareInteractions(const void *p1, const void *p2)
goto LABEL_18;
if (i1->_objectId3 != -1 && i1->_objectId3 != -2) {
LABEL_17:
if (i2->_objectId3 != -2 )
if (i2->_objectId3 != -2)
return true;
LABEL_18:
if (i1->_objectId3 != -1)

View File

@ -386,7 +386,7 @@ bool CInventory2::unselectItem(bool flag) {
int CInventory2::getHoveredItem(Common::Point *point) {
int selId = getSelectedItemId();
if (point->y <= 20 && !_isInventoryOut && !_isLocked )
if (point->y <= 20 && !_isInventoryOut && !_isLocked)
slideOut();
if (!selId && point->y >= 55) {

View File

@ -75,7 +75,7 @@ bool CModalIntro::handleMessage(ExCommand *message) {
if (message->_messageNum != 36)
return false;
if (message->_keyCode != 13 && message->_keyCode != 27 && message->_keyCode != 32 )
if (message->_keyCode != 13 && message->_keyCode != 27 && message->_keyCode != 32)
return false;
if (_needRedraw) {

View File

@ -256,7 +256,7 @@ void StaticANIObject::queueMessageQueue(MessageQueue *mq) {
}
MessageQueue *StaticANIObject::getMessageQueue() {
if (this->_messageQueueId <= 0 )
if (this->_messageQueueId <= 0)
return 0;
return g_fullpipe->_globalMessageQueueList->getMessageQueueById(_messageQueueId);
@ -1389,7 +1389,7 @@ void Movement::loadPixelData() {
mov = i;
for (uint i = 0; i < _dynamicPhases.size(); i++) {
if ((Statics *)_dynamicPhases[i] != mov->_staticsObj2 || !(mov->_staticsObj2->_staticsId & 0x4000) )
if ((Statics *)_dynamicPhases[i] != mov->_staticsObj2 || !(mov->_staticsObj2->_staticsId & 0x4000))
((Statics *)_dynamicPhases[i])->getPixelData();
}