r3847 - in packages/trunk/titanion: . debian debian/patches

Miriam Ruiz baby-guest at alioth.debian.org
Sun Aug 26 17:25:39 UTC 2007


Author: baby-guest
Date: 2007-08-26 17:25:39 +0000 (Sun, 26 Aug 2007)
New Revision: 3847

Added:
   packages/trunk/titanion/debian/
   packages/trunk/titanion/debian/changelog
   packages/trunk/titanion/debian/compat
   packages/trunk/titanion/debian/control
   packages/trunk/titanion/debian/copyright
   packages/trunk/titanion/debian/docs
   packages/trunk/titanion/debian/menu
   packages/trunk/titanion/debian/patches/
   packages/trunk/titanion/debian/patches/fix.diff
   packages/trunk/titanion/debian/patches/series
   packages/trunk/titanion/debian/rules
   packages/trunk/titanion/debian/titanion-data.install
   packages/trunk/titanion/debian/titanion.6
   packages/trunk/titanion/debian/titanion.desktop
   packages/trunk/titanion/debian/titanion.install
   packages/trunk/titanion/debian/titanion.xpm
Log:
[svn-inject] Applying Debian modifications to trunk


Property changes on: packages/trunk/titanion/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/trunk/titanion/debian/changelog
===================================================================
--- packages/trunk/titanion/debian/changelog	                        (rev 0)
+++ packages/trunk/titanion/debian/changelog	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,5 @@
+titanion (0.3.dfsg1-1) unstable; urgency=low
+
+  * Initial release (Closes: #439682)
+
+ -- Miriam Ruiz <little_miry at yahoo.es>  Sat, 25 Aug 2007 19:58:40 +0000

Added: packages/trunk/titanion/debian/compat
===================================================================
--- packages/trunk/titanion/debian/compat	                        (rev 0)
+++ packages/trunk/titanion/debian/compat	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1 @@
+5

Added: packages/trunk/titanion/debian/control
===================================================================
--- packages/trunk/titanion/debian/control	                        (rev 0)
+++ packages/trunk/titanion/debian/control	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,38 @@
+Source: titanion
+Section: games
+Priority: extra
+Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org> 
+Uploaders: Miriam Ruiz <little_miry at yahoo.es>, Peter De Wachter <pdewacht at gmail.com>
+Build-Depends: debhelper (>= 5), ant, quilt, gdc,
+ libglu1-mesa-dev | libglu-dev, libgl1-mesa-dev | libgl-dev,
+ libsdl1.2-dev, libsdl-mixer1.2-dev
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/titanion/
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/titanion/?op=log
+
+Package: titanion
+Architecture: any
+Depends: titanion-data (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Description: strike down super high-velocity swooping insects
+ Titanion is an abstract shooter game. While we fire with one button, the
+ other one acts as a tractor ray to attract the enemies and take them to
+ the combat line. The game in itself is quite simple, but with such
+ graphics and playability that it's worth a try.
+ .
+ Titanion is another gem among many by Kenta Cho.
+ .
+  Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html
+
+Package: titanion-data
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: titanion
+Description: strike down super high-velocity swooping insects - game data
+ Titanion is an abstract shooter game. While we fire with one button, the
+ other one acts as a tractor ray to attract the enemies and take them to
+ the combat line. The game in itself is quite simple, but with such
+ graphics and playability that it's worth a try.
+ .
+ This package includes the architecture-independent data for the game Titanion.
+ .
+  Homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html

Added: packages/trunk/titanion/debian/copyright
===================================================================
--- packages/trunk/titanion/debian/copyright	                        (rev 0)
+++ packages/trunk/titanion/debian/copyright	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,62 @@
+This package was debianized by Miriam Ruiz <little_miry at yahoo.es> on
+Sat, 25 Aug 2007 19:58:40 +0000.
+
+It was downloaded from http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html
+
+Upstream Author: 
+
+    Kenta Cho <cs8k-cyu at asahi-net.or.jp>
+
+Copyright: 
+
+    Copyright 2006 Kenta Cho
+
+    import/SDL* : Copyright (C) 1997, 1998, 1999, 2000, 2001  Sam Lantinga
+
+License:
+
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions
+    are met: 
+
+     1. Redistributions of source code must retain the above copyright notice, 
+        this list of conditions and the following disclaimer. 
+
+     2. Redistributions in binary form must reproduce the above copyright notice, 
+        this list of conditions and the following disclaimer in the documentation 
+        and/or other materials provided with the distribution. 
+
+    THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 
+    INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 
+    FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 
+    THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+    SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+    PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 
+    OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
+    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
+    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
+    ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
+
+
+import/SDL*:
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library 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
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2007, Miriam Ruiz <little_miry at yahoo.es> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: packages/trunk/titanion/debian/docs
===================================================================
--- packages/trunk/titanion/debian/docs	                        (rev 0)
+++ packages/trunk/titanion/debian/docs	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,2 @@
+readme_e.txt
+readme.txt

Added: packages/trunk/titanion/debian/menu
===================================================================
--- packages/trunk/titanion/debian/menu	                        (rev 0)
+++ packages/trunk/titanion/debian/menu	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,3 @@
+?package(titanion):needs="X11" section="Games/Action"\
+  title="Titanion" command="/usr/games/titanion" \
+  icon="/usr/share/pixmaps/titanion.xpm"

Added: packages/trunk/titanion/debian/patches/fix.diff
===================================================================
--- packages/trunk/titanion/debian/patches/fix.diff	                        (rev 0)
+++ packages/trunk/titanion/debian/patches/fix.diff	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,578 @@
+Index: titanion-0.3.dfsg1/Makefile
+===================================================================
+--- /dev/null	1970-01-01 00:00:00.000000000 +0000
++++ titanion-0.3.dfsg1/Makefile	2007-08-26 17:22:28.000000000 +0000
+@@ -0,0 +1,30 @@
++DC=gdmd
++#DC=gdc
++ifeq ($(DC), gdmd)
++DFLAGS=-O -release -Iimport -Isrc
++#DFLAGS=-g -debug -Iimport -Isrc
++DOUT=-of
++else
++DFLAGS=-O -frelease -Iimport -Isrc
++#DFLAGS=-g -fdebug -Iimport -Isrc
++DOUT=-o
++endif
++
++DSRC=$(shell find src/abagames -name "*.d")
++SOURCES=$(DSRC) import/SDL_video.d import/SDL_mixer.d
++OBJS=$(SOURCES:.d=.o)
++EXE=titanion
++
++all: $(EXE)
++
++$(EXE): $(OBJS)
++	gcc -o $@ $(OBJS) -lgphobos -lpthread -lm -lSDL -lGL -lGLU -lSDL_mixer
++
++$(OBJS):
++	$(DC) -c -op $(DFLAGS) $(SOURCES)
++
++#$(OBJS): %.o: %.d
++#	$(DC) -c $(DOUT)$@ $(DFLAGS) $<
++
++clean:
++	rm -f $(OBJS) $(EXE)
+Index: titanion-0.3.dfsg1/src/abagames/ttn/bullet.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/bullet.d	2006-12-04 16:04:26.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/bullet.d	2007-08-26 17:22:28.000000000 +0000
+@@ -59,7 +59,54 @@
+   }
+ }
+ 
+-public class Bullet: Token!(BulletState, BulletSpec) {
++public class Token2(ST, SP): Actor {
++ protected:
++  ST state;
++  SP spec;
++
++  public void init(Object[] args) {
++    state = new ST;
++  }
++
++  public void set(SP spec, Vector pos, float deg, float speed) {
++    set(spec, pos.x, pos.y, deg, speed);
++  }
++
++  public void set(SP spec, float x, float y, float deg, float speed) {
++    this.spec = spec;
++    set(x, y, deg, speed);
++  }
++
++  public void set(float x, float y, float deg, float speed) {
++    state.clear();
++    state.pos.x = x;
++    state.pos.y = y;
++    state.deg = deg;
++    state.speed = speed;
++    spec.set(state);
++    _exists = true;
++  }
++
++  public void move() {
++    if (!spec.move(state))
++      remove();
++  }
++
++  public void remove() {
++    _exists = false;
++    spec.removed(state);
++  }
++
++  public void draw() {
++    spec.draw(state);
++  }
++
++  public Vector pos() {
++    return state.pos;
++  }
++}
++
++public class Bullet: Token2!(BulletState, BulletSpec) {
+  private:
+ 
+   public void setWaitCnt(int c) {
+@@ -102,7 +149,28 @@
+   }
+ }
+ 
+-public class BulletSpec: TokenSpec!(BulletState) {
++public class TokenSpec2(T) {
++ protected:
++  Field field;
++  Shape shape;
++
++  public void set(T state) {}
++  public void removed(T state) {}
++
++  public bool move(T state) {
++    return true;
++  }
++
++  public void draw(T state) {
++    with (state) {
++      Vector3 p = field.calcCircularPos(pos);
++      float cd = field.calcCircularDeg(pos.x);
++      shape.draw(p, cd, deg);
++    }
++  }
++}
++
++public class BulletSpec: TokenSpec2!(BulletState) {
+  private:
+   static const float DISAPPEAR_CNT = 300;
+   Player player;
+Index: titanion-0.3.dfsg1/src/abagames/ttn/enemy.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/enemy.d	2006-12-09 04:17:40.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/enemy.d	2007-08-26 17:22:28.000000000 +0000
+@@ -188,7 +188,54 @@
+   }
+ }
+ 
+-public class Enemy: Token!(EnemyState, EnemySpec) {
++public class Token2(ST, SP): Actor {
++ protected:
++  ST state;
++  SP spec;
++
++  public void init(Object[] args) {
++    state = new ST;
++  }
++
++  public void set(SP spec, Vector pos, float deg, float speed) {
++    set(spec, pos.x, pos.y, deg, speed);
++  }
++
++  public void set(SP spec, float x, float y, float deg, float speed) {
++    this.spec = spec;
++    set(x, y, deg, speed);
++  }
++
++  public void set(float x, float y, float deg, float speed) {
++    state.clear();
++    state.pos.x = x;
++    state.pos.y = y;
++    state.deg = deg;
++    state.speed = speed;
++    spec.set(state);
++    _exists = true;
++  }
++
++  public void move() {
++    if (!spec.move(state))
++      remove();
++  }
++
++  public void remove() {
++    _exists = false;
++    spec.removed(state);
++  }
++
++  public void draw() {
++    spec.draw(state);
++  }
++
++  public Vector pos() {
++    return state.pos;
++  }
++}
++
++public class Enemy: Token2!(EnemyState, EnemySpec) {
+  private:
+ 
+   public override void init(Object[] args) {
+@@ -423,7 +470,28 @@
+   }
+ }
+ 
+-public class EnemySpec: TokenSpec!(EnemyState) {
++public class TokenSpec2(T) {
++ protected:
++  Field field;
++  Shape shape;
++
++  public void set(T state) {}
++  public void removed(T state) {}
++
++  public bool move(T state) {
++    return true;
++  }
++
++  public void draw(T state) {
++    with (state) {
++      Vector3 p = field.calcCircularPos(pos);
++      float cd = field.calcCircularDeg(pos.x);
++      shape.draw(p, cd, deg);
++    }
++  }
++}
++
++public class EnemySpec: TokenSpec2!(EnemyState) {
+   mixin StaticRandImpl;
+  protected:
+   static const float BULLET_HIT_WIDTH = 0.8f;
+@@ -1464,7 +1532,7 @@
+   }
+ }
+ 
+-public class TurretSpec: TokenSpec!(TurretState) {
++public class TurretSpec: TokenSpec2!(TurretState) {
+   mixin StaticRandImpl;
+  public:
+   static const float SPEED_RATIO = 5.0f;
+Index: titanion-0.3.dfsg1/src/abagames/ttn/particle.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/particle.d	2006-12-04 16:04:26.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/particle.d	2007-08-26 17:22:28.000000000 +0000
+@@ -24,7 +24,55 @@
+ public class ParticlePool: ActorPool!(Particle) {
+ }
+ 
+-public class Particle: Token!(ParticleState, ParticleSpec) {
++public class Token2(ST, SP): Actor {
++ protected:
++  ST state;
++  SP spec;
++
++  public void init(Object[] args) {
++    state = new ST;
++  }
++
++  public void set(SP spec, Vector pos, float deg, float speed) {
++    set(spec, pos.x, pos.y, deg, speed);
++  }
++
++  public void set(SP spec, float x, float y, float deg, float speed) {
++    this.spec = spec;
++    set(x, y, deg, speed);
++  }
++
++  public void set(float x, float y, float deg, float speed) {
++    state.clear();
++    state.pos.x = x;
++    state.pos.y = y;
++    state.deg = deg;
++    state.speed = speed;
++    spec.set(state);
++    _exists = true;
++  }
++
++  public void move() {
++    if (!spec.move(state))
++      remove();
++  }
++
++  public void remove() {
++    _exists = false;
++    spec.removed(state);
++  }
++
++  public void draw() {
++    spec.draw(state);
++  }
++
++  public Vector pos() {
++    return state.pos;
++  }
++}
++
++
++public class Particle: Token2!(ParticleState, ParticleSpec) {
+  public:
+   static const enum Shape {
+     TRIANGLE, LINE, QUAD, BONUS,
+@@ -153,7 +201,28 @@
+   }
+ }
+ 
+-public class ParticleSpec: TokenSpec!(ParticleState) {
++public class TokenSpec2(T) {
++ protected:
++  Field field;
++  Shape shape;
++
++  public void set(T state) {}
++  public void removed(T state) {}
++
++  public bool move(T state) {
++    return true;
++  }
++
++  public void draw(T state) {
++    with (state) {
++      Vector3 p = field.calcCircularPos(pos);
++      float cd = field.calcCircularDeg(pos.x);
++      shape.draw(p, cd, deg);
++    }
++  }
++}
++
++public class ParticleSpec: TokenSpec2!(ParticleState) {
+   mixin StaticRandImpl;
+  private:
+   Player player;
+Index: titanion-0.3.dfsg1/src/abagames/ttn/pillar.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/pillar.d	2006-11-19 07:54:55.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/pillar.d	2007-08-26 17:22:28.000000000 +0000
+@@ -6,6 +6,7 @@
+ module abagames.ttn.pillar;
+ 
+ private import std.math;
++private import abagames.util.vector;
+ private import abagames.util.actor;
+ private import abagames.ttn.field;
+ private import abagames.ttn.token;
+@@ -38,7 +39,54 @@
+   }
+ }
+ 
+-public class Pillar: Token!(PillarState, PillarSpec) {
++public class Token2(ST, SP): Actor {
++ protected:
++  ST state;
++  SP spec;
++
++  public void init(Object[] args) {
++    state = new ST;
++  }
++
++  public void set(SP spec, Vector pos, float deg, float speed) {
++    set(spec, pos.x, pos.y, deg, speed);
++  }
++
++  public void set(SP spec, float x, float y, float deg, float speed) {
++    this.spec = spec;
++    set(x, y, deg, speed);
++  }
++
++  public void set(float x, float y, float deg, float speed) {
++    state.clear();
++    state.pos.x = x;
++    state.pos.y = y;
++    state.deg = deg;
++    state.speed = speed;
++    spec.set(state);
++    _exists = true;
++  }
++
++  public void move() {
++    if (!spec.move(state))
++      remove();
++  }
++
++  public void remove() {
++    _exists = false;
++    spec.removed(state);
++  }
++
++  public void draw() {
++    spec.draw(state);
++  }
++
++  public Vector pos() {
++    return state.pos;
++  }
++}
++
++public class Pillar: Token2!(PillarState, PillarSpec) {
+  private:
+ 
+   public void set(PillarSpec ps, float y, float maxY, Pillar pp, PillarShape s, float vdeg, bool outside = false) {
+@@ -83,7 +131,28 @@
+   }
+ }
+ 
+-public class PillarSpec:TokenSpec!(PillarState) {
++public class TokenSpec2(T) {
++ protected:
++  Field field;
++  Shape shape;
++
++  public void set(T state) {}
++  public void removed(T state) {}
++
++  public bool move(T state) {
++    return true;
++  }
++
++  public void draw(T state) {
++    with (state) {
++      Vector3 p = field.calcCircularPos(pos);
++      float cd = field.calcCircularDeg(pos.x);
++      shape.draw(p, cd, deg);
++    }
++  }
++}
++
++public class PillarSpec:TokenSpec2!(PillarState) {
+  private:
+   static const VELOCITY_Y = 0.025f;
+ 
+Index: titanion-0.3.dfsg1/src/abagames/ttn/player.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/player.d	2006-12-04 16:04:26.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/player.d	2007-08-26 17:22:28.000000000 +0000
+@@ -24,10 +24,57 @@
+ private import abagames.ttn.sound;
+ private import abagames.ttn.letter;
+ 
++public class Token2(ST, SP): Actor {
++ protected:
++  ST state;
++  SP spec;
++
++  public void init(Object[] args) {
++    state = new ST;
++  }
++
++  public void set(SP spec, Vector pos, float deg, float speed) {
++    set(spec, pos.x, pos.y, deg, speed);
++  }
++
++  public void set(SP spec, float x, float y, float deg, float speed) {
++    this.spec = spec;
++    set(x, y, deg, speed);
++  }
++
++  public void set(float x, float y, float deg, float speed) {
++    state.clear();
++    state.pos.x = x;
++    state.pos.y = y;
++    state.deg = deg;
++    state.speed = speed;
++    spec.set(state);
++    _exists = true;
++  }
++
++  public void move() {
++    if (!spec.move(state))
++      remove();
++  }
++
++  public void remove() {
++    _exists = false;
++    spec.removed(state);
++  }
++
++  public void draw() {
++    spec.draw(state);
++  }
++
++  public Vector pos() {
++    return state.pos;
++  }
++}
++
+ /**
+  * Player and shots.
+  */
+-public class Player: Token!(PlayerState, PlayerSpec) {
++public class Player: Token2!(PlayerState, PlayerSpec) {
+  private:
+   Vector hitOffset;
+ 
+@@ -300,7 +347,28 @@
+   }
+ }
+ 
+-public class PlayerSpec: TokenSpec!(PlayerState) {
++public class TokenSpec2(T) {
++ protected:
++  Field field;
++  Shape shape;
++
++  public void set(T state) {}
++  public void removed(T state) {}
++
++  public bool move(T state) {
++    return true;
++  }
++
++  public void draw(T state) {
++    with (state) {
++      Vector3 p = field.calcCircularPos(pos);
++      float cd = field.calcCircularDeg(pos.x);
++      shape.draw(p, cd, deg);
++    }
++  }
++}
++
++public class PlayerSpec: TokenSpec2!(PlayerState) {
+   mixin StaticRandImpl;
+  public:
+   static const float BASE_SPEED = 0.15f;
+@@ -768,7 +836,7 @@
+   }
+ }
+ 
+-public class Shot: Token!(ShotState, ShotSpec) {
++public class Shot: Token2!(ShotState, ShotSpec) {
+  private:
+   
+   public void setParent(Shot s) {
+@@ -788,7 +856,7 @@
+   }
+ }
+ 
+-public class ShotSpec: TokenSpec!(ShotState) {
++public class ShotSpec: TokenSpec2!(ShotState) {
+  private:
+   EnemyPool enemies;
+   BulletPool bullets;
+Index: titanion-0.3.dfsg1/src/abagames/ttn/screen.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/screen.d	2006-12-04 16:04:26.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/screen.d	2007-08-26 17:22:28.000000000 +0000
+@@ -21,7 +21,7 @@
+   Field field;
+ 
+   protected void setIcon() {
+-    SDL_WM_SetIcon(SDL_LoadBMP(ICON_FILE_NAME), null);
++//    SDL_WM_SetIcon(SDL_LoadBMP(ICON_FILE_NAME), null);
+   }
+ 
+   protected void init() {
+Index: titanion-0.3.dfsg1/src/abagames/util/rand.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/util/rand.d	2006-11-19 07:54:55.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/util/rand.d	2007-08-26 17:22:28.000000000 +0000
+@@ -176,14 +176,14 @@
+ 
+ void next_state()
+ {
+-    uint *p=state;
++    uint *p=state.ptr;
+ 
+     /* if init_genrand() has not been called, */
+     /* a default initial seed is used         */
+     if (initf==0) init_genrand(5489UL);
+ 
+     left = N;
+-    next = state;
++    next = state.ptr;
+     
+     for (int j=N-M+1; --j; p++) 
+         *p = p[M] ^ TWIST(p[0], p[1]);
+Index: titanion-0.3.dfsg1/src/abagames/util/sdl/texture.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/util/sdl/texture.d	2006-11-19 07:54:55.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/util/sdl/texture.d	2007-08-26 17:22:28.000000000 +0000
+@@ -103,13 +103,13 @@
+         }
+         glBindTexture(GL_TEXTURE_2D, num + ti);
+         gluBuild2DMipmaps(GL_TEXTURE_2D, 4, panelWidth, panelHeight,
+-                          GL_RGBA, GL_UNSIGNED_BYTE, pixels);
++                          GL_RGBA, GL_UNSIGNED_BYTE, pixels.ptr);
+         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST);
+         glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
+         if (maskColor != 0xffffffffu) {
+           glBindTexture(GL_TEXTURE_2D, maskNum + ti);
+           gluBuild2DMipmaps(GL_TEXTURE_2D, 4, panelWidth, panelHeight,
+-                            GL_RGBA, GL_UNSIGNED_BYTE, maskPixels);
++                            GL_RGBA, GL_UNSIGNED_BYTE, maskPixels.ptr);
+           glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_NEAREST);
+           glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
+         }

Added: packages/trunk/titanion/debian/patches/series
===================================================================
--- packages/trunk/titanion/debian/patches/series	                        (rev 0)
+++ packages/trunk/titanion/debian/patches/series	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1 @@
+fix.diff

Added: packages/trunk/titanion/debian/rules
===================================================================
--- packages/trunk/titanion/debian/rules	                        (rev 0)
+++ packages/trunk/titanion/debian/rules	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	$(MAKE) -f /usr/share/quilt/quilt.make patch
+	touch $@
+
+build: build-stamp
+build-stamp: configure-stamp 
+	dh_testdir
+	ant
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+	ant clean
+	rm -f a7xpg
+	rm -f `find . -name "*.o"`
+	$(MAKE) -f /usr/share/quilt/quilt.make unpatch
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installmenu
+	dh_installman debian/*.6
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+get-orig-source:
+	dh_testdir
+	dh_testroot
+	wget http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn0_3.zip
+	unzip ttn0_3.zip
+	rm ttn/*.dll
+	rm ttn/*.exe
+	rm ttn/lib/*.lib
+	rm ttn/resource/*.RES
+	tar cvfz ../titanion_0.3.dfsg1.orig.tar.gz ttn
+	rm -rf ttn0_3.zip ttn
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source


Property changes on: packages/trunk/titanion/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/titanion/debian/titanion-data.install
===================================================================
--- packages/trunk/titanion/debian/titanion-data.install	                        (rev 0)
+++ packages/trunk/titanion/debian/titanion-data.install	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,2 @@
+images usr/share/games/a7xpg/
+sounds usr/share/games/a7xpg/

Added: packages/trunk/titanion/debian/titanion.6
===================================================================
--- packages/trunk/titanion/debian/titanion.6	                        (rev 0)
+++ packages/trunk/titanion/debian/titanion.6	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,171 @@
+.\" (c) 2007 Miriam Ruiz <little_miry at yahoo.es>
+.\" (c) 2006 Kenta Cho <cs8k-cyu at asahi-net.or.jp>
+.\" 
+.\" This document 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 package 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.
+.\" 
+.\" You should have received a copy of the GNU General Public License
+.\" along with this package; if not, write to the Free Software
+.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+.TH "Titanion" "6" "" "" ""
+.SH "NAME"
+titanion \- strike down super high\-velocity swooping insects
+.SH "DESCRIPTION"
+Strike down super high\-velocity swooping insects.
+Fixed shooter in the good old days, 'Titanion'.
+
+Titanion is an abstract shooter game. While we fire with one button, the
+other one acts as a tractor ray to attract the enemies and take them to
+the combat line.
+
+The game in itself is quite simple, but with such graphics and playability that it's a great experience to play.
+.SH "OPTIONS"
+These command\-line options are available:
+.TP 
+\fB\-brightness n\fR
+Set the brightness of the screen. (n = 0 \- 100, default = 100)
+.TP 
+\fB\-res x y\fR
+Set the screen resolution to (x, y). (default = 640, 480)
+.TP 
+\fB\-nosound\fR
+Stop the sound.
+.TP 
+\fB\-bgmvol n\fR
+Set the volume of BGMs. (n = 0 \- 128, default = 100)
+.TP 
+\fB\-sevol n\fR
+Set the volume of SEs. (n = 0 \- 128, default = 100)
+.TP 
+\fB\-fullscreen\fR
+Run in full\-screen mode.
+.TP 
+\fB\-exchange\fR
+Exchange the shot button and the beam button.
+.TP 
+\fB\-trail\fR
+Add a trail effect to enemies.
+.TP 
+\fB\-noslowdown\fR
+Stop an intentional slowdown.
+.TP 
+\fB\-randomized\fR
+Attack patterns of enemies randomly change with each play.
+.SH "USAGE"
+* How to start
+
+At the title screen, you can select a game mode (CLASSIC, BASIC, MODERN) with the up/down key. Push a shot button to start a game.
+
+.TP 
+\fBCLASSIC mode\fR
+ \- Sporadic firing.
+ \- Use a capture beam to make a friend of an enemy.
+ \- When your ship collides against an enemy, your ship is destroyed.
+
+.TP 
+\fBBASIC mode\fR
+ \- Middle course.
+ \- You can use the capture beam anytime.
+ \- When your ship collides against an enemy, your ship is knocked away.
+
+.TP 
+\fBMODERN mode\fR
+ \- Bullet hell.
+ \- Use a provocation beam to force an enemy to fire more bullets and earn a bullet multiplier bonus.
+ \- When your ship collides against an enemy, nothing happens. Your ship and an enemy go through each other.
+.P
+
+
+* How to play
+
+Avoid incoming bullets and strike down all enemies.
+
+Controls:
+.TP 
+\fBMove\fR
+Arrow / Num / [WASD] / [IJKL] / Stick
+
+.TP 
+\fBShot\fR
+[Z][L\-Ctrl][R\-Ctrl][.] / Button 1, 3, 5, 7, 9, 11
+
+ Hold down a button to fire automatically.
+
+ + MODERN mode
+  \- Hold a provocation beam button at the same time
+    to slow down speed of your ship and fire intensively.
+
+.TP 
+\fBCapture beam / Provocation beam\fR
+[X][L\-Alt][R\-Alt][L\-Shift][R\-Shift][/][Return] / Button 2, 4, 6, 8, 10, 12
+
+ + CLASSIC mode \- Capture beam
+  You can capture enemies with the capture beam.
+  To fire the capture beam, a capture beam energy (displayed in the left panel)
+  should be full. The capture beam energy increased when you destroy an enemy.
+  Captured enemies are lined up beside the player and
+  counterattack to other enemies.
+  Your ship is invincible when you are firing the capture beam.
+
+ + BASIC mode \- Capture beam
+  You can use the capture beam anytime, but your ship isn't invincible
+  while firing.
+
+ + MODERN mode \- Provocation beam
+  The provocation beam forces an enemy to fire more bullets and
+  you can earn more bullet multiplier bonus.
+  You have to release the shot button to fire the provocation beam.
+
+.TP 
+\fBPause\fR
+[P]
+
+.TP 
+\fBExit / Return to the title\fR
+[ESC]
+.P
+
+Multiplier:
+
+A score multiplier is displayed in the upper right. It increases when you destroy a enemy and decreases slowly when the enemy is on the screen.
+
+Proximity multiplier:
+
+.TP 
+\fBBASIC mode\fR
+When you destroy an enemy at close range, you can get a proximity multiplier (Max x16).
+.P
+
+Bullet multiplier:
+
+.TP 
+\fBMODERN mode\fR
+When you destroy a pink midsize enemy, bullets flying side\-by\-side are changed into a bullet multiplier in a chain reaction. Use the provocation beam to the midsize enemy to get higher bonus.
+.P
+
+Extra ship:
+
+.TP 
+\fBCLASSIC mode\fR
+You earn an extra ship every 100,000 points.
+
+.TP 
+\fBBASIC mode\fR
+You earn an extra ship every 1,000,000 points.
+
+.TP 
+\fBMODERN mode\fR
+A score to earn the next extra ship is displayed in the upper left.
+
+.P
+.SH "SEE ALSO"
+You can find more about the game on its homepage: http://www.asahi\-net.or.jp/~cs8k\-cyu/windows/ttn_e.html
+.SH "AUTHOR"
+This game has been written by Kenta Cho <cs8k\-cyu at asahi\-net.or.jp>

Added: packages/trunk/titanion/debian/titanion.desktop
===================================================================
--- packages/trunk/titanion/debian/titanion.desktop	                        (rev 0)
+++ packages/trunk/titanion/debian/titanion.desktop	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+Name=Titanion
+GenericName=
+Comment=Kenta Cho's Titanion
+Icon=titanion.xpm
+Exec=/usr/games/titanion
+Terminal=false
+Categories=Game;ArcadeGame;

Added: packages/trunk/titanion/debian/titanion.install
===================================================================
--- packages/trunk/titanion/debian/titanion.install	                        (rev 0)
+++ packages/trunk/titanion/debian/titanion.install	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,3 @@
+a7xpg usr/games/
+debian/*.xpm usr/share/pixmaps/
+debian/*.desktop usr/share/applications/

Added: packages/trunk/titanion/debian/titanion.xpm
===================================================================
--- packages/trunk/titanion/debian/titanion.xpm	                        (rev 0)
+++ packages/trunk/titanion/debian/titanion.xpm	2007-08-26 17:25:39 UTC (rev 3847)
@@ -0,0 +1,145 @@
+/* XPM */
+static char *dummy[]={
+"32 32 110 2",
+"Qt c #000000",
+"#s c #010101",
+"#e c #040404",
+".g c #050505",
+".U c #060606",
+".Z c #0a0a0a",
+"#t c #0b0b0b",
+".i c #0d0d0d",
+".W c #0e0e0e",
+"#K c #0f0f0f",
+"#w c #141414",
+".a c #191919",
+"#p c #1f1f1f",
+"#L c #202020",
+"#N c #242424",
+"#m c #252525",
+"#h c #282828",
+".F c #2b2b2b",
+"#M c #2e2e2e",
+".q c #313131",
+".z c #353535",
+".L c #363636",
+"#J c #373737",
+"#k c #3c3c3c",
+".C c #3d3d3d",
+".w c #404040",
+".G c #414141",
+".h c #424242",
+".0 c #434343",
+"#G c #444444",
+".2 c #454545",
+".f c #484848",
+".T c #4b4b4b",
+".# c #4f4f4f",
+".j c #515151",
+".p c #535353",
+".s c #555555",
+".v c #565656",
+"#a c #575757",
+"#B c #595959",
+"#b c #5b5b5b",
+"#n c #5c5c5c",
+"#c c #5f5f5f",
+"#z c #606060",
+".8 c #616161",
+"#y c #626262",
+"#o c #656565",
+"#F c #666666",
+".J c #696969",
+".6 c #6c6c6c",
+".k c #6e6e6e",
+"#I c #707070",
+".H c #737373",
+".4 c #757575",
+".t c #797979",
+".V c #7a7a7a",
+"#f c #7b7b7b",
+".Q c #808080",
+".B c #828282",
+".N c #848484",
+".b c #868686",
+"## c #8e8e8e",
+".o c #929292",
+".y c #999999",
+"#. c #9a9a9a",
+".I c #9c9c9c",
+"#H c #9d9d9d",
+".S c #9e9e9e",
+".1 c #a0a0a0",
+".r c #a4a4a4",
+"#R c #a8a8a8",
+".l c #aaaaaa",
+".K c #aeaeae",
+".x c #afafaf",
+"#j c #b3b3b3",
+"#C c #b4b4b4",
+".O c #b6b6b6",
+"#D c #b8b8b8",
+"#E c #b9b9b9",
+".m c #bababa",
+".n c #bbbbbb",
+".c c #bcbcbc",
+".d c #bebebe",
+"#q c #c3c3c3",
+"#O c #c5c5c5",
+".X c #c8c8c8",
+".7 c #c9c9c9",
+"#l c #cacaca",
+"#r c #d0d0d0",
+"#u c #d2d2d2",
+"#A c #d3d3d3",
+".u c #d5d5d5",
+"#g c #d6d6d6",
+"#P c #dcdcdc",
+".R c #dfdfdf",
+".5 c #e7e7e7",
+".P c #ebebeb",
+"#Q c #ededed",
+".9 c #efefef",
+"#x c #f0f0f0",
+".Y c #f1f1f1",
+"#v c #f4f4f4",
+"#i c #f5f5f5",
+".A c #f6f6f6",
+".D c #f8f8f8",
+".3 c #f9f9f9",
+".M c #fafafa",
+".E c #fbfbfb",
+"#d c #fdfdfd",
+".e c #ffffff",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQt.#.aQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQt.b.c.d.e.fQtQtQt.g.f.hQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQtQtQt.i.j.k.l.m.n.o.p.j.j.q.r.e.sQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQt.g.t.u.e.l.vQtQt.w.e.e.e.x.y.e.#QtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQt.z.A.e.B.C.D.e.E.b.F.G.H.I.J.K.e.sQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQt.L.M.e.NQt.O.e.e.e.e.P.Q.R.SQt.T.j.aQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQt.U.b.VQt.W.X.e.e.e.e.e.Y.Z.t.0.1QtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQt.C.2.X.e.e.e.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQt.4.4.5.6.7.e.e.e.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQt.8.6.9#.###a.e.e.e.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"Qt.i#b.q.6#c#d#e#f.e.e.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"Qt#g.e.A#h.0#i.UQt.N.e.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"Qt#j.A.Y#k#l#mQtQtQt#f.e.e.e.3.UQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQt.0.y#n#o#pQtQtQtQt.N.M.e.e.UQtQt#q#r#r#r#r#r#r#r#r#r#r#r#qQt",
+"QtQtQt#s#tQtQtQtQtQtQtQt.Z#u#u#eQtQt#v.e.e.e.e.e.e.e.e.e.e.e#vQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQt#w#wQtQtQt#x.e.e.e.e.e.e.e.e.e.e.e#xQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#n#y#y#z.S.e.e.e#A#y.8#y#nQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#B.e.e.e#CQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#DQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#y.e.e.e#EQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#F.e.e.e.nQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#G#H#I#a#JQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#s#K#L#M#NQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt#G#O#P#Q#RQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt",
+"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"};




More information about the Pkg-games-commits mailing list