Ticket #9167: cine_inventory_cursor.patch
File cine_inventory_cursor.patch, 1.0 KB (added by , 14 years ago) |
---|
-
engines/cine/various.cpp
27 27 #include "common/endian.h" 28 28 #include "common/events.h" 29 29 30 #include "graphics/cursorman.h" 31 30 32 #include "cine/cine.h" 31 33 #include "cine/main_loop.h" 32 34 #include "cine/object.h" … … 521 523 manageEvents(); 522 524 getMouseData(mouseUpdateStatus, &button, &dummyU16, &dummyU16); 523 525 } while (button); 524 525 // TODO: Both Future Wars and Operation Stealth call showMouse, drawMouse or something similar here.526 526 } 527 527 528 528 int16 buildObjectListCommand(int16 param) { … … 624 624 if (g_cine->getGameType() == Cine::GType_OS || !(playerCommand != -1 && choiceResultTable[playerCommand] == 2)) { 625 625 if (playerCommand == 2) { 626 626 getMouseData(mouseUpdateStatus, &dummyU16, &x, &y); 627 CursorMan.showMouse(false); 627 628 processInventory(x, y + 8); 628 629 playerCommand = -1; 629 630 commandVar1 = 0; 630 631 commandBuffer = ""; 632 CursorMan.showMouse(true); 631 633 } 632 634 } 633 635