aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2004-12-10 15:10:10 +0000
committerChris Apers2004-12-10 15:10:10 +0000
commite1458ca1ff6ddb20c0a4fe5fac296ffd91fef7a1 (patch)
treeaeb6edc0f1fefde482a06c894367e0fcd1ac7fb6
parenta446a90e2cd00c0b81b6a9f6dde8747c9954fe13 (diff)
downloadscummvm-rg350-e1458ca1ff6ddb20c0a4fe5fac296ffd91fef7a1.tar.gz
scummvm-rg350-e1458ca1ff6ddb20c0a4fe5fac296ffd91fef7a1.tar.bz2
scummvm-rg350-e1458ca1ff6ddb20c0a4fe5fac296ffd91fef7a1.zip
PalmOS stuffs
svn-id: r16011
-rw-r--r--sword1/control.cpp2
-rw-r--r--sword1/credits.cpp2
-rw-r--r--sword1/sword1.cpp4
3 files changed, 4 insertions, 4 deletions
diff --git a/sword1/control.cpp b/sword1/control.cpp
index db86a88e0d..c6f68f5324 100644
--- a/sword1/control.cpp
+++ b/sword1/control.cpp
@@ -1009,7 +1009,7 @@ void Control::delay(uint32 msecs) {
case OSystem::EVENT_LBUTTONDOWN:
_mouseDown = true;
_mouseState |= BS1L_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif
diff --git a/sword1/credits.cpp b/sword1/credits.cpp
index 4e55d75556..7b4c255c50 100644
--- a/sword1/credits.cpp
+++ b/sword1/credits.cpp
@@ -20,7 +20,7 @@
*/
#include "stdafx.h"
-#include "credits.h"
+#include "sword1/credits.h"
#include "screen.h"
#include "common/file.h"
#include "sound/mixer.h"
diff --git a/sword1/sword1.cpp b/sword1/sword1.cpp
index 1adeeb66ef..15ccf7614c 100644
--- a/sword1/sword1.cpp
+++ b/sword1/sword1.cpp
@@ -449,14 +449,14 @@ void SwordEngine::delay(int32 amount) { //copied and mutilated from sky.cpp
break;
case OSystem::EVENT_LBUTTONDOWN:
_mouseState |= BS1L_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif
break;
case OSystem::EVENT_RBUTTONDOWN:
_mouseState |= BS1R_BUTTON_DOWN;
-#ifdef _WIN32_WCE
+#if defined(_WIN32_WCE) || defined(__PALM_OS__)
_mouseX = event.mouse.x;
_mouseY = event.mouse.y;
#endif