From 8de5d496fa9a90e8fc3f0496668010fa7b9641ac Mon Sep 17 00:00:00 2001 From: Chris Apers Date: Sun, 17 Sep 2006 10:14:11 +0000 Subject: Added more compilation options svn-id: r23914 --- backends/platform/PalmOS/Src/init_stuffs.cpp | 6 +++++- backends/platform/PalmOS/Src/prefixes/compile.h | 21 ++++++++++++++++----- backends/platform/PalmOS/Src/prefixes/prefix_os5.h | 2 ++ .../platform/PalmOS/Src/prefixes/prefix_zodiac.h | 2 ++ 4 files changed, 25 insertions(+), 6 deletions(-) (limited to 'backends') 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 + +#ifndef DISABLE_SONY #include +#endif + #include #include #include @@ -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 -- cgit v1.2.3