aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-04-25 11:01:44 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-04-25 11:01:44 +0000
commit9fa59137988efd04939a86183c0369d4746b0716 (patch)
treea3ba9756e2f95eb3b02436c67a12d20f6fd5513c /games
parentcc6b37f80ccd54d680eaaf5a6875cd6ad99d1218 (diff)
downloadports-9fa59137988efd04939a86183c0369d4746b0716.tar.gz
ports-9fa59137988efd04939a86183c0369d4746b0716.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/battletanks/Makefile49
-rw-r--r--games/battletanks/distinfo6
-rw-r--r--games/battletanks/files/patch-Install41
-rw-r--r--games/battletanks/files/patch-SConstruct33
-rw-r--r--games/battletanks/files/patch-clunk-SConscript24
-rw-r--r--games/battletanks/files/patch-engine-SConscript (renamed from games/battletanks/files/patch-SConscript)12
-rw-r--r--games/battletanks/files/patch-engine_net_monitor.cpp (renamed from games/battletanks/files/patch-net_monitor.cpp)6
-rw-r--r--games/battletanks/files/patch-engine_net_scanner.cpp10
-rw-r--r--games/battletanks/files/patch-net_scanner.cpp10
-rw-r--r--games/battletanks/pkg-plist428
10 files changed, 134 insertions, 485 deletions
diff --git a/games/battletanks/Makefile b/games/battletanks/Makefile
index d256b3d2ce1c..82666c2c7f8a 100644
--- a/games/battletanks/Makefile
+++ b/games/battletanks/Makefile
@@ -6,49 +6,56 @@
#
PORTNAME= btanks
-PORTVERSION= 0.7.5800
-PORTREVISION= 5
+PORTVERSION= 0.9.8083
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/${PORTNAME}-source-${PORTVERSION}
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-source/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Fast 2D tank arcade game with multiplayer and split-screen modes
+BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS= sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 \
expat.6:${PORTSDIR}/textproc/expat2 \
- vorbisfile.6:${PORTSDIR}/audio/libvorbis
+ vorbisfile.6:${PORTSDIR}/audio/libvorbis \
+ smpeg.1:${PORTSDIR}/multimedia/smpeg
USE_BZIP2= yes
USE_LDCONFIG= yes
USE_OPENAL= al
+USE_GCC= 4.3+
+USE_LUA= 5.0+
USE_SCONS= yes
USE_SDL= image sdl
-SCONS_BUILDENV= ${SCONS_ENV} LDFLAGS=${PTHREAD_LIBS}
SCONS_ARGS= prefix=${PREFIX} resources_dir=${DATADIR}
-PORTDOCS= *
+SCONS_BUILDENV+=CC="${CC}" \
+ CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ LDFLAGS="${LDFLAGS} ${PTHREAD_LIBS}" \
+ CPPPATH="${LOCALBASE}/include" \
+ LIBPATH="${LOCALBASE}/lib"
+
+PORTDOCS= LICENSE LICENSE.EXCEPTION README-en.txt README-linux.txt \
+ donate.url homepage.url project_page.url video.txt
-OPTIONS= LUA "Build with Lua scripting support" off
+DESKTOP_ENTRIES="Battle Tanks" "${COMMENT}" "" "btanks" "Application;Game;" false
.include <bsd.port.pre.mk>
-.if defined(WITH_LUA)
-USE_LUA= 5.0+
-.else
-SCONS_ARGS+= enable_lua=false
+.if ${OSVERSION} < 700000
+SCONS_ARGS+= gcc_visibility=false
.endif
-DESKTOP_ENTRIES="Battle Tanks" "${COMMENT}" "" "bt" "Application;Game;" false
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bt ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/*[^s].so ${PREFIX}/lib
- @${MKDIR} ${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/libbt_objects.so ${DATADIR}
- (cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR})
+post-install:
+ @${INSTALL_DATA} ${WRKSRC}/build/release/clunk/libclunk.so ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/release/engine/libbtanks_engine.so ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/release/mrt/libmrt.so ${PREFIX}/lib
+ @${INSTALL_DATA} ${WRKSRC}/build/release/sdlx/libsdlx.so ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README-en.txt ${DOCSDIR}/README
- ${INSTALL_DATA} ${WRKSRC}/*.url ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
.endif
.include <bsd.port.post.mk>
diff --git a/games/battletanks/distinfo b/games/battletanks/distinfo
index bc050223bbcd..cc865efa3990 100644
--- a/games/battletanks/distinfo
+++ b/games/battletanks/distinfo
@@ -1,3 +1,3 @@
-MD5 (btanks-0.7.5800.tar.bz2) = 538eadf2b78897620f3ef683a4ea423a
-SHA256 (btanks-0.7.5800.tar.bz2) = 1c82a2a1d1acd9bba7498be6623ad94a05783aba23fb0ac84330049a02107c2f
-SIZE (btanks-0.7.5800.tar.bz2) = 56610996
+MD5 (btanks-0.9.8083.tar.bz2) = 49cb95c0eec47d3436c4fdf65e7c9d12
+SHA256 (btanks-0.9.8083.tar.bz2) = 3fd2ce6a2b45f7a60c3b114fa9aff13cb3dd9fbb6a65cdc9798b76c4fa2c4341
+SIZE (btanks-0.9.8083.tar.bz2) = 28754069
diff --git a/games/battletanks/files/patch-Install b/games/battletanks/files/patch-Install
new file mode 100644
index 000000000000..23c260784de7
--- /dev/null
+++ b/games/battletanks/files/patch-Install
@@ -0,0 +1,41 @@
+--- engine/SConscript.orig 2010-01-18 22:21:36.000000000 +0100
++++ engine/SConscript 2010-01-18 22:22:58.000000000 +0100
+@@ -116,7 +116,7 @@
+ if sys.platform != 'win32' and len(env['prefix']) > 0:
+ Import('install_targets')
+ Import('lib_dir')
+- install_targets.append(Install(lib_dir, bt))
++# install_targets.append(Install(lib_dir, bt))
+ else:
+ Install('#', bt[0])
+
+--- clunk/SConscript.orig 2010-01-18 22:21:36.000000000 +0100
++++ clunk/SConscript 2010-01-18 22:23:41.000000000 +0100
+@@ -33,6 +33,6 @@
+ if sys.platform != 'win32' and len(env['prefix']) > 0:
+ Import('install_targets')
+ Import('lib_dir')
+- install_targets.append(Install(lib_dir, clunk))
++# install_targets.append(Install(lib_dir, clunk))
+ else:
+ Install('#', clunk[0])
+--- mrt/SConscript.orig 2008-08-05 09:48:12.000000000 +0200
++++ mrt/SConscript 2010-01-18 22:23:18.000000000 +0100
+@@ -23,6 +23,6 @@
+ if sys.platform != 'win32' and env.has_key('prefix') and len(env['prefix']) > 0:
+ Import('install_targets')
+ Import('lib_dir')
+- install_targets.append(Install(lib_dir, mrt))
++# install_targets.append(Install(lib_dir, mrt))
+ else:
+ Install('#', mrt[0])
+--- sdlx/SConscript.orig 2010-01-18 22:21:36.000000000 +0100
++++ sdlx/SConscript 2010-01-18 22:25:42.000000000 +0100
+@@ -57,6 +57,6 @@
+ if sys.platform != 'win32' and len(env['prefix']) > 0:
+ Import('install_targets')
+ Import('lib_dir')
+- install_targets.append(Install(lib_dir, sdlx))
++# install_targets.append(Install(lib_dir, sdlx))
+ else:
+ Install('#', sdlx[0])
diff --git a/games/battletanks/files/patch-SConstruct b/games/battletanks/files/patch-SConstruct
index b8a28c6939bd..ba0ba750eead 100644
--- a/games/battletanks/files/patch-SConstruct
+++ b/games/battletanks/files/patch-SConstruct
@@ -1,30 +1,21 @@
---- SConstruct.orig 2007-12-21 19:45:15.000000000 +0600
-+++ SConstruct 2008-03-27 04:41:37.000000000 +0600
-@@ -1,7 +1,7 @@
- import os, sys
-
- #builder for static libraries
--env = Environment()
-+env = Environment(ENV = os.environ)
-
- picLibBuilder = Builder(
- action = Action('$ARCOM'),
-@@ -53,6 +53,8 @@
+--- SConstruct.orig 2009-12-10 15:58:55.000000000 +0100
++++ SConstruct 2010-01-16 17:07:22.000000000 +0100
+@@ -57,6 +57,8 @@
env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS'])
if os.environ.has_key('LDFLAGS'):
env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS'])
+if os.environ.has_key('CPPPATH'):
+ env['CPPPATH'] = os.environ['CPPPATH'].split()
- if (env['gcc_visibility']):
- env.Append(CCFLAGS=' -fvisibility-inlines-hidden -fvisibility=hidden -DGCC_HASCLASSVISIBILITY ')
-@@ -97,9 +99,6 @@
+ if (sys.platform != "win32" and env['gcc_visibility']):
+ env.Append(CCFLAGS=['-fvisibility=hidden', '-DGCC_HASCLASSVISIBILITY'])
+@@ -98,9 +100,6 @@
if debug:
- env.Append(CCFLAGS='-ggdb ')
- env.Append(CPPFLAGS='-ggdb ')
+ env.Append(CCFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
+ env.Append(CPPFLAGS=['-ggdb', '-D_FORTIFY_SOURCE=2'])
- else:
-- env.Append(CCFLAGS='-O3 ')
-- env.Append(CPPFLAGS='-O3 ')
+- env.Append(CCFLAGS=['-O3'])
+- env.Append(CPPFLAGS=['-O3'])
- al_lib = 'openal'
- env.Append(CPPFLAGS=' -Wall -pedantic -Wno-long-long -pipe -pthread ')
+ env.Append(CPPFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
+ env.Append(CCFLAGS=['-Wall', '-Wno-deprecated', '-pedantic', '-Wno-long-long', '-pipe', '-pthread'])
diff --git a/games/battletanks/files/patch-clunk-SConscript b/games/battletanks/files/patch-clunk-SConscript
new file mode 100644
index 000000000000..8729e59a7897
--- /dev/null
+++ b/games/battletanks/files/patch-clunk-SConscript
@@ -0,0 +1,24 @@
+--- clunk/SConscript.orig 2009-07-14 19:35:56.000000000 +0200
++++ clunk/SConscript 2010-01-16 16:16:31.000000000 +0100
+@@ -10,8 +10,8 @@
+ env.Append(CPPPATH=['..', '.'])
+ env.Append(LIBPATH=['.'])
+ env.Append(CPPDEFINES=['CLUNKAPI=DLLEXPORT'])
+-if have_sse:
+- env.Append(CPPDEFINES=['USE_SIMD'])
++#if have_sse:
++# env.Append(CPPDEFINES=['USE_SIMD'])
+
+ clunk_libs = ['SDL']
+
+@@ -25,8 +25,8 @@
+ 'context.cpp', 'sample.cpp', 'object.cpp', 'source.cpp', 'sdl_ex.cpp', 'stream.cpp',
+ 'kemar.c', 'buffer.cpp', 'distance_model.cpp', 'logger.cpp', 'clunk_ex.cpp', ]
+
+-if have_sse:
+- clunk_src.append('sse_fft_context.cpp')
++#if have_sse:
++# clunk_src.append('sse_fft_context.cpp')
+
+ clunk = env.SharedLibrary('clunk', clunk_src, LIBS=clunk_libs)
+
diff --git a/games/battletanks/files/patch-SConscript b/games/battletanks/files/patch-engine-SConscript
index 5a3965716d3f..73c3cd979f32 100644
--- a/games/battletanks/files/patch-SConscript
+++ b/games/battletanks/files/patch-engine-SConscript
@@ -1,8 +1,8 @@
---- SConscript.orig 2007-12-21 15:36:00.000000000 +0600
-+++ SConscript 2008-03-27 06:26:45.000000000 +0600
-@@ -68,17 +68,17 @@
+--- engine/SConscript.orig 2009-12-30 14:50:33.000000000 +0100
++++ engine/SConscript 2010-01-13 23:58:23.000000000 +0100
+@@ -79,17 +79,17 @@
- if sys.platform != 'win32' and env['enable_lua']:
+ if sys.platform != 'win32':
got_lua = False
- for lua in ['lua5.1', 'lua5.0', 'lua']:
+ for lua in ['lua-5.1', 'lua-5.0', 'lua']:
@@ -19,5 +19,5 @@
- raise Exception("Cannot find lua5.1/lua5.0 or lua pkg-config information")
+ raise Exception("Cannot find lua-5.1/lua-5.0 or lua pkg-config information")
- if env['enable_lua']:
- env.Append(CPPDEFINES=['ENABLE_LUA'])
+ env.Append(CPPDEFINES=['ENABLE_LUA'])
+ bt_sources.append('luaxx/state.cpp')
diff --git a/games/battletanks/files/patch-net_monitor.cpp b/games/battletanks/files/patch-engine_net_monitor.cpp
index 042c15065679..a7ebd82650f7 100644
--- a/games/battletanks/files/patch-net_monitor.cpp
+++ b/games/battletanks/files/patch-engine_net_monitor.cpp
@@ -1,6 +1,6 @@
---- net/monitor.cpp.orig 2007-12-21 16:55:30.000000000 +0600
-+++ net/monitor.cpp 2008-03-27 06:20:09.000000000 +0600
-@@ -33,6 +33,7 @@
+--- ./engine/net/monitor.cpp.orig 2009-10-12 12:34:31.000000000 +0400
++++ ./engine/net/monitor.cpp 2010-04-25 13:10:45.059278180 +0400
+@@ -47,6 +47,7 @@
#else
# include <sys/socket.h>
# include <netinet/in.h>
diff --git a/games/battletanks/files/patch-engine_net_scanner.cpp b/games/battletanks/files/patch-engine_net_scanner.cpp
new file mode 100644
index 000000000000..066e48cd395a
--- /dev/null
+++ b/games/battletanks/files/patch-engine_net_scanner.cpp
@@ -0,0 +1,10 @@
+--- ./engine/net/scanner.cpp.orig 2009-12-25 16:40:23.000000000 +0300
++++ ./engine/net/scanner.cpp 2010-04-25 13:10:51.760938402 +0400
+@@ -15,6 +15,7 @@
+ #else
+ # include <sys/socket.h>
+ # include <netinet/in.h>
++# include <netinet/in_systm.h>
+ # include <netinet/ip.h> /* superset of previous */
+ # include <arpa/inet.h>
+ #endif
diff --git a/games/battletanks/files/patch-net_scanner.cpp b/games/battletanks/files/patch-net_scanner.cpp
deleted file mode 100644
index 179a4f5d281e..000000000000
--- a/games/battletanks/files/patch-net_scanner.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- net/scanner.cpp.orig 2007-12-21 19:28:34.000000000 +0600
-+++ net/scanner.cpp 2008-03-27 06:20:31.000000000 +0600
-@@ -13,6 +13,7 @@
- #else
- # include <sys/socket.h>
- # include <netinet/in.h>
-+# include <netinet/in_systm.h>
- # include <netinet/ip.h> /* superset of previous */
- #endif
-
diff --git a/games/battletanks/pkg-plist b/games/battletanks/pkg-plist
index 7782cf100271..321add072ac2 100644
--- a/games/battletanks/pkg-plist
+++ b/games/battletanks/pkg-plist
@@ -1,424 +1,10 @@
-bin/bt
-lib/libbt.so
+bin/btanks
+bin/bted
+lib/btanks/libbt_objects.so
+lib/libbtanks_engine.so
+lib/libclunk.so
lib/libmrt.so
lib/libsdlx.so
-%%DATADIR%%/data/font/big.png
-%%DATADIR%%/data/font/big_0080.png
-%%DATADIR%%/data/font/big_0400.png
-%%DATADIR%%/data/font/digits.png
-%%DATADIR%%/data/font/medium.png
-%%DATADIR%%/data/font/medium_0080.png
-%%DATADIR%%/data/font/medium_0400.png
-%%DATADIR%%/data/font/medium_dark.png
-%%DATADIR%%/data/font/medium_dark_0080.png
-%%DATADIR%%/data/font/medium_dark_0400.png
-%%DATADIR%%/data/font/small.png
-%%DATADIR%%/data/font/small_0080.png
-%%DATADIR%%/data/font/small_0400.png
-%%DATADIR%%/data/maps/aqua_world.jpg
-%%DATADIR%%/data/maps/aqua_world.tmx
-%%DATADIR%%/data/maps/aqua_world_tactics.jpg
-%%DATADIR%%/data/maps/arena.jpg
-%%DATADIR%%/data/maps/arena.lua
-%%DATADIR%%/data/maps/arena.tmx
-%%DATADIR%%/data/maps/baykonur.jpg
-%%DATADIR%%/data/maps/baykonur.tmx
-%%DATADIR%%/data/maps/baykonur_tactics.jpg
-%%DATADIR%%/data/maps/curfew.jpg
-%%DATADIR%%/data/maps/curfew.tmx
-%%DATADIR%%/data/maps/curfew_tactics.jpg
-%%DATADIR%%/data/maps/dune.jpg
-%%DATADIR%%/data/maps/dune.tmx
-%%DATADIR%%/data/maps/dune_tactics.jpg
-%%DATADIR%%/data/maps/gaddino.jpg
-%%DATADIR%%/data/maps/gaddino.tmx
-%%DATADIR%%/data/maps/gaddino_tactics.jpg
-%%DATADIR%%/data/maps/hell_swamp.jpg
-%%DATADIR%%/data/maps/hell_swamp.tmx
-%%DATADIR%%/data/maps/hell_swamp_tactics.jpg
-%%DATADIR%%/data/maps/lenin_square.jpg
-%%DATADIR%%/data/maps/lenin_square.tmx
-%%DATADIR%%/data/maps/lenin_square_tactics.jpg
-%%DATADIR%%/data/maps/null.png
-%%DATADIR%%/data/maps/paintball.jpg
-%%DATADIR%%/data/maps/paintball.tmx
-%%DATADIR%%/data/maps/paintball_tactics.jpg
-%%DATADIR%%/data/maps/platform.jpg
-%%DATADIR%%/data/maps/platform.lua
-%%DATADIR%%/data/maps/platform.tmx
-%%DATADIR%%/data/maps/platform_tactics.jpg
-%%DATADIR%%/data/maps/university.jpg
-%%DATADIR%%/data/maps/university.lua
-%%DATADIR%%/data/maps/university.tmx
-%%DATADIR%%/data/maps/university_tactics.jpg
-%%DATADIR%%/data/maps/wastes.jpg
-%%DATADIR%%/data/maps/wastes.tmx
-%%DATADIR%%/data/maps/wastes_tactics.jpg
-%%DATADIR%%/data/playlist
-%%DATADIR%%/data/preload.xml
-%%DATADIR%%/data/resources.xml
-%%DATADIR%%/data/sounds/ambient/city.ogg
-%%DATADIR%%/data/sounds/ambient/country.ogg
-%%DATADIR%%/data/sounds/ambient/forest.ogg
-%%DATADIR%%/data/sounds/ambient/horror.ogg
-%%DATADIR%%/data/sounds/ambient/swamp.ogg
-%%DATADIR%%/data/sounds/boomerang-missile.ogg
-%%DATADIR%%/data/sounds/building-explosion1.ogg
-%%DATADIR%%/data/sounds/building-explosion2.ogg
-%%DATADIR%%/data/sounds/building-explosion3.ogg
-%%DATADIR%%/data/sounds/cannon1.ogg
-%%DATADIR%%/data/sounds/cannon2.ogg
-%%DATADIR%%/data/sounds/cannon3.ogg
-%%DATADIR%%/data/sounds/cannon4.ogg
-%%DATADIR%%/data/sounds/deadman1.ogg
-%%DATADIR%%/data/sounds/deadman2.ogg
-%%DATADIR%%/data/sounds/deadman3.ogg
-%%DATADIR%%/data/sounds/dirt-bullet-explosion.ogg
-%%DATADIR%%/data/sounds/disembark.ogg
-%%DATADIR%%/data/sounds/dispersion-bullet.ogg
-%%DATADIR%%/data/sounds/dumb-missile.ogg
-%%DATADIR%%/data/sounds/engine-car.ogg
-%%DATADIR%%/data/sounds/engine-start.ogg
-%%DATADIR%%/data/sounds/engine-vehicle.ogg
-%%DATADIR%%/data/sounds/explosion.ogg
-%%DATADIR%%/data/sounds/fire-fadeout.ogg
-%%DATADIR%%/data/sounds/fire.ogg
-%%DATADIR%%/data/sounds/guided-missile.ogg
-%%DATADIR%%/data/sounds/helicopter.ogg
-%%DATADIR%%/data/sounds/klaxon-funny.ogg
-%%DATADIR%%/data/sounds/klaxon.ogg
-%%DATADIR%%/data/sounds/laugh01.ogg
-%%DATADIR%%/data/sounds/laugh02.ogg
-%%DATADIR%%/data/sounds/machinegunner-bullet.ogg
-%%DATADIR%%/data/sounds/menu/change.ogg
-%%DATADIR%%/data/sounds/menu/move.ogg
-%%DATADIR%%/data/sounds/menu/return.ogg
-%%DATADIR%%/data/sounds/menu/select.ogg
-%%DATADIR%%/data/sounds/mine-tick.ogg
-%%DATADIR%%/data/sounds/nuke-explosion.ogg
-%%DATADIR%%/data/sounds/nuke-missile.ogg
-%%DATADIR%%/data/sounds/old-mine-tick.ogg
-%%DATADIR%%/data/sounds/old-nuke-explosion.ogg
-%%DATADIR%%/data/sounds/respawn.ogg
-%%DATADIR%%/data/sounds/shot.ogg
-%%DATADIR%%/data/sounds/smoke-missile.ogg
-%%DATADIR%%/data/sounds/stun-missile.ogg
-%%DATADIR%%/data/sounds/submarine.ogg
-%%DATADIR%%/data/sounds/taking-item-1.ogg
-%%DATADIR%%/data/sounds/taking-item-2.ogg
-%%DATADIR%%/data/sounds/taking-item-3.ogg
-%%DATADIR%%/data/sounds/taking-item-4.ogg
-%%DATADIR%%/data/sounds/taking-item-5.ogg
-%%DATADIR%%/data/sounds/teleport.ogg
-%%DATADIR%%/data/sounds/train.ogg
-%%DATADIR%%/data/sounds/vehicle-capture.ogg
-%%DATADIR%%/data/sounds/vehicle-explosion.ogg
-%%DATADIR%%/data/sounds/vehicle-explosion2.ogg
-%%DATADIR%%/data/sounds/zombie-dead.ogg
-%%DATADIR%%/data/sounds/zombie.ogg
-%%DATADIR%%/data/strings.xml
-%%DATADIR%%/data/tiles/aviabomb.png
-%%DATADIR%%/data/tiles/baykonur.png
-%%DATADIR%%/data/tiles/biotoilet.png
-%%DATADIR%%/data/tiles/boat.png
-%%DATADIR%%/data/tiles/boat_crash.png
-%%DATADIR%%/data/tiles/boat_missile.png
-%%DATADIR%%/data/tiles/buggy.png
-%%DATADIR%%/data/tiles/buggy_air_bullet1.png
-%%DATADIR%%/data/tiles/buggy_air_bullet2.png
-%%DATADIR%%/data/tiles/buggy_bullet1.png
-%%DATADIR%%/data/tiles/buggy_bullet2.png
-%%DATADIR%%/data/tiles/buggy_crash.png
-%%DATADIR%%/data/tiles/buggy_gun.png
-%%DATADIR%%/data/tiles/building_explosion_128.png
-%%DATADIR%%/data/tiles/bullet.png
-%%DATADIR%%/data/tiles/bullet16.png
-%%DATADIR%%/data/tiles/bus01.png
-%%DATADIR%%/data/tiles/bus01_crash.png
-%%DATADIR%%/data/tiles/bus_stop_left.png
-%%DATADIR%%/data/tiles/bus_stop_right.png
-%%DATADIR%%/data/tiles/bus_stop_top.png
-%%DATADIR%%/data/tiles/cannon.png
-%%DATADIR%%/data/tiles/cannon_bullet.png
-%%DATADIR%%/data/tiles/cannon_corpse.png
-%%DATADIR%%/data/tiles/cannon_explosion.png
-%%DATADIR%%/data/tiles/cannon_explosion_xmas.png
-%%DATADIR%%/data/tiles/car-waypoint.png
-%%DATADIR%%/data/tiles/car01.png
-%%DATADIR%%/data/tiles/car01_crash.png
-%%DATADIR%%/data/tiles/car02.png
-%%DATADIR%%/data/tiles/car02_crash.png
-%%DATADIR%%/data/tiles/car03.png
-%%DATADIR%%/data/tiles/car03_crash.png
-%%DATADIR%%/data/tiles/car04.png
-%%DATADIR%%/data/tiles/car04_crash.png
-%%DATADIR%%/data/tiles/chinook.png
-%%DATADIR%%/data/tiles/chinook_crash.png
-%%DATADIR%%/data/tiles/civilian_outline.png
-%%DATADIR%%/data/tiles/cow.png
-%%DATADIR%%/data/tiles/cow_dead.png
-%%DATADIR%%/data/tiles/cow_mutated.png
-%%DATADIR%%/data/tiles/dirt.png
-%%DATADIR%%/data/tiles/dirt_bullet.png
-%%DATADIR%%/data/tiles/dirt_item.png
-%%DATADIR%%/data/tiles/dispersion_item.png
-%%DATADIR%%/data/tiles/donate.jpg
-%%DATADIR%%/data/tiles/edge.png
-%%DATADIR%%/data/tiles/explosion.png
-%%DATADIR%%/data/tiles/fire.png
-%%DATADIR%%/data/tiles/fog_of_war.png
-%%DATADIR%%/data/tiles/gate01.png
-%%DATADIR%%/data/tiles/gay_paratrooper.png
-%%DATADIR%%/data/tiles/grenade.png
-%%DATADIR%%/data/tiles/heal.png
-%%DATADIR%%/data/tiles/helicopter.png
-%%DATADIR%%/data/tiles/helicopter_bullet1.png
-%%DATADIR%%/data/tiles/helicopter_bullet2.png
-%%DATADIR%%/data/tiles/helicopter_crash.png
-%%DATADIR%%/data/tiles/helmet_cyan.png
-%%DATADIR%%/data/tiles/helmet_cyan_xmas.png
-%%DATADIR%%/data/tiles/helmet_green.png
-%%DATADIR%%/data/tiles/helmet_green_xmas.png
-%%DATADIR%%/data/tiles/helmet_red.png
-%%DATADIR%%/data/tiles/helmet_red_xmas.png
-%%DATADIR%%/data/tiles/helmet_yellow.png
-%%DATADIR%%/data/tiles/helmet_yellow_xmas.png
-%%DATADIR%%/data/tiles/hud/hp.png
-%%DATADIR%%/data/tiles/hud/hud_icons.png
-%%DATADIR%%/data/tiles/hud/hud_line.png
-%%DATADIR%%/data/tiles/hud/hud_splitter.png
-%%DATADIR%%/data/tiles/hud/loading_border.png
-%%DATADIR%%/data/tiles/hud/loading_item.png
-%%DATADIR%%/data/tiles/hud/loading_item_xmas.png
-%%DATADIR%%/data/tiles/hud/split_line.png
-%%DATADIR%%/data/tiles/icon.png
-%%DATADIR%%/data/tiles/kamikaze.png
-%%DATADIR%%/data/tiles/kamikaze_explosion.png
-%%DATADIR%%/data/tiles/kamikaze_explosion_xmas.png
-%%DATADIR%%/data/tiles/launcher01.png
-%%DATADIR%%/data/tiles/launcher01_crash.png
-%%DATADIR%%/data/tiles/launcher02.png
-%%DATADIR%%/data/tiles/launcher02_crash.png
-%%DATADIR%%/data/tiles/launcher03.png
-%%DATADIR%%/data/tiles/launcher03_crash.png
-%%DATADIR%%/data/tiles/launcher04.png
-%%DATADIR%%/data/tiles/launcher04_crash.png
-%%DATADIR%%/data/tiles/launcher_machinegunner.png
-%%DATADIR%%/data/tiles/launcher_mine.png
-%%DATADIR%%/data/tiles/launcher_missile01.png
-%%DATADIR%%/data/tiles/launcher_missile02.png
-%%DATADIR%%/data/tiles/launcher_missile03.png
-%%DATADIR%%/data/tiles/launcher_missile04.png
-%%DATADIR%%/data/tiles/launcher_missile05.png
-%%DATADIR%%/data/tiles/launcher_missile06.png
-%%DATADIR%%/data/tiles/launcher_outline.png
-%%DATADIR%%/data/tiles/launcher_smoke.png
-%%DATADIR%%/data/tiles/launcher_thrower.png
-%%DATADIR%%/data/tiles/lodge.png
-%%DATADIR%%/data/tiles/machinegunner.png
-%%DATADIR%%/data/tiles/machinegunner_bullet.png
-%%DATADIR%%/data/tiles/machinegunner_bullet2.png
-%%DATADIR%%/data/tiles/machinegunner_dead.png
-%%DATADIR%%/data/tiles/machinegunner_item.png
-%%DATADIR%%/data/tiles/machinegunner_outline.png
-%%DATADIR%%/data/tiles/man-waypoint.png
-%%DATADIR%%/data/tiles/man01.png
-%%DATADIR%%/data/tiles/man01_dead01.png
-%%DATADIR%%/data/tiles/man02.png
-%%DATADIR%%/data/tiles/man02_dead01.png
-%%DATADIR%%/data/tiles/man03.png
-%%DATADIR%%/data/tiles/man03_dead01.png
-%%DATADIR%%/data/tiles/megaheal.png
-%%DATADIR%%/data/tiles/menu/background_box.png
-%%DATADIR%%/data/tiles/menu/background_box_dark.png
-%%DATADIR%%/data/tiles/menu/background_box_xmas.png
-%%DATADIR%%/data/tiles/menu/checkbox.png
-%%DATADIR%%/data/tiles/menu/controls.png
-%%DATADIR%%/data/tiles/menu/controls_split.png
-%%DATADIR%%/data/tiles/menu/dice.png
-%%DATADIR%%/data/tiles/menu/edit.png
-%%DATADIR%%/data/tiles/menu/gamepad.png
-%%DATADIR%%/data/tiles/menu/gamepad_buttons.png
-%%DATADIR%%/data/tiles/menu/gamepad_ministick.png
-%%DATADIR%%/data/tiles/menu/highlight_big.png
-%%DATADIR%%/data/tiles/menu/highlight_medium.png
-%%DATADIR%%/data/tiles/menu/keys_selection.png
-%%DATADIR%%/data/tiles/menu/keys_table.png
-%%DATADIR%%/data/tiles/menu/left_right.png
-%%DATADIR%%/data/tiles/menu/radio.png
-%%DATADIR%%/data/tiles/menu/slider.png
-%%DATADIR%%/data/tiles/menu/v_scroller.png
-%%DATADIR%%/data/tiles/menu/vehicles.png
-%%DATADIR%%/data/tiles/mine.png
-%%DATADIR%%/data/tiles/mine_item.png
-%%DATADIR%%/data/tiles/missile01.png
-%%DATADIR%%/data/tiles/missile01_item.png
-%%DATADIR%%/data/tiles/missile02.png
-%%DATADIR%%/data/tiles/missile02_item.png
-%%DATADIR%%/data/tiles/missile03.png
-%%DATADIR%%/data/tiles/missile03_item.png
-%%DATADIR%%/data/tiles/missile04.png
-%%DATADIR%%/data/tiles/missile04_item.png
-%%DATADIR%%/data/tiles/missile05.png
-%%DATADIR%%/data/tiles/missile05_item.png
-%%DATADIR%%/data/tiles/missile06.png
-%%DATADIR%%/data/tiles/missile06_item.png
-%%DATADIR%%/data/tiles/missile_blast.png
-%%DATADIR%%/data/tiles/missile_fire.png
-%%DATADIR%%/data/tiles/missile_launch.png
-%%DATADIR%%/data/tiles/mortar.png
-%%DATADIR%%/data/tiles/mortar_bullet.png
-%%DATADIR%%/data/tiles/mortar_bullet2.png
-%%DATADIR%%/data/tiles/mortar_bullet2_item.png
-%%DATADIR%%/data/tiles/mortar_bullet2_multi_item.png
-%%DATADIR%%/data/tiles/mortar_bullet3.png
-%%DATADIR%%/data/tiles/mortar_bullet3_item.png
-%%DATADIR%%/data/tiles/mortar_bullet3_multi_item.png
-%%DATADIR%%/data/tiles/mortar_bullet_multi_item.png
-%%DATADIR%%/data/tiles/mortar_crash.png
-%%DATADIR%%/data/tiles/mortar_outline.png
-%%DATADIR%%/data/tiles/nuke_explosion.png
-%%DATADIR%%/data/tiles/nuke_mine.png
-%%DATADIR%%/data/tiles/nukeman.png
-%%DATADIR%%/data/tiles/nukeman_outline.png
-%%DATADIR%%/data/tiles/object.png
-%%DATADIR%%/data/tiles/oil-barrels.png
-%%DATADIR%%/data/tiles/paratrooper.png
-%%DATADIR%%/data/tiles/pointer.png
-%%DATADIR%%/data/tiles/pond.png
-%%DATADIR%%/data/tiles/ricochet_item.png
-%%DATADIR%%/data/tiles/road_sign01.png
-%%DATADIR%%/data/tiles/road_sign02.png
-%%DATADIR%%/data/tiles/road_sign03.png
-%%DATADIR%%/data/tiles/road_sign04.png
-%%DATADIR%%/data/tiles/road_sign05.png
-%%DATADIR%%/data/tiles/road_sign06.png
-%%DATADIR%%/data/tiles/road_sign07.png
-%%DATADIR%%/data/tiles/road_sign08.png
-%%DATADIR%%/data/tiles/road_sign09.png
-%%DATADIR%%/data/tiles/road_sign10.png
-%%DATADIR%%/data/tiles/road_sign11.png
-%%DATADIR%%/data/tiles/sandworm.png
-%%DATADIR%%/data/tiles/sandworm_body.png
-%%DATADIR%%/data/tiles/shilka01.png
-%%DATADIR%%/data/tiles/shilka01_crash.png
-%%DATADIR%%/data/tiles/shilka02.png
-%%DATADIR%%/data/tiles/shilka02_crash.png
-%%DATADIR%%/data/tiles/shilka03.png
-%%DATADIR%%/data/tiles/shilka03_crash.png
-%%DATADIR%%/data/tiles/shilka04.png
-%%DATADIR%%/data/tiles/shilka04_crash.png
-%%DATADIR%%/data/tiles/shilka_bullet1.png
-%%DATADIR%%/data/tiles/shilka_bullet2.png
-%%DATADIR%%/data/tiles/shilka_dirt_bullet1.png
-%%DATADIR%%/data/tiles/shilka_dirt_bullet2.png
-%%DATADIR%%/data/tiles/shilka_outline.png
-%%DATADIR%%/data/tiles/skotobaza.png
-%%DATADIR%%/data/tiles/slime.png
-%%DATADIR%%/data/tiles/slime_bullet.png
-%%DATADIR%%/data/tiles/slime_dead.png
-%%DATADIR%%/data/tiles/smoke_cloud.png
-%%DATADIR%%/data/tiles/spawnpoint.png
-%%DATADIR%%/data/tiles/splash_1024_1.jpg
-%%DATADIR%%/data/tiles/splash_1024_2.jpg
-%%DATADIR%%/data/tiles/splash_1024_3.jpg
-%%DATADIR%%/data/tiles/splash_1024_4.jpg
-%%DATADIR%%/data/tiles/splash_1152_1.jpg
-%%DATADIR%%/data/tiles/splash_1152_2.jpg
-%%DATADIR%%/data/tiles/splash_1152_3.jpg
-%%DATADIR%%/data/tiles/splash_1152_4.jpg
-%%DATADIR%%/data/tiles/splash_1280_1.jpg
-%%DATADIR%%/data/tiles/splash_1280_2.jpg
-%%DATADIR%%/data/tiles/splash_1280_3.jpg
-%%DATADIR%%/data/tiles/splash_1280_4.jpg
-%%DATADIR%%/data/tiles/splash_800_1.jpg
-%%DATADIR%%/data/tiles/splash_800_2.jpg
-%%DATADIR%%/data/tiles/splash_800_3.jpg
-%%DATADIR%%/data/tiles/splash_800_4.jpg
-%%DATADIR%%/data/tiles/stack.png
-%%DATADIR%%/data/tiles/stall_left.png
-%%DATADIR%%/data/tiles/stall_right.png
-%%DATADIR%%/data/tiles/submarine.png
-%%DATADIR%%/data/tiles/tank01.png
-%%DATADIR%%/data/tiles/tank01_crash.png
-%%DATADIR%%/data/tiles/tank02.png
-%%DATADIR%%/data/tiles/tank02_crash.png
-%%DATADIR%%/data/tiles/tank03.png
-%%DATADIR%%/data/tiles/tank03_crash.png
-%%DATADIR%%/data/tiles/tank04.png
-%%DATADIR%%/data/tiles/tank04_crash.png
-%%DATADIR%%/data/tiles/tank_mine.png
-%%DATADIR%%/data/tiles/tank_missile01.png
-%%DATADIR%%/data/tiles/tank_missile02.png
-%%DATADIR%%/data/tiles/tank_missile03.png
-%%DATADIR%%/data/tiles/tank_missile04.png
-%%DATADIR%%/data/tiles/tank_missile05.png
-%%DATADIR%%/data/tiles/tank_missile06.png
-%%DATADIR%%/data/tiles/tank_outline.png
-%%DATADIR%%/data/tiles/tank_smoke.png
-%%DATADIR%%/data/tiles/target.png
-%%DATADIR%%/data/tiles/teleport.png
-%%DATADIR%%/data/tiles/tent_left.png
-%%DATADIR%%/data/tiles/tent_right.png
-%%DATADIR%%/data/tiles/tent_top.png
-%%DATADIR%%/data/tiles/thrower.png
-%%DATADIR%%/data/tiles/thrower_dead.png
-%%DATADIR%%/data/tiles/thrower_item.png
-%%DATADIR%%/data/tiles/thrower_missile.png
-%%DATADIR%%/data/tiles/traffic_lights.png
-%%DATADIR%%/data/tiles/train.png
-%%DATADIR%%/data/tiles/train_crash.png
-%%DATADIR%%/data/tiles/train_smoke.png
-%%DATADIR%%/data/tiles/trooper_hut.png
-%%DATADIR%%/data/tiles/trooper_tent.png
-%%DATADIR%%/data/tiles/trooper_tent_xmas.png
-%%DATADIR%%/data/tiles/umbrella.png
-%%DATADIR%%/data/tiles/van.png
-%%DATADIR%%/data/tiles/wagon.png
-%%DATADIR%%/data/tiles/wagon_crash.png
-%%DATADIR%%/data/tiles/watchtower.png
-%%DATADIR%%/data/tiles/waypoint16x16.png
-%%DATADIR%%/data/tiles/ziehharmonikaspieler.png
-%%DATADIR%%/data/tiles/ziehharmonikaspieler_dead.png
-%%DATADIR%%/data/tiles/zombak_vasya.png
-%%DATADIR%%/data/tiles/zombak_vasya_dead.png
-%%DATADIR%%/data/tiles/zombak_vasya_xmas.png
-%%DATADIR%%/data/tilesets/animated.png
-%%DATADIR%%/data/tilesets/animated.xml
-%%DATADIR%%/data/tilesets/captions.png
-%%DATADIR%%/data/tilesets/destroyed_houses.png
-%%DATADIR%%/data/tilesets/destruction.png
-%%DATADIR%%/data/tilesets/fences.png
-%%DATADIR%%/data/tilesets/fences.xml
-%%DATADIR%%/data/tilesets/houses.png
-%%DATADIR%%/data/tilesets/objects.png
-%%DATADIR%%/data/tilesets/roads.png
-%%DATADIR%%/data/tilesets/shadows.png
-%%DATADIR%%/data/tilesets/shadows.xml
-%%DATADIR%%/data/tilesets/stadium.png
-%%DATADIR%%/data/tilesets/terrains.png
-%%DATADIR%%/data/tilesets/terrains.xml
-%%DATADIR%%/data/tilesets/terrains_xmas.png
-%%DATADIR%%/data/tilesets/trees.png
-%%DATADIR%%/data/tilesets/trees_xmas.png
-%%DATADIR%%/data/tunes/batterie.ogg
-%%DATADIR%%/data/tunes/boss-1.ogg
-%%DATADIR%%/data/tunes/boss-2.ogg
-%%DATADIR%%/data/tunes/gameboy.ogg
-%%DATADIR%%/data/tunes/glory.ogg
-%%DATADIR%%/data/tunes/karbofos.ogg
-%%DATADIR%%/data/tunes/nostalgy.ogg
-%%DATADIR%%/data/tunes/utrennik.ogg
-%%DATADIR%%/libbt_objects.so
-@dirrm %%DATADIR%%/data/font
-@dirrm %%DATADIR%%/data/maps
-@dirrm %%DATADIR%%/data/sounds/ambient
-@dirrm %%DATADIR%%/data/sounds/menu
-@dirrm %%DATADIR%%/data/sounds
-@dirrm %%DATADIR%%/data/tiles/hud
-@dirrm %%DATADIR%%/data/tiles/menu
-@dirrm %%DATADIR%%/data/tiles
-@dirrm %%DATADIR%%/data/tilesets
-@dirrm %%DATADIR%%/data/tunes
-@dirrm %%DATADIR%%/data
+%%DATADIR%%/resources.dat
@dirrm %%DATADIR%%
+@dirrm lib/btanks