aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker/tucker.h
diff options
context:
space:
mode:
authorStrangerke2014-03-09 11:30:27 +0100
committerStrangerke2014-03-09 11:30:27 +0100
commit369b2c18be7f6bf4eacd04744caf02021bbce7f3 (patch)
tree589677d2b59837bf717210891f2b0fd7254708a5 /engines/tucker/tucker.h
parente4cbc67493d9e596f1cd455619f81f529989ba5f (diff)
downloadscummvm-rg350-369b2c18be7f6bf4eacd04744caf02021bbce7f3.tar.gz
scummvm-rg350-369b2c18be7f6bf4eacd04744caf02021bbce7f3.tar.bz2
scummvm-rg350-369b2c18be7f6bf4eacd04744caf02021bbce7f3.zip
TUCKER: Some more refactoring
Diffstat (limited to 'engines/tucker/tucker.h')
-rw-r--r--engines/tucker/tucker.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/tucker/tucker.h b/engines/tucker/tucker.h
index 86f38fcae4..013f023987 100644
--- a/engines/tucker/tucker.h
+++ b/engines/tucker/tucker.h
@@ -356,7 +356,7 @@ protected:
void drawCreditsString(int x, int y, int num);
void updateCharSpeechSound(bool displayText);
void updateItemsGfxColors(int bit0, int bit7);
- int testLocationMask(int x, int y);
+ bool testLocationMask(int x, int y);
int getStringWidth(int num, const uint8 *ptr);
int getPositionForLine(int num, const uint8 *ptr);
void resetCharacterAnimationIndex(int count);
@@ -369,7 +369,7 @@ protected:
int getObjectUnderCursor();
void setSelectedObjectKey();
void setCharacterAnimation(int count, int spr);
- int testLocationMaskArea(int xBase, int yBase, int xPos, int yPos);
+ bool testLocationMaskArea(int xBase, int yBase, int xPos, int yPos);
void handleMouseClickOnInventoryObject();
int setCharacterUnderCursor();
int setLocationAnimationUnderCursor();
@@ -745,7 +745,7 @@ protected:
int _actionVerbLocked;
int _actionPosX;
int _actionPosY;
- int _selectedObjectLocationMask;
+ bool _selectedObjectLocationMask;
struct {
int _xDefaultPos;
int _yDefaultPos;