aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/switches.inc
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 13:37:02 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-02-05 13:37:02 +0000
commiteafa73ec3181ed45a8a6fdea8ef64fc9a1e867b3 (patch)
tree0a84e7f3c893151e3782fe2f676fa2f7f82cacf8 /Game/Code/switches.inc
parent059d0bf5aa52228b3d968b21597546f6ddb5a967 (diff)
downloadusdx-eafa73ec3181ed45a8a6fdea8ef64fc9a1e867b3.tar.gz
usdx-eafa73ec3181ed45a8a6fdea8ef64fc9a1e867b3.tar.xz
usdx-eafa73ec3181ed45a8a6fdea8ef64fc9a1e867b3.zip
Introduction of config-file mechanism.
For now just the windows version. Linux and MacOSX later. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@813 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/switches.inc')
-rw-r--r--Game/Code/switches.inc11
1 files changed, 8 insertions, 3 deletions
diff --git a/Game/Code/switches.inc b/Game/Code/switches.inc
index fc21a373..29828712 100644
--- a/Game/Code/switches.inc
+++ b/Game/Code/switches.inc
@@ -32,6 +32,8 @@
{$IFDEF win32}
+ {$I config-win.inc}
+
{$DEFINE UseBASSPlayback}
{$DEFINE UseBASSInput}
@@ -39,9 +41,12 @@
//{$DEFINE UsePortaudioPlayback}
//{$DEFINE UsePortaudioInput}
//{$DEFINE UsePortmixer}
-
- {$DEFINE UseProjectM_0_9}
- //{$DEFINE UseProjectM_1_0}
+
+ {$IF Defined(HaveProjectM_0_9)}
+ {$DEFINE UseProjectM_0_9}
+ {$ELSEIF Defined(HaveProjectM_1_0_PLUS)}
+ {$DEFINE UseProjectM_1_0}
+ {$IFEND}
{$IFDEF DEBUG}
{$IFNDEF DARWIN}