aboutsummaryrefslogtreecommitdiff
path: root/engines/prince
diff options
context:
space:
mode:
authorlukaslw2014-05-31 23:24:36 +0200
committerlukaslw2014-06-22 20:08:30 +0200
commit9933505bf5ed72894bfa696ae5b2d4085dc1c242 (patch)
treec7f53e65a830b9e247e1b7b9a6501e0995f72e6d /engines/prince
parent0c798b234ec66abc1adc03c5662b7264551e8626 (diff)
downloadscummvm-rg350-9933505bf5ed72894bfa696ae5b2d4085dc1c242.tar.gz
scummvm-rg350-9933505bf5ed72894bfa696ae5b2d4085dc1c242.tar.bz2
scummvm-rg350-9933505bf5ed72894bfa696ae5b2d4085dc1c242.zip
PRINCE: Mask struct - functions change
Diffstat (limited to 'engines/prince')
-rw-r--r--engines/prince/prince.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/prince/prince.h b/engines/prince/prince.h
index 6747f5cab9..443a5bd148 100644
--- a/engines/prince/prince.h
+++ b/engines/prince/prince.h
@@ -156,22 +156,22 @@ struct Mask {
int16 _height;
byte *_data;
- int16 Mask::getX() const {
+ int16 getX() const {
return READ_LE_UINT16(_data);
}
- int16 Mask::getY() const {
+ int16 getY() const {
return READ_LE_UINT16(_data + 2);
}
- int16 Mask::getWidth() const {
+ int16 getWidth() const {
return READ_LE_UINT16(_data + 4);
}
- int16 Mask::getHeight() const {
+ int16 getHeight() const {
return READ_LE_UINT16(_data + 6);
}
- byte *Mask::getMask() const {
+ byte *getMask() const {
return (byte *)(_data + 8);
}
};