Skip to content

Commit 13c9c68

Browse files
committed
add patch for scummvm build system
1 parent 579e1a2 commit 13c9c68

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
From a4bc861696f5fdd7379acbb483801224988ed60d Mon Sep 17 00:00:00 2001
2+
From: Alyssa Milburn <[email protected]>
3+
Date: Wed, 26 May 2010 00:57:25 +0200
4+
Subject: [PATCH] add build infrastructure for unity engine
5+
6+
---
7+
base/plugins.cpp | 3 +++
8+
configure | 1 +
9+
engines/engines.mk | 5 +++++
10+
3 files changed, 9 insertions(+), 0 deletions(-)
11+
12+
diff --git a/base/plugins.cpp b/base/plugins.cpp
13+
index b1273b2..014614c 100644
14+
--- a/base/plugins.cpp
15+
+++ b/base/plugins.cpp
16+
@@ -166,6 +166,9 @@ public:
17+
#if PLUGIN_ENABLED_STATIC(TUCKER)
18+
LINK_PLUGIN(TUCKER)
19+
#endif
20+
+ #if PLUGIN_ENABLED_STATIC(UNITY)
21+
+ LINK_PLUGIN(UNITY)
22+
+ #endif
23+
24+
// Music plugins
25+
// TODO: Use defines to disable or enable each MIDI driver as a
26+
diff --git a/configure b/configure
27+
index ab33fee..cfc1868 100755
28+
--- a/configure
29+
+++ b/configure
30+
@@ -109,6 +109,7 @@ add_engine teenagent "Teen Agent" yes
31+
add_engine tinsel "Tinsel" yes
32+
add_engine touche "Touche: The Adventures of the Fifth Musketeer" yes
33+
add_engine tucker "Bud Tucker in Double Trouble" yes
34+
+add_engine unity "A Final Unity" no
35+
36+
37+
#
38+
diff --git a/engines/engines.mk b/engines/engines.mk
39+
index e542ffd..cb24b6e 100644
40+
--- a/engines/engines.mk
41+
+++ b/engines/engines.mk
42+
@@ -161,3 +161,8 @@ DEFINES += -DENABLE_TUCKER=$(ENABLE_TUCKER)
43+
MODULES += engines/tucker
44+
endif
45+
46+
+ifdef ENABLE_UNITY
47+
+DEFINES += -DENABLE_UNITY=$(ENABLE_UNITY)
48+
+MODULES += engines/unity
49+
+endif
50+
+
51+
--
52+
1.6.3.3
53+

0 commit comments

Comments
 (0)