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
|
@ -238,7 +238,7 @@ bool Inter_v6::o6_loadCursor(OpFuncParams ¶ms) {
|
|||
props.lastFrame = i;
|
||||
|
||||
_vm->_vidPlayer->play(vmdSlot, props);
|
||||
_vm->_vidPlayer->copyFrame(vmdSlot, _vm->_draw->_cursorSprites->getVidMem(),
|
||||
_vm->_vidPlayer->copyFrame(vmdSlot, _vm->_draw->_cursorSprites->getData(),
|
||||
0, 0, _vm->_draw->_cursorWidth, _vm->_draw->_cursorWidth,
|
||||
(start + i) * _vm->_draw->_cursorWidth, 0,
|
||||
_vm->_draw->_cursorSprites->getWidth());
|
||||
|
@ -262,8 +262,7 @@ bool Inter_v6::o6_loadCursor(OpFuncParams ¶ms) {
|
|||
if (!resource)
|
||||
return false;
|
||||
|
||||
_vm->_video->fillRect(*_vm->_draw->_cursorSprites,
|
||||
index * _vm->_draw->_cursorWidth, 0,
|
||||
_vm->_draw->_cursorSprites->fillRect(index * _vm->_draw->_cursorWidth, 0,
|
||||
index * _vm->_draw->_cursorWidth + _vm->_draw->_cursorWidth - 1,
|
||||
_vm->_draw->_cursorHeight - 1, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue