GOB: Change all drawing to use class Surface
svn-id: r52947
This commit is contained in:
parent
38e5060041
commit
51fd528fe5
34 changed files with 466 additions and 735 deletions
|
@ -233,9 +233,9 @@ void Goblin::drawObjects() {
|
|||
if (objDesc->toRedraw == 0)
|
||||
continue;
|
||||
|
||||
_vm->_video->drawSprite(*_vm->_mult->_animSurf, *_vm->_draw->_backSurface,
|
||||
_vm->_draw->_backSurface->blit(*_vm->_mult->_animSurf,
|
||||
objDesc->left, objDesc->top, objDesc->right,
|
||||
objDesc->bottom, objDesc->left, objDesc->top, 0);
|
||||
objDesc->bottom, objDesc->left, objDesc->top);
|
||||
|
||||
_vm->_draw->invalidateRect(objDesc->left, objDesc->top,
|
||||
objDesc->right, objDesc->bottom);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue