aboutsummaryrefslogtreecommitdiff
path: root/gob
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-05 16:37:35 +0000
committerTorbjörn Andersson2005-04-05 16:37:35 +0000
commit6ff4dff306959ca22b1bd3a5781601f3f198fc61 (patch)
treea27565489ced56a4e95e5c86f721e32a710dfcce /gob
parented131fdad1a7d614c2d7c901fdf226fc7b6c38b9 (diff)
downloadscummvm-rg350-6ff4dff306959ca22b1bd3a5781601f3f198fc61.tar.gz
scummvm-rg350-6ff4dff306959ca22b1bd3a5781601f3f198fc61.tar.bz2
scummvm-rg350-6ff4dff306959ca22b1bd3a5781601f3f198fc61.zip
Fixed some of the warnings.
svn-id: r17396
Diffstat (limited to 'gob')
-rw-r--r--gob/util.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/gob/util.cpp b/gob/util.cpp
index 581d96c7d0..12f408f3d7 100644
--- a/gob/util.cpp
+++ b/gob/util.cpp
@@ -32,25 +32,25 @@ int16 util_translateKey(int16 key) {
struct keyS {
int16 from;
int16 to;
- } static keys[] = {
- 8, 0xe08, // Backspace
- 13, 0x1C0D, // Enter
- 27, 0x11b, // ESC
- 127, 0x5300, // Del
- 273, 0x4800, // Up arrow
- 274, 0x5000, // Down arrow
- 275, 0x4D00, // Right arrow
- 276, 0x4B00, // Left arrow
- 282, 0x3b00, // F1
- 283, 0x3c00, // F2
- 284, 0x3d00, // F3
- 285, 0x3E00, // F4
- 286, 0x3F00, // F5
- 287, 0x4000, // F6
- 288, 0x4100, // F7
- 289, 0x4200, // F8
- 290, 0x4300, // F9
- 291, 0x4400 // F10
+ } keys[] = {
+ {8, 0xe08 }, // Backspace
+ {13, 0x1C0D }, // Enter
+ {27, 0x11b }, // ESC
+ {127, 0x5300}, // Del
+ {273, 0x4800}, // Up arrow
+ {274, 0x5000}, // Down arrow
+ {275, 0x4D00}, // Right arrow
+ {276, 0x4B00}, // Left arrow
+ {282, 0x3b00}, // F1
+ {283, 0x3c00}, // F2
+ {284, 0x3d00}, // F3
+ {285, 0x3E00}, // F4
+ {286, 0x3F00}, // F5
+ {287, 0x4000}, // F6
+ {288, 0x4100}, // F7
+ {289, 0x4200}, // F8
+ {290, 0x4300}, // F9
+ {291, 0x4400} // F10
};
int i;
@@ -122,9 +122,9 @@ void util_processInput() {
}
void util_getMouseState(int16 *pX, int16 *pY, int16 *pButtons) {
- int16 x = 0;
- int16 y = 0;
- int16 buttons = 0;
+// int16 x = 0;
+// int16 y = 0;
+// int16 buttons = 0;
*pX = _mouseX;
*pY = _mouseY;