Add missing mouse cursor in Elvira 2.

svn-id: r27002
This commit is contained in:
Travis Howell 2007-05-28 23:14:50 +00:00
parent 847f794b90
commit c87cf11c76

View File

@ -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;
}