debian/0000755000000000000000000000000012141407742007170 5ustar debian/rules0000755000000000000000000000414012141202644010241 0ustar #!/usr/bin/make -f # -*- makefile -*- CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p') %: dh $@ override_dh_auto_build: echo "release_settings.optimize = 0" >> debian.lua echo "release_settings.cc.flags:Add(\"$(CFLAGS) $(CPPFLAGS)\")" >> debian.lua echo "release_settings.link.inputflags = release_settings.link.inputflags .. \" $(LDFLAGS)\"" >> debian.lua bam -a -v release override_dh_auto_install: mv teeworlds_srv teeworlds-server mkdir debian/icotmp icotool -x -o debian/icotmp other/icons/Teeworlds.ico set -e && for size in 16 24 32 48 128 256; do \ mkdir -p debian/teeworlds/usr/share/icons/hicolor/$${size}x$${size}/apps; \ mv debian/icotmp/Teeworlds_*_$${size}x$${size}x32.png \ debian/teeworlds/usr/share/icons/hicolor/$${size}x$${size}/apps/teeworlds.png; \ done rmdir debian/icotmp mkdir -p debian/teeworlds/usr/share/pixmaps convert debian/teeworlds/usr/share/icons/hicolor/32x32/apps/teeworlds.png \ debian/teeworlds/usr/share/pixmaps/teeworlds.xpm override_dh_auto_clean: touch debian.lua -bam -c find -type f -name '*.o' -exec rm {} \; rm -rf tmp.* config.bam debian.lua fake_server map_resave map_version crapnet tileset_borderfix rm -rf teeworlds_srv teeworlds-server dilate versionsrv packetgen mastersrv teeworlds rm -rf .bam debian/icotmp rm -f datasrc/*.pyc config.lua override_dh_fixperms: dh_fixperms ifneq (,$(filter teeworlds-data, $(shell dh_listpackages))) find debian/teeworlds-data -type f -exec chmod 644 {} \; endif dfsg-free: rm -r docs/tool rm -r other/freetype/include rm -r other/freetype/lib32 rm -r other/freetype/lib64 rm -r other/sdl/include rm -r other/sdl/lib32 rm -r other/sdl/lib64 rm -r src/engine/external rm data/fonts/DejaVuSans.ttf rm data/fonts/LICENSE cd ..; mv $(CURDIR) teeworlds-$(upstreamversion); \ tar --exclude debian \ -czf teeworlds_$(upstreamversion).orig.tar.gz \ teeworlds-$(upstreamversion) debian/source/0000755000000000000000000000000012141201772010463 5ustar debian/source/format0000644000000000000000000000001412141201772011671 0ustar 3.0 (quilt) debian/gbp.conf0000644000000000000000000000003612141201772010601 0ustar [DEFAULT] pristine-tar = True debian/menu0000644000000000000000000000023712141201772010054 0ustar ?package(teeworlds):needs="X11" section="Games/Action"\ icon="/usr/share/pixmaps/teeworlds.xpm" \ title="Teeworlds" command="/usr/games/teeworlds --quiet" debian/teeworlds.install0000644000000000000000000000010412141201772012556 0ustar debian/teeworlds.desktop usr/share/applications teeworlds usr/games debian/teeworlds-data.links0000644000000000000000000000015112141201772013141 0ustar /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf /usr/share/games/teeworlds/data/fonts/DejaVuSans.ttf debian/teeworlds.60000644000000000000000000000616212141201772011267 0ustar .TH "Teeworlds" "6" "April 14 , 2008" "" "" .SH "NAME" teeworlds \- Teeworlds Client .SH "SYNOPSIS" .B teeworlds ["\fIoption\fP \fIvalue\fP"]... .SH "DESCRIPTION" .PP This manual page documents briefly the .B teeworlds command. .PP \fBteeworlds\fP is the Teeworlds client. It is an online multi\-player platform 2D shooter. .SH "OPTIONS" (Note that this is not a full list!) .PP \fBbind\fR key command [value] .PP \fBexec\fR configfile .PP \fBconnect\fR server:port .PP \fBplayer_name\fR .PP \fB\fBpassword\fR .PP \fBlogfile\fR .PP \fBcl_cpu_throttle\fR .PP \fBcl_editor\fR .PP \fBb_filter_string\fR .PP \fBb_filter_full\fR .PP \fBb_filter_empty\fR .PP \fBb_filter_pw\fR .PP \fBb_filter_ping\fR .PP \fBb_filter_gametype\fR .PP \fBb_filter_compatversion\fR .PP \fBb_sort\fR .PP \fBb_sort_order\fR .PP \fBb_max_requests\fR .PP \fBsnd_rate\fR .PP \fBsnd_enable\fR .PP \fBsnd_volume\fR .PP \fBsnd_noactive_mute\fR .PP \fBgfx_screen_width\fR .PP \fBgfx_screen_height\fR .PP \fBgfx_fullscreen\fR .PP \fBgfx_color_depth\fR .PP \fBgfx_clear\fR .PP \fBgfx_vsync\fR .PP \fBgfx_display_all_modes\fR .PP \fBgfx_texture_compression\fR .PP \fBgfx_high_detail\fR .PP \fBgfx_texture_quality\fR .PP \fBgfx_fsaa_samples\fR .PP \fBgfx_refresh_rate\fR .PP \fBgfx_debug_resizable\fR .PP \fBinp_mousesens\fR .PP \fBdebug\fR .PP \fBcl_predict\fR .PP \fBcl_nameplates\fR .PP \fBcl_nameplates_always\fR .PP \fBcl_autoswitch_weapons\fR .PP \fBcl_showfps\fR .PP \fBcl_airjumpindicator\fR .PP \fBcl_threadsoundloading\fR .PP \fBcl_warning_tuning\fR .PP \fBcl_mouse_deadzone\fR .PP \fBcl_mouse_followfactor\fR .PP \fBcl_mouse_max_distance\fR .PP \fBcl_motd_time\fR .PP \fBed_showkeys\fR .PP \fBcl_flow\fR .PP \fBcl_show_welcome\fR .PP \fBplayer_user_custom_color\fR .PP \fBplayer_color_body\fR .PP \fBplayer_color_feet\fR .PP \fBplayer_skin\fR .PP \fBdbg_tuning\fR .PP \fBui_page\fR .PP \fBui_server_addess\fR .PP \fBui_scale\fR .PP \fBui_color_hue\fR .PP \fBui_color_sat\fR .PP \fBui_color_lht\fR .PP \fBui_color_alpha\fR .SH "SEE ALSO" .BR teeworlds\-server (6) .br .SH "AUTHOR" Teeworlds was written by Magnus Auvinen. .PP This manual page was written by Jack "jscinoz" Coulter for the Debian project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\-2. debian/compat0000644000000000000000000000000212141201772010361 0ustar 8 debian/changelog0000644000000000000000000001373212141407422011043 0ustar teeworlds (0.6.2+dfsg-1) unstable; urgency=low * New upstream release. - Update patches. * Pass $CPPFLAGS to the build system. * Switch to my @debian.org email address. * Bump Standards-Version to 3.9.4, no changes needed. * Change Vcs host to anonscm.debian.org. -- Felix Geyer Sun, 05 May 2013 09:49:34 +0200 teeworlds (0.6.1+dfsg-1) unstable; urgency=low * New upstream release. * Repackage upstream tarball to remove pre-compiled libraries. * Update watch file. * Refresh patches. * Drop patches that have been applied upstream: fix-ftbfs-hurd.patch, fix-ftbfs-kfreebsd.patch and gcc-endianness.patch. * Use dh_link to create the DejaVuSans.ttf symlink. * Query dpkg-buildflags instead of relying on dpkg-buildpackage to set the environment variables. -- Felix Geyer Fri, 05 Aug 2011 15:02:49 +0200 teeworlds (0.6.0-2) unstable; urgency=low * Only replace the embedded DejaVuSans.ttf when teeworlds-data is actually built. * Document the DejaVu license in debian/copyright. * Fix FTBFS on GNU Hurd, thanks to Pino Toscano. - Add fix-ftbfs-hurd.patch -- Felix Geyer Thu, 19 May 2011 12:32:21 +0200 teeworlds (0.6.0-1) unstable; urgency=low * New upstream release. (Closes: #625651) - Fixes FTBFS with gcc 4.6. (Closes: #624977) * Refresh patches. * Add libfreetype6-dev to build-depends. * Immediately abort bam on error. * Update Vcs control fields, package moved to git. * Switch to debhelper compat level 8. * Set minimal bam version to 0.4. * In clean target: don't fail if calling bam returns an error. * teeworlds doesn't suggest teeworlds-server anymore. * Bump Standards-Version to 3.9.2, no changes needed. * Replace embedded copy of DejaVuSans.ttf with a symlink and make teeworlds-data depend on ttf-dejavu-core. * Fix lintian warning description-synopsis-starts-with-article. * Replace the custom icon with the offical ones extracted from an ico file. - Build-depend on icoutils and imagemagick. * Fix FTBFS on kfreebsd. - Add fix-ftbfs-kfreebsd.patch * Use gcc macros instead of an incomplete list of architectures to detect the endianness. - Add gcc-endianness.patch * Remove map_version in the clean target. -- Felix Geyer Wed, 18 May 2011 14:35:24 +0200 teeworlds (0.5.2-2) unstable; urgency=low * Only fix permissions of data files when arch-all packages are built. (Closes: #586534) * Add -Wl,--as-needed to LDFLAGS. -- Felix Geyer Mon, 21 Jun 2010 18:50:29 +0200 teeworlds (0.5.2-1) unstable; urgency=low * New upstream release. (Closes: #559938, LP: #559922) * Add myself as uploader. * Fix loading of sound files. (Closes: #551906) * Add set-data-dir.patch to hardcode the data dir location. * Remove wrapper scripts, they aren't needed anymore as the data dir is hardcoded and teeworlds suppresses the screensaver by using SDL. * Add ${misc:Depends} to teeworlds-data dependencies. * Bump Standards-Version to 3.8.4, no changes needed. * Switch to dh7 rules and source format 3.0 (quilt). * Bump debian/compat to 7. * Add pass-build-flags.patch to pass CFLAGS and LDFLAGS to the build system. * Remove unneeded build-dependencies. * Don't remove embedded libs in the clean target. -- Felix Geyer Tue, 01 Jun 2010 15:32:53 +0200 teeworlds (0.5.1-4) unstable; urgency=low * update the wrapper to poke the screensaver with dbus-send -- Gonéri Le Bouder Sat, 22 Aug 2009 16:31:32 +0200 teeworlds (0.5.1-3) unstable; urgency=low [ Gonéri Le Bouder ] * Clean: clean the teeworld binary, the embedded libs and correctly call unpatch * refresh the system-libs.patch and new-wavpack.patch and apply them [ Paul Wise ] * Fix bashism in the --help option of the teeworlds-server script (Closes: #530198) -- Gonéri Le Bouder Sun, 10 May 2009 23:38:35 +0200 teeworlds (0.5.1-2) unstable; urgency=low * Fix the ouput of teeworlds-server --help with /bin/sh -> /bin/bash (Closes: #511600) * Standard version 3.8.1 -- Gonéri Le Bouder Sun, 12 Apr 2009 02:32:37 +0200 teeworlds (0.5.1-1) unstable; urgency=low * New upstream release (Closes: #511875, #517002) - Bam has its own release now - Update debian/copyright - BuildDepends on libsdl1.2-dev - Update the clean target * teeworlds-server doesn't suggest teeworlds-server anymore -- Gonéri Le Bouder Fri, 23 Jan 2009 23:09:01 +0100 teeworlds (0.4.3-3) experimental; urgency=low * add a loop in teeworld wrapper to poke the screensaver and avoid freeze (Closes: #480902) -- Gonéri Le Bouder Sun, 11 Jan 2009 20:05:45 +0100 teeworlds (0.4.3-2) experimental; urgency=low [ Gonéri Le Bouder ] * Apply Michel Dänzer patch to avoid crash on big endian arch (Closes: #504704) -- Gonéri Le Bouder Sun, 14 Dec 2008 01:55:34 +0100 teeworlds (0.4.3-1) experimental; urgency=low [ Ansgar Burchardt ] * debian/control: Add Homepage field [ Miriam Ruiz ] * Upgraded Standards-Version from 3.7.3 to 3.8.0: No changes needed * Added README.source file [ Gonéri Le Bouder ] * New Upstream Release * Refresh the patches * Don't link against libasound2 anymore + add dont-link-with-asound.diff + remove libasound2-dev from the build-deps * Add myself in uploader * Versioned dependency against teeworlds-data (= ${source:Version}) -- Gonéri Le Bouder Tue, 04 Nov 2008 00:54:25 +0100 teeworlds (0.4.2-2) unstable; urgency=low [ Gonéri Le Bouder ] * Fix the build on SPARC (Closes: #481817) + add fix-bam-FTBFS.patch -- Debian Games Team Tue, 28 Oct 2008 23:53:17 +0100 teeworlds (0.4.2-1) unstable; urgency=low * Initial release (Closes: #460848) -- Jack Coulter Sun, 13 Apr 2008 18:48:12 +1000 debian/control0000644000000000000000000000414012141205661010566 0ustar Source: teeworlds Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Jack Coulter , Felix Geyer Build-Depends: debhelper (>= 8), bam (>= 0.4), icoutils, imagemagick, python, libfreetype6-dev, libgl1-mesa-dev, libglu1-mesa-dev, libpnglite-dev, libsdl1.2-dev, libwavpack-dev, libx11-dev, zlib1g-dev Standards-Version: 3.9.4 Homepage: http://www.teeworlds.com/ Vcs-Git: git://anonscm.debian.org/pkg-games/teeworlds.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/teeworlds.git Package: teeworlds Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, teeworlds-data (= ${source:Version}) Description: online multi-player platform 2D shooter This package contains the client binary for Teeworlds. . The game features cartoon-themed graphics and physics, and relies heavily on classic shooter weaponry and gameplay. The controls are heavily inspired by the FPS genre of computer games. Package: teeworlds-server Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, teeworlds-data (= ${source:Version}) Description: server for Teeworlds; an online multi-player platform 2D shooter This package contains the server binary for Teeworlds. . The game features cartoon-themed graphics and physics, and relies heavily on classic shooter weaponry and gameplay. The controls are heavily inspired by the FPS genre of computer games. Package: teeworlds-data Architecture: all Depends: ${misc:Depends}, ttf-dejavu-core Suggests: teeworlds-server, teeworlds Description: data for Teeworlds; an online multi-player platform 2D shooter This package contains the static data for Teeworlds. . The game features cartoon-themed graphics and physics, and relies heavily on classic shooter weaponry and gameplay. The controls are heavily inspired by the FPS genre of computer games. debian/teeworlds.manpages0000644000000000000000000000002312141201772012703 0ustar debian/teeworlds.6 debian/teeworlds-server.60000644000000000000000000000327312141201772012573 0ustar .TH "Teeworlds" "6" "April 14 , 2008" "" "" .SH "NAME" teeworlds\-server \- Teeworlds Server .SH "SYNOPSIS" .B teeworlds\-server ["\fIoption\fP \fIvalue\fP"]... .SH "DESCRIPTION" .PP This manual page documents briefly the .B teeworlds\-server command. .PP \fBteeworlds\-server\fP is the Teeworlds server. It is an online multi\-player platform 2D shooter. .SH "OPTIONS" (Note that this is not a full list!) .PP \fBexec\fR configfile .PP \fBsv_name\fR .PP \fBsv_map\fR .PP \fBsv_maprotation\fR .PP \fBsv_warmup\fR .PP \fBsv_scorelimit\fR .PP \fBsv_timelimit\fR .PP \fBsv_gametype\fR .PP \fBsv_port\fR .PP \fBsv_rounds_per_map\fR .PP \fBsv_register\fR .PP \fBsv_rcon_password\fR .PP \fBsv_motd\fR .PP \fBsv_max_clients\fR .PP \fBsv_spectator_slots\fR .PP \fBsv_spamprotection\fR .PP \fBpassword\fR .PP \fBsv_tournament_mode\fR .PP \fBsv_teamdamage\fR .PP \fBsv_powerups\fR .PP \fBsv_bindaddr\fR .PP \fBsv_external_port\fR .PP \fBsv_high_bandwidth\fR .SH "SEE ALSO" .BR teeworlds (6) .br .SH "AUTHOR" Teeworlds was written by Magnus Auvinen. .PP This manual page was written by Jack "jscinoz" Coulter for the Debian project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\-2. debian/teeworlds.desktop0000644000000000000000000000026712141201772012573 0ustar [Desktop Entry] Type=Application Name=Teeworlds GenericName=Platform Game Comment=An online multi-player platform 2D shooter Exec=teeworlds Icon=teeworlds Categories=Game;ArcadeGame; debian/watch0000644000000000000000000000021012141201772010205 0ustar version=3 opts=dversionmangle=s/\+dfsg$// \ http://www.teeworlds.com/?page=downloads (?:.*)/teeworlds-([\d.]+)-(?:src|source).tar.gz debian/teeworlds-data.install0000644000000000000000000000003712141201772013472 0ustar data usr/share/games/teeworlds debian/teeworlds-server.install0000644000000000000000000000003312141201772014063 0ustar teeworlds-server usr/games debian/copyright0000644000000000000000000000200612141201772011114 0ustar This package was debianized by Jack Coulter on Sun, 13 Apr 2008 18:48:12 +1000. It was downloaded from http://www.teeworlds.com/ Copyright: Copyright (C) 2007-2011 Magnus Auvinen License: This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. debian/teeworlds-server.manpages0000644000000000000000000000003212141201772014207 0ustar debian/teeworlds-server.6 debian/patches/0000755000000000000000000000000012141205241010605 5ustar debian/patches/new-wavpack.patch0000644000000000000000000000377712141204017014067 0ustar --- a/src/engine/client/sound.cpp +++ b/src/engine/client/sound.cpp @@ -328,17 +328,14 @@ void CSound::RateConvert(int SampleID) pSample->m_NumFrames = NumFrames; } -int CSound::ReadData(void *pBuffer, int Size) -{ - return io_read(ms_File, pBuffer, Size); -} - int CSound::LoadWV(const char *pFilename) { CSample *pSample; int SampleID = -1; char aError[100]; WavpackContext *pContext; + char aWholePath[1024]; + IOHANDLE File; // don't waste memory on sound when we are stress testing if(g_Config.m_DbgStress) @@ -351,19 +348,23 @@ int CSound::LoadWV(const char *pFilename if(!m_pStorage) return -1; - ms_File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL); - if(!ms_File) + File = m_pStorage->OpenFile(pFilename, IOFLAG_READ, IStorage::TYPE_ALL, aWholePath, sizeof(aWholePath)); + if(!File) { dbg_msg("sound/wv", "failed to open file. filename='%s'", pFilename); return -1; } + else + { + io_close(File); + } SampleID = AllocID(); if(SampleID < 0) return -1; pSample = &m_aSamples[SampleID]; - pContext = WavpackOpenFileInput(ReadData, aError); + pContext = WavpackOpenFileInput(aWholePath, aError, OPEN_2CH_MAX, 0); if (pContext) { int m_aSamples = WavpackGetNumSamples(pContext); @@ -419,9 +420,6 @@ int CSound::LoadWV(const char *pFilename dbg_msg("sound/wv", "failed to open %s: %s", pFilename, aError); } - io_close(ms_File); - ms_File = NULL; - if(g_Config.m_Debug) dbg_msg("sound/wv", "loaded %s", pFilename); @@ -527,7 +525,5 @@ void CSound::StopAll() lock_release(m_SoundLock); } -IOHANDLE CSound::ms_File = 0; - IEngineSound *CreateEngineSound() { return new CSound; } --- a/src/engine/client/sound.h +++ b/src/engine/client/sound.h @@ -21,10 +21,6 @@ public: static void RateConvert(int SampleID); - // TODO: Refactor: clean this mess up - static IOHANDLE ms_File; - static int ReadData(void *pBuffer, int Size); - virtual bool IsSoundEnabled() { return m_SoundEnabled != 0; } virtual int LoadWV(const char *pFilename); debian/patches/system-libs.patch0000644000000000000000000001022212141205241014076 0ustar --- a/bam.lua +++ b/bam.lua @@ -13,6 +13,8 @@ config:Add(OptTestCompileC("macosxppc", config:Add(OptLibrary("zlib", "zlib.h", false)) config:Add(SDL.OptFind("sdl", true)) config:Add(FreeType.OptFind("freetype", true)) +config:Add(OptLibrary("pnglite", "pnglite.h", false)) +config:Add(OptLibrary("wavpack", "wavpack/wavpack.h", false)) config:Finalize("config.lua") -- data compiler @@ -187,7 +189,7 @@ function build(settings) end -- compile zlib if needed - if config.zlib.value == 1 then + if config.zlib.value then settings.link.libs:Add("z") if config.zlib.include_path then settings.cc.includes:Add(config.zlib.include_path) @@ -198,9 +200,29 @@ function build(settings) settings.cc.includes:Add("src/engine/external/zlib") end - -- build the small libraries - wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c")) - pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c")) + -- compile wavpack if needed + if config.wavpack.value then + settings.link.libs:Add("wavpack") + if config.wavpack.include_path then + settings.cc.includes:Add(config.wavpack.include_path) + end + wavpack = {} + else + wavpack = Compile(settings, Collect("src/engine/external/wavpack/*.c")) + settings.cc.includes:Add("src/engine/external") + end + + -- compile pnglite if needed + if config.pnglite.value then + settings.link.libs:Add("pnglite") + if config.pnglite.include_path then + settings.cc.includes:Add(config.pnglite.include_path) + end + pnglite = {} + else + pnglite = Compile(settings, Collect("src/engine/external/pnglite/*.c")) + settings.cc.includes:Add("src/engine/external/pnglite") + end -- build game components engine_settings = settings:Copy() --- a/src/engine/client/graphics.cpp +++ b/src/engine/client/graphics.cpp @@ -9,7 +9,7 @@ #include "SDL_opengl.h" #include -#include +#include #include #include --- a/src/engine/client/sound.cpp +++ b/src/engine/client/sound.cpp @@ -13,7 +13,7 @@ #include "sound.h" extern "C" { // wavpack - #include + #include } #include --- a/src/tools/dilate.cpp +++ b/src/tools/dilate.cpp @@ -2,7 +2,7 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include #include -#include +#include typedef struct { --- a/src/tools/tileset_borderfix.cpp +++ b/src/tools/tileset_borderfix.cpp @@ -1,7 +1,7 @@ /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include -#include +#include typedef struct { --- a/src/tools/tileset_borderset.cpp +++ b/src/tools/tileset_borderset.cpp @@ -2,7 +2,7 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include #include -#include +#include typedef struct { --- a/src/engine/client/graphics_threaded.cpp +++ b/src/engine/client/graphics_threaded.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include --- a/src/tools/tileset_borderadd.cpp +++ b/src/tools/tileset_borderadd.cpp @@ -2,7 +2,7 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include #include -#include +#include typedef struct { --- a/src/tools/tileset_borderrem.cpp +++ b/src/tools/tileset_borderrem.cpp @@ -2,7 +2,7 @@ /* If you are missing that file, acquire a complete release at teeworlds.com. */ #include #include -#include +#include typedef struct { debian/patches/pass-build-flags.patch0000644000000000000000000000045712141204017014771 0ustar --- a/bam.lua +++ b/bam.lua @@ -328,6 +328,8 @@ release_settings.debug = 0 release_settings.optimize = 1 release_settings.cc.defines:Add("CONF_RELEASE") +Import("debian.lua") + if platform == "macosx" then debug_settings_ppc = debug_settings:Copy() debug_settings_ppc.config_name = "debug_ppc" debian/patches/series0000644000000000000000000000011612141201772012025 0ustar system-libs.patch new-wavpack.patch set-data-dir.patch pass-build-flags.patch debian/patches/set-data-dir.patch0000644000000000000000000000040512141204017014103 0ustar --- a/src/engine/shared/storage.cpp +++ b/src/engine/shared/storage.cpp @@ -5,7 +5,7 @@ #include "linereader.h" // compiled-in data-dir path -#define DATA_DIR "data" +#define DATA_DIR "/usr/share/games/teeworlds/data" class CStorage : public IStorage {