summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-01-08 14:33:32 +0000
committerpeter1138 <peter1138@openttd.org>2009-01-08 14:33:32 +0000
commit5a430c3e6b7b61b889d11d908e3b9ad71e772090 (patch)
tree3bdb50e2a758c043c7386584bd3e71d20a66cdd9
parent85c0d42616d4ee1bb9d9b978e440a9a966fc5592 (diff)
downloadopenttd-5a430c3e6b7b61b889d11d908e3b9ad71e772090.tar.xz
(svn r14913) -Codechange: (Well, Buildchange:) Don't include unnecessary blitters or drivers when built as dedicated-only.
-rw-r--r--source.list20
1 files changed, 16 insertions, 4 deletions
diff --git a/source.list b/source.list
index 92a7172fd..60a6e1ecf 100644
--- a/source.list
+++ b/source.list
@@ -523,6 +523,8 @@ ai/trolly/shared.cpp
ai/trolly/trolly.cpp
# Blitters
+#if DEDICATED
+#else
blitter/32bpp_anim.cpp
blitter/32bpp_anim.hpp
blitter/32bpp_base.cpp
@@ -539,6 +541,7 @@ blitter/8bpp_optimized.cpp
blitter/8bpp_optimized.hpp
blitter/8bpp_simple.cpp
blitter/8bpp_simple.hpp
+#end
blitter/base.hpp
blitter/factory.hpp
blitter/null.cpp
@@ -644,11 +647,13 @@ yapf/yapf_road.cpp
yapf/yapf_ship.cpp
# Video
+video/dedicated_v.cpp
+video/null_v.cpp
+#if DEDICATED
+#else
#if ALLEGRO
video/allegro_v.cpp
#end
-video/dedicated_v.cpp
-video/null_v.cpp
#if SDL
video/sdl_v.cpp
#end
@@ -658,15 +663,18 @@ video/null_v.cpp
#if WINCE
video/win32_v.cpp
#end
+#end
# Music
+music/null_m.cpp
+#if DEDICATED
+#else
#if ALLEGRO
music/allegro_m.cpp
#end
#if DIRECTMUSIC
music/dmusic.cpp
#end
-music/null_m.cpp
#if WIN32
music/win32_m.cpp
#else
@@ -687,18 +695,22 @@ music/null_m.cpp
#if LIBTIMIDITY
music/libtimidity.cpp
#end
+#end
# Sound
+sound/null_s.cpp
+#if DEDICATED
+#else
#if ALLEGRO
sound/allegro_s.cpp
#end
-sound/null_s.cpp
#if SDL
sound/sdl_s.cpp
#end
#if WIN32
sound/win32_s.cpp
#end
+#end
#if OSX
# OSX Files