mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
Whitespace changes I made while looking for the sourberry sprite bug.
svn-id: r18371
This commit is contained in:
parent
eb99ba925b
commit
ef552c8a8f
@ -1291,7 +1291,7 @@ bool Actor::getSpriteParams(CommonObjectData *commonObjectData, int &frameNumber
|
|||||||
} else {
|
} else {
|
||||||
if (validObjId(commonObjectData->id)) {
|
if (validObjId(commonObjectData->id)) {
|
||||||
spriteList = &_vm->_sprite->_mainSprites;
|
spriteList = &_vm->_sprite->_mainSprites;
|
||||||
frameNumber = commonObjectData->spriteListResourceId;
|
frameNumber = commonObjectData->spriteListResourceId;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1321,7 +1321,6 @@ void Actor::drawActors() {
|
|||||||
back_buf = _vm->_gfx->getBackBuffer();
|
back_buf = _vm->_gfx->getBackBuffer();
|
||||||
|
|
||||||
createDrawOrderList();
|
createDrawOrderList();
|
||||||
|
|
||||||
|
|
||||||
for (drawOrderIterator = _drawOrderList.begin(); drawOrderIterator != _drawOrderList.end(); ++drawOrderIterator) {
|
for (drawOrderIterator = _drawOrderList.begin(); drawOrderIterator != _drawOrderList.end(); ++drawOrderIterator) {
|
||||||
drawObject = drawOrderIterator.operator*();
|
drawObject = drawOrderIterator.operator*();
|
||||||
|
@ -399,9 +399,9 @@ void IsoMap::drawSprite(SURFACE *ds, SpriteList &spriteList, int spriteNumber, c
|
|||||||
int yAlign;
|
int yAlign;
|
||||||
const byte *spriteBuffer;
|
const byte *spriteBuffer;
|
||||||
Point spritePointer;
|
Point spritePointer;
|
||||||
Rect clip(_vm->getDisplayWidth(),_vm->getClippedSceneHeight());
|
Rect clip(_vm->getDisplayWidth(), _vm->getClippedSceneHeight());
|
||||||
|
|
||||||
_vm->_sprite->getScaledSpriteBuffer(spriteList,spriteNumber,scale, width, height, xAlign, yAlign, spriteBuffer);
|
_vm->_sprite->getScaledSpriteBuffer(spriteList, spriteNumber, scale, width, height, xAlign, yAlign, spriteBuffer);
|
||||||
|
|
||||||
spritePointer.x = screenPosition.x + xAlign;
|
spritePointer.x = screenPosition.x + xAlign;
|
||||||
spritePointer.y = screenPosition.y + yAlign;
|
spritePointer.y = screenPosition.y + yAlign;
|
||||||
|
Loading…
Reference in New Issue
Block a user