aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/PalmOS/Src
diff options
context:
space:
mode:
authorChris Apers2006-09-17 10:14:11 +0000
committerChris Apers2006-09-17 10:14:11 +0000
commit8de5d496fa9a90e8fc3f0496668010fa7b9641ac (patch)
tree62b1fd95df78bc75359575d14e60316832b0003d /backends/platform/PalmOS/Src
parent8922513d9f1e0e6911613dc92b41ef9efb0a7326 (diff)
downloadscummvm-rg350-8de5d496fa9a90e8fc3f0496668010fa7b9641ac.tar.gz
scummvm-rg350-8de5d496fa9a90e8fc3f0496668010fa7b9641ac.tar.bz2
scummvm-rg350-8de5d496fa9a90e8fc3f0496668010fa7b9641ac.zip
Added more compilation options
svn-id: r23914
Diffstat (limited to 'backends/platform/PalmOS/Src')
-rw-r--r--backends/platform/PalmOS/Src/init_stuffs.cpp6
-rw-r--r--backends/platform/PalmOS/Src/prefixes/compile.h21
-rw-r--r--backends/platform/PalmOS/Src/prefixes/prefix_os5.h2
-rw-r--r--backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h2
4 files changed, 25 insertions, 6 deletions
diff --git a/backends/platform/PalmOS/Src/init_stuffs.cpp b/backends/platform/PalmOS/Src/init_stuffs.cpp
index 3b2ab9c869..33f55ae5ce 100644
--- a/backends/platform/PalmOS/Src/init_stuffs.cpp
+++ b/backends/platform/PalmOS/Src/init_stuffs.cpp
@@ -1,5 +1,9 @@
#include <PalmOS.h>
+
+#ifndef DISABLE_SONY
#include <SonyClie.h>
+#endif
+
#include <PalmNavigator.h>
#include <HsExtCommon.h>
#include <HsNavCommon.h>
@@ -127,4 +131,4 @@ void StuffsGetFeatures() {
if (!WinScreenMode(winScreenModeGetSupportedDepths, NULL, NULL, &depth, &color))
OPTIONS_SET(((depth & 0x8000) ? kOptMode16Bit : kOptNone));
-} \ No newline at end of file
+}
diff --git a/backends/platform/PalmOS/Src/prefixes/compile.h b/backends/platform/PalmOS/Src/prefixes/compile.h
index 3d929b889c..eaa7a60682 100644
--- a/backends/platform/PalmOS/Src/prefixes/compile.h
+++ b/backends/platform/PalmOS/Src/prefixes/compile.h
@@ -42,18 +42,29 @@
#define DISABLE_CINE
#define DISABLE_AGI
+// ScummVM
#define DISABLE_HQ_SCALERS
+#define DISABLE_FANCY_THEMES
+//#define CT_NO_TRANSPARENCY
+//#define REDUCE_MEMORY_USAGE
// PalmOS
+//#define STDLIB_TRACE_MEMORY
+//#define _DEBUG
+
#define PALMOS_MODE
-#define COMPILE_ZODIAC
-//#define COMPILE_OS5
+//#define COMPILE_ZODIAC
+#define COMPILE_OS5
//#define DISABLE_ADLIB
//#define DISABLE_LIGHTSPEED
-//#define DISABLE_TAPWAVE
-//#define REDUCE_MEMORY_USAGE
-//#define _DEBUG
+#ifdef COMPILE_ZODIAC
+# define DISABLE_SONY
+#endif
+
+#ifdef COMPILE_OS5
+# define DISABLE_TAPWAVE
+#endif
#endif
diff --git a/backends/platform/PalmOS/Src/prefixes/prefix_os5.h b/backends/platform/PalmOS/Src/prefixes/prefix_os5.h
index a039002840..6d84c543af 100644
--- a/backends/platform/PalmOS/Src/prefixes/prefix_os5.h
+++ b/backends/platform/PalmOS/Src/prefixes/prefix_os5.h
@@ -7,5 +7,7 @@
#define PALMOS_NATIVE
#define COMPILE_OS5
+#define DISABLE_SONY
+#define DISABLE_PA1LIB
#endif
diff --git a/backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h b/backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h
index 708166d998..49331d356f 100644
--- a/backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h
+++ b/backends/platform/PalmOS/Src/prefixes/prefix_zodiac.h
@@ -7,5 +7,7 @@
#define PALMOS_NATIVE
#define COMPILE_ZODIAC
+#define DISABLE_SONY
+#define DISABLE_PA1LIB
#endif