aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2007-05-28 23:14:50 +0000
committerTravis Howell2007-05-28 23:14:50 +0000
commitc87cf11c76548b953fc6b4ad13e4a69925c07704 (patch)
treeb892ad27624db9f541b91ac66c95903502786bec /engines/agos
parent847f794b90dc8f3ace434f64e912b01e36f2831f (diff)
downloadscummvm-rg350-c87cf11c76548b953fc6b4ad13e4a69925c07704.tar.gz
scummvm-rg350-c87cf11c76548b953fc6b4ad13e4a69925c07704.tar.bz2
scummvm-rg350-c87cf11c76548b953fc6b4ad13e4a69925c07704.zip
Add missing mouse cursor in Elvira 2.
svn-id: r27002
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/cursor.cpp25
1 files changed, 16 insertions, 9 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp
index 77d811dbd7..90be977661 100644
--- a/engines/agos/cursor.cpp
+++ b/engines/agos/cursor.cpp
@@ -39,18 +39,25 @@ static const uint16 _common_mouseInfo[32] = {
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
};
-static const uint16 _common_shieldInfo[32] = {
+static const uint16 _common_handInfo[32] = {
+ 0x01C0, 0x01C0, 0x07F0, 0x0770, 0x07F0, 0x0550, 0x07FC, 0x055C,
+ 0x07FC, 0x0554, 0x3FFC, 0x3D54, 0x3FFC, 0x2554, 0x3FFE, 0x2402,
+ 0x1FFC, 0x1204, 0x1FFC, 0x1004, 0x0FF8, 0x0808, 0x07F8, 0x0408,
+ 0x03F8, 0x03F8, 0x03F8, 0x0208, 0x03F8, 0x03F8, 0x0000, 0x0000
+};
+
+static const uint16 _common_shieldInfo1[32] = {
0x0000, 0x0000, 0x2184, 0x2004, 0x33CC, 0x300C, 0x3FFC, 0x3E7C,
0x3FFC, 0x3E7C, 0x3FFC, 0x3E7C, 0x3FFC, 0x0000, 0x3FFC, 0x3E7C,
0x3FFC, 0x3E7C, 0x1FF8, 0x1E78, 0x1FF8, 0x1E78, 0x0FF0, 0x0E70,
0x07E0, 0x0660, 0x03C0, 0x0240, 0x0180, 0x0000, 0x0000, 0x0000
};
-static const uint16 _common_handInfo[32] = {
- 0x01C0, 0x01C0, 0x07F0, 0x0770, 0x07F0, 0x0550, 0x07FC, 0x055C,
- 0x07FC, 0x0554, 0x3FFC, 0x3D54, 0x3FFC, 0x2554, 0x3FFE, 0x2402,
- 0x1FFC, 0x1204, 0x1FFC, 0x1004, 0x0FF8, 0x0808, 0x07F8, 0x0408,
- 0x03F8, 0x03F8, 0x03F8, 0x0208, 0x03F8, 0x03F8, 0x0000, 0x0000
+static const uint16 _common_shieldInfo2[32] = {
+ 0x0000, 0x0000, 0x2184, 0x2004, 0x33CC, 0x300C, 0x3FFC, 0x3E7C,
+ 0x3FFC, 0x2004, 0x3FFC, 0x2004, 0x3FFC, 0x0000, 0x3FFC, 0x2000,
+ 0x3FFC, 0x2004, 0x1FF8, 0x1008, 0x1FF8, 0x1008, 0x0FF0, 0x0810,
+ 0x07E0, 0x0420, 0x03C0, 0x0240, 0x0180, 0x0000, 0x0000, 0x0000,
};
static const uint16 _common_swordInfo1[32] = {
@@ -692,9 +699,9 @@ void AGOSEngine::drawMousePointer() {
if (_mouseCursor == 0) {
src = _common_mouseInfo;
} else if (_mouseCursor == 1) {
- src = _common_shieldInfo;
+ src = _common_shieldInfo1;
} else if (_mouseCursor == 2) {
- src = _common_handInfo;
+ src = _common_shieldInfo2;
} else if (_mouseCursor == 3) {
src = _common_swordInfo1;
} else if (_mouseCursor == 4) {
@@ -712,7 +719,7 @@ void AGOSEngine::drawMousePointer() {
if (_mouseCursor == 0) {
src = _common_mouseInfo;
} else if (_mouseCursor == 1) {
- src = _common_shieldInfo;
+ src = _common_shieldInfo1;
} else {
src = _common_swordInfo1;
}