mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 07:53:36 +00:00
ULTIMA: Fix some unused variable warnings
This commit is contained in:
parent
5892b8c05d
commit
cf859e68f9
@ -257,10 +257,10 @@ Obj *ContainerWidget::get_obj_at_location(int x, int y) {
|
||||
}
|
||||
|
||||
// change container, ready/unready object, activate arrows
|
||||
GUI_status ContainerWidget::MouseUp(int x, int y, Shared::MouseButton button) {
|
||||
GUI_status ContainerWidget::MouseUp(int /*x*/, int /*y*/, Shared::MouseButton button) {
|
||||
if (button == USE_BUTTON) {
|
||||
x -= area.left;
|
||||
y -= area.top;
|
||||
//x -= area.left;
|
||||
//y -= area.top;
|
||||
|
||||
if (selected_obj) {
|
||||
// only act now if objects can't be used with DoubleClick
|
||||
@ -421,12 +421,12 @@ bool ContainerWidget::drag_accept_drop(int x, int y, int message, void *data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void ContainerWidget::drag_perform_drop(int x, int y, int message, void *data) {
|
||||
void ContainerWidget::drag_perform_drop(int /*x*/, int /*y*/, int message, void *data) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "ContainerWidget::drag_perform_drop()\n");
|
||||
Obj *obj;
|
||||
|
||||
x -= area.left;
|
||||
y -= area.top;
|
||||
//x -= area.left;
|
||||
//y -= area.top;
|
||||
|
||||
if (message == GUI_DRAG_OBJ) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "Drop into inventory.\n");
|
||||
|
@ -476,12 +476,12 @@ bool DollWidget::drag_accept_drop(int x, int y, int message, void *data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void DollWidget::drag_perform_drop(int x, int y, int message, void *data) {
|
||||
void DollWidget::drag_perform_drop(int /*x*/, int /*y*/, int message, void *data) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "DollWidget::drag_perform_drop()\n");
|
||||
Obj *obj;
|
||||
|
||||
x -= area.left;
|
||||
y -= area.top;
|
||||
//x -= area.left;
|
||||
//y -= area.top;
|
||||
|
||||
if (message == GUI_DRAG_OBJ) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "Ready item.\n");
|
||||
|
@ -562,12 +562,12 @@ bool InventoryWidget::drag_accept_drop(int x, int y, int message, void *data) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void InventoryWidget::drag_perform_drop(int x, int y, int message, void *data) {
|
||||
void InventoryWidget::drag_perform_drop(int /*x*/, int /*y*/, int message, void *data) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "InventoryWidget::drag_perform_drop()\n");
|
||||
Obj *obj;
|
||||
|
||||
x -= area.left;
|
||||
y -= area.top;
|
||||
//x -= area.left;
|
||||
//y -= area.top;
|
||||
|
||||
if (message == GUI_DRAG_OBJ) {
|
||||
DEBUG(0, LEVEL_DEBUGGING, "Drop into inventory.\n");
|
||||
|
@ -117,6 +117,8 @@ bool MapLoader::loadData(Map *map, Common::SeekableReadStream &f) {
|
||||
}
|
||||
}
|
||||
|
||||
debug(10, "MapLoader::loadData translation took %d ms", total);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user