diff options
Diffstat (limited to 'scumm/script_v100he.cpp')
-rw-r--r-- | scumm/script_v100he.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/scumm/script_v100he.cpp b/scumm/script_v100he.cpp index b12ea02d9a..64ac36bd1c 100644 --- a/scumm/script_v100he.cpp +++ b/scumm/script_v100he.cpp @@ -1033,16 +1033,16 @@ void ScummEngine_v100he::o100_setSpriteGroupInfo() { switch (type) { case 0: - _sprite->setGroupScale_x_ratio_mul(_curSpriteGroupId, value1); + _sprite->setGroupXMul(_curSpriteGroupId, value1); break; case 1: - _sprite->setGroupScale_x_ratio_div(_curSpriteGroupId, value1); + _sprite->setGroupXDiv(_curSpriteGroupId, value1); break; case 2: - _sprite->setGroupScale_y_ratio_mul(_curSpriteGroupId, value1); + _sprite->setGroupYMul(_curSpriteGroupId, value1); break; case 3: - _sprite->setGroupScale_y_ratio_div(_curSpriteGroupId, value1); + _sprite->setGroupYDiv(_curSpriteGroupId, value1); break; default: error("o100_setSpriteGroupInfo subOp 60: Unknown case %d", subOp); @@ -2396,16 +2396,16 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() { if (spriteGroupId) { switch(type) { case 0: - push(_sprite->getGroupScale_x_ratio_mul(spriteGroupId)); + push(_sprite->getGroupXMul(spriteGroupId)); break; case 1: - push(_sprite->getGroupScale_x_ratio_div(spriteGroupId)); + push(_sprite->getGroupXDiv(spriteGroupId)); break; case 2: - push(_sprite->getGroupScale_y_ratio_mul(spriteGroupId)); + push(_sprite->getGroupYMul(spriteGroupId)); break; case 3: - push(_sprite->getGroupScale_y_ratio_div(spriteGroupId)); + push(_sprite->getGroupYDiv(spriteGroupId)); break; default: push(0); @@ -2417,7 +2417,7 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() { case 85: spriteGroupId = pop(); if (spriteGroupId) { - _sprite->getGrouptx_ty(spriteGroupId, tx, ty); + _sprite->getGroupPosition(spriteGroupId, tx, ty); push(tx); } else { push(0); @@ -2426,7 +2426,7 @@ void ScummEngine_v100he::o100_getSpriteGroupInfo() { case 86: spriteGroupId = pop(); if (spriteGroupId) { - _sprite->getGrouptx_ty(spriteGroupId, tx, ty); + _sprite->getGroupPosition(spriteGroupId, tx, ty); push(ty); } else { push(0); |