aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/motion.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 17:56:53 +0100
committerMartin Kiewitz2016-01-31 17:56:53 +0100
commit4bc01ab7d585f6be9d25a96ce9544b95f459d7e6 (patch)
tree61ec416cb1bb767838a3516825a209018ec12619 /engines/agi/motion.cpp
parent82b958f274affa9d67de0ac2f8cfaa1756405dfb (diff)
downloadscummvm-rg350-4bc01ab7d585f6be9d25a96ce9544b95f459d7e6.tar.gz
scummvm-rg350-4bc01ab7d585f6be9d25a96ce9544b95f459d7e6.tar.bz2
scummvm-rg350-4bc01ab7d585f6be9d25a96ce9544b95f459d7e6.zip
AGI: getflag/setflag/etc. cleanup
renamed getflag() to getFlag() renamed setflag() to setFlag() renamed flipflag() to flipFlag() preagi: renamed setFlag for this engine to setWinnieFlag
Diffstat (limited to 'engines/agi/motion.cpp')
-rw-r--r--engines/agi/motion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/motion.cpp b/engines/agi/motion.cpp
index 76f0f91f51..ad6f6cb6b7 100644
--- a/engines/agi/motion.cpp
+++ b/engines/agi/motion.cpp
@@ -98,7 +98,7 @@ void AgiEngine::motionFollowEgo(ScreenObjEntry *screenObj) {
if (dir == 0) {
screenObj->direction = 0;
screenObj->motionType = kMotionNormal;
- setflag(screenObj->follow_flag, true);
+ setFlag(screenObj->follow_flag, true);
return;
}
@@ -200,7 +200,7 @@ void AgiEngine::checkAllMotions() {
void AgiEngine::inDestination(ScreenObjEntry *screenObj) {
if (screenObj->motionType == kMotionMoveObj) {
screenObj->stepSize = screenObj->move_stepSize;
- setflag(screenObj->move_flag, true);
+ setFlag(screenObj->move_flag, true);
}
screenObj->motionType = kMotionNormal;
if (isEgoView(screenObj))
@@ -213,7 +213,7 @@ void AgiEngine::motionMoveObjStop(ScreenObjEntry *screenObj) {
// This check for motionType was only done in AGI3.
// But we use this motion type for mouse movement, so we need to check in any case, otherwise it will cause glitches.
if (screenObj->motionType != kMotionEgo) {
- setflag(screenObj->move_flag, true);
+ setFlag(screenObj->move_flag, true);
}
screenObj->motionType = kMotionNormal;