--- atanks-1.1.0.orig/debian/control +++ atanks-1.1.0/debian/control @@ -0,0 +1,33 @@ +Source: atanks +Section: games +Priority: optional +Maintainer: Graham Wilson +Standards-Version: 3.6.1 +Build-Depends: debhelper (>= 4.1), liballegro-dev + +Package: atanks +Section: games +Priority: optional +Architecture: any +Depends: ${shlibs:Depends}, atanks-data (= ${Source-Version}) +Description: tank-battling game + Atomic tanks is a multi-player game in which you attempt to destroy + other tanks while trying to protect your own. You earn money for + destroying other tanks; with this money you can buy upgrades and better + weapons for your tank. + . + This game is similar Scorched Earth or the Worms series of games. + +Package: atanks-data +Section: games +Priority: optional +Architecture: all +Description: data files for Atomic tanks + Atomic tanks is a multi-player game in which you attempt to destroy + other tanks while trying to protect your own. You earn money for + destroying other tanks; with this money you can buy upgrades and better + weapons for your tank. + . + This game is similar Scorched Earth or the Worms series of games. + . + This package holds the data files needed for Atomic tanks. --- atanks-1.1.0.orig/debian/rules +++ atanks-1.1.0/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f +# This file is public domain software, originally written by Joey Hess. +# $Id: rules 17 2004-04-17 20:55:32Z bob $ + +ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O2 + export CFLAGS +endif + +build: build-stamp +build-stamp: + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + install -D -o root -g root -m 0644 $(CURDIR)/debian/icon.xpm $(CURDIR)/debian/atanks/usr/share/pixmaps/atanks-icon.xpm + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installdocs -i + dh_installchangelogs -i Changelog + dh_link -i + dh_strip -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_shlibdeps -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs -a + dh_installchangelogs -a Changelog + dh_installmenu -a + dh_installman -a debian/atanks.6 + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- atanks-1.1.0.orig/debian/changelog +++ atanks-1.1.0/debian/changelog @@ -0,0 +1,12 @@ +atanks (1.1.0-2) unstable; urgency=low + + * Include Help.txt in the doc dir. (closes: #247646) + * Correct the watch file. + + -- Graham Wilson Fri, 07 May 2004 04:18:25 +0000 + +atanks (1.1.0-1) unstable; urgency=low + + * Initial release. (closes: #227648) + + -- Graham Wilson Tue, 09 Mar 2004 05:34:39 +0000 --- atanks-1.1.0.orig/debian/copyright +++ atanks-1.1.0/debian/copyright @@ -0,0 +1,17 @@ +Atomic tanks was written by Tom Hudson, Stevante Software and Kota543 +Software. The Debian package is maintained by Graham Wilson. + +The source was obtained from: http://atanks.sourceforge.net/ + +This program is free software; you can redistribute it and/or modify it +under the terms of the GNU General Public License as published by the +Free Software Foundation; either version 2 of the License, or (at your +option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +General Public License for more details. + +On Debian systems, a copy of the GNU General public license can be found +in `/usr/share/common-licenses/GPL'. --- atanks-1.1.0.orig/debian/compat +++ atanks-1.1.0/debian/compat @@ -0,0 +1,1 @@ +4 --- atanks-1.1.0.orig/debian/menu +++ atanks-1.1.0/debian/menu @@ -0,0 +1,3 @@ +?package(atanks):needs="x11" section="Games/Arcade" \ + title="Atomic Tanks" command="/usr/games/atanks" \ + icon="/usr/share/pixmaps/atanks-icon.xpm" --- atanks-1.1.0.orig/debian/docs +++ atanks-1.1.0/debian/docs @@ -0,0 +1,3 @@ +BUGS +TODO +Help.txt --- atanks-1.1.0.orig/debian/atanks.6 +++ atanks-1.1.0/debian/atanks.6 @@ -0,0 +1,67 @@ +.\" $Id$ +.\" +.\" Copyright (C) 2004 Graham Wilson +.\" +.\" Permission is hereby granted, free of charge, to any person obtaining +.\" a copy of this software and associated documentation files (the +.\" "Software"), to deal in the Software without restriction, including +.\" without limitation the rights to use, copy, modify, merge, publish, +.\" distribute, sublicense, and/or sell copies of the Software, and to +.\" permit persons to whom the Software is furnished to do so, subject to +.\" the following conditions: +.\" +.\" The above copyright notice and this permission notice shall be +.\" included in all copies or substantial portions of the Software. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +.\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +.\" IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +.\" CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +.\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +.\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +.TH ATANKS 6 "17 April 2004" "" atanks +.\" +.SH NAME +atanks \- obliterate each other with oversize weapons +.\" +.SH SYNOPSIS +.B atanks +[\fIoptions\fP] +.\" +.SH DESCRIPTION +Atomic Tanks is a multi\-player game in which you attempt to destroy +other tanks while trying to protect your own. You earn money for +destroying other tanks; with this money you can buy upgrades and better +weapons for your tank. +.PP +This game is similar Scorched Earth or the Worms series of games. +.\"" +.SH OPTIONS +.TP +\fB\-v\fR, \fB\-\-verbose\fR +display extra information while running +.TP +\fB\-h\fR +display a brief message showing which options can be used +.TP +\fB\-fs\fR +run Atomic Tanks in full screen mode +.TP +\fB\-\-windowed\fR +run Atomic Tanks in a window (this is the default) +.TP +\fB\-d\fR, \fB\-\-depth\fR 16|32 +set th the color depth to either 16 or 32 bits +.TP +\fB\-w\fR, \fB\-\-width \fIwidth\fR +set the window width (default is 800) +.TP +\fB\-\-height \fIheight\fR +set the window height (default is 600) +.\" +.SH AUTHOR +Atomic Tanks was written by Tom Hudson . This +manual page was written by Graham Wilson for the +Debian project, but may be used by others. --- atanks-1.1.0.orig/debian/watch +++ atanks-1.1.0/debian/watch @@ -0,0 +1,2 @@ +version=2 +ftp://sourceforge.cs.umn.edu/pub/sourceforge/a/at/atanks/atanks-([0-9a-z.]*)\.tar.gz --- atanks-1.1.0.orig/debian/icon.xpm +++ atanks-1.1.0/debian/icon.xpm @@ -0,0 +1,100 @@ +/* XPM */ +static char * icon_xpm[] = { +"32 32 65 1", +" c None", +". c #020501", +"+ c #0E1409", +"@ c #271426", +"# c #212500", +"$ c #22242B", +"% c #073D00", +"& c #2A2F27", +"* c #323304", +"= c #005B00", +"- c #4B3127", +"; c #47380F", +"> c #23550E", +", c #294F2E", +"' c #5B3061", +") c #007200", +"! c #384A49", +"~ c #583961", +"{ c #643849", +"] c #4F4C2A", +"^ c #0B702B", +"/ c #4A4B49", +"( c #216C08", +"_ c #BE1438", +": c #505218", +"< c #494A69", +"[ c #665033", +"} c #306F23", +"| c #773E77", +"1 c #009103", +"2 c #2C7141", +"3 c #7E4167", +"4 c #87397D", +"5 c #4E6E24", +"6 c #864278", +"7 c #884386", +"8 c #2F8A05", +"9 c #238D28", +"0 c #9A427A", +"a c #686A2D", +"b c #646D4D", +"c c #9B4D88", +"d c #7B607C", +"e c #964F92", +"f c #696D70", +"g c #876667", +"h c #A75088", +"i c #7D629B", +"j c #1AAD1A", +"k c #4F8F4E", +"l c #588F39", +"m c #AC5399", +"n c #3DAD07", +"o c #8868B0", +"p c #B65F9B", +"q c #4CAB25", +"r c #88894A", +"s c #64A333", +"t c #6293AB", +"u c #5D9BA5", +"v c #42E044", +"w c #A5B26E", +"x c #AAA8AC", +"y c #6CDB53", +"z c #91E46A", +"''3hcc0hhmpmmphhch40h0cc0006667|", +"'''hhhhhhcppmmmmchchcc00c006c667", +"'''|mhhpphpememmcmc,]67600000ee7", +"'~~'phppppmmmcecchhl)..006600ccc", +"''~~6cphpepemhcecch81(+.6606000c", +"'''''cpcmphhhecichh(qn((.3466c6c", +"~'''~epehmppmhmppmknsnnn(/4666ce", +"'''''~mcdecimeeeem8qqsq86|6d66c|", +"''~''~|cpimcppmoc98sqql46||06667", +"~'''''~hcppcecmcelqnq8k666|00d|6", +"t''~'~'hppiccpcchnsnng466|6cc666", +"tt~''''|pppipcp0kn8n7dcc0606o6|3", +"tt''~'~~mpmomeh00qk0666660|66||6", +"ttt'''''omppe/,}j0ccccccc|c6|d64", +"tttt~~''~mp>^}5l8:&b0ccmccc6|6||", +"ttttti~''o!99^}(1(l>-ceccpeed7||", +"utttttt'~&syyvyzzzzzj]],]>cee|||", +"ttttttttb>1yvvyzyysvj#:::r*ecc66", +"tttttttu#;jjqvjjjj18^#*]]:#e|d|6", +"ttttttt*a#b981))j198(*:]::>0cc60", +"ttttttt]a*.2s9^9}9b}.:a]r+ccce|6", +"tttttt*::::+.#%++###:::ra0o|6c66", +"ttttt#:]:::::*:#;*r::*rxae7e7e66", +"tttt;:g[5][[a[;:[;b:;:wr*de7e7cc", +"tttt=,)}=)f2))$i>jq11{rr.ututttt", +"ttttt,@(%8k%f$)/)#,>%j<$uttttttt", +"tttttttt(&')%%1d=%!&%1$rttuttttt", +"ttttttttuttk(=~|1=%%=j+ttttttutt", +"tttt____________)8=11@x____ttttt", +"tttt______________f]$______ttttu", +"tttttttttttttuttuutttttttttttttt", +"tttttttttttttttttttttttttttttttt"}; --- atanks-1.1.0.orig/debian/atanks-data.install +++ atanks-1.1.0/debian/atanks-data.install @@ -0,0 +1,13 @@ +button.dat /usr/share/games/atanks +credits.txt /usr/share/games/atanks +gloat.txt /usr/share/games/atanks +Help.txt /usr/share/games/atanks +instr.txt /usr/share/games/atanks +misc.dat /usr/share/games/atanks +missile.dat /usr/share/games/atanks +revenge.txt /usr/share/games/atanks +sound.dat /usr/share/games/atanks +stock.dat /usr/share/games/atanks +tank.dat /usr/share/games/atanks +tankgun.dat /usr/share/games/atanks +title.dat /usr/share/games/atanks --- atanks-1.1.0.orig/debian/atanks.install +++ atanks-1.1.0/debian/atanks.install @@ -0,0 +1,1 @@ +atanks /usr/games --- atanks-1.1.0.orig/src/Makefile +++ atanks-1.1.0/src/Makefile @@ -4,14 +4,14 @@ globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o CC = g++ -FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\".\" +FLAGS = -DLINUX -DVERSION=\"${VERSION}\" -DDATA_DIR=\"/usr/share/games/atanks\" OUTPUT = ../atanks WFLAGS = OFLAGS = LFLAGS += LDFLAGS = `allegro-config --libs` -CFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage +CFLAGS += -fsigned-char -Wall -Iinclude # -fprofile-arcs -ftest-coverage CFLAGS += -g # debug vs optimize flags SRCS = $(MODULES:.o=.cc)