From c87cf11c76548b953fc6b4ad13e4a69925c07704 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 28 May 2007 23:14:50 +0000 Subject: Add missing mouse cursor in Elvira 2. svn-id: r27002 --- engines/agos/cursor.cpp | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'engines/agos') 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; } -- cgit v1.2.3