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

Miriam Ruiz baby-guest at alioth.debian.org
Sun Aug 26 18:38:06 UTC 2007


Author: baby-guest
Date: 2007-08-26 18:38:06 +0000 (Sun, 26 Aug 2007)
New Revision: 3859

Added:
   packages/trunk/titanion/debian/patches/directories.patch
   packages/trunk/titanion/debian/patches/windowed.patch
Modified:
   packages/trunk/titanion/debian/patches/series
   packages/trunk/titanion/debian/titanion-data.install
   packages/trunk/titanion/debian/titanion.6
Log:
Use absolute directories



Added: packages/trunk/titanion/debian/patches/directories.patch
===================================================================
--- packages/trunk/titanion/debian/patches/directories.patch	                        (rev 0)
+++ packages/trunk/titanion/debian/patches/directories.patch	2007-08-26 18:38:06 UTC (rev 3859)
@@ -0,0 +1,51 @@
+# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: titanion-0.3.dfsg1/src/abagames/ttn/screen.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/screen.d	2007-08-26 18:32:33.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/screen.d	2007-08-26 18:33:12.000000000 +0000
+@@ -17,7 +17,7 @@
+ public class Screen: Screen3D {
+  private:
+   static const char[] CAPTION = "Titanion";
+-  static const char[] ICON_FILE_NAME = "images/ttn_icon32.bmp";
++  static const char[] ICON_FILE_NAME = "/usr/share/games/titanion/images/ttn_icon32.bmp";
+   Field field;
+ 
+   protected void setIcon() {
+Index: titanion-0.3.dfsg1/src/abagames/util/sdl/sound.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/util/sdl/sound.d	2007-08-26 18:33:31.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/util/sdl/sound.d	2007-08-26 18:33:55.000000000 +0000
+@@ -61,7 +61,7 @@
+ public class Music {
+  public:
+   static int fadeOutSpeed = 1280;
+-  static char[] dir = "sounds/musics";
++  static char[] dir = "/usr/share/games/titanion/sounds/musics";
+  private:
+   Mix_Music* music;
+ 
+@@ -115,7 +115,7 @@
+  */
+ public class Chunk {
+  public:
+-  static char[] dir = "sounds/chunks";
++  static char[] dir = "/usr/share/games/titanion/sounds/chunks";
+  private:
+   Mix_Chunk* chunk;
+   int chunkChannel;
+Index: titanion-0.3.dfsg1/src/abagames/util/sdl/texture.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/util/sdl/texture.d	2007-08-26 18:32:26.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/util/sdl/texture.d	2007-08-26 18:33:04.000000000 +0000
+@@ -16,7 +16,7 @@
+  */
+ public class Texture {
+  public:
+-  static char[] imagesDir = "images/";
++  static char[] imagesDir = "/usr/share/games/titanion/images/";
+   static SDL_Surface*[char[]] surface;
+  private:
+   GLuint num, maskNum;

Modified: packages/trunk/titanion/debian/patches/series
===================================================================
--- packages/trunk/titanion/debian/patches/series	2007-08-26 18:30:54 UTC (rev 3858)
+++ packages/trunk/titanion/debian/patches/series	2007-08-26 18:38:06 UTC (rev 3859)
@@ -1 +1,3 @@
 fix.diff
+directories.patch
+windowed.patch

Added: packages/trunk/titanion/debian/patches/windowed.patch
===================================================================
--- packages/trunk/titanion/debian/patches/windowed.patch	                        (rev 0)
+++ packages/trunk/titanion/debian/patches/windowed.patch	2007-08-26 18:38:06 UTC (rev 3859)
@@ -0,0 +1,14 @@
+# Copyright (C) 2007  Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+Index: titanion-0.3.dfsg1/src/abagames/ttn/boot.d
+===================================================================
+--- titanion-0.3.dfsg1.orig/src/abagames/ttn/boot.d	2007-08-26 18:35:35.000000000 +0000
++++ titanion-0.3.dfsg1/src/abagames/ttn/boot.d	2007-08-26 18:36:23.000000000 +0000
+@@ -183,5 +183,5 @@
+ 
+ private void usage(char[] progName) {
+   Logger.error
+-    ("Usage: " ~ progName ~ " [-fullscreen] [-res x y] [-brightness [0-100]] [-nosound] [-bgmvol [0-128]] [-sevol [0-128]] [-exchange] [-trail] [-noslowdown] [-randomized]");
++    ("Usage: " ~ progName ~ " [-window] [-fullscreen] [-res x y] [-brightness [0-100]] [-nosound] [-bgmvol [0-128]] [-sevol [0-128]] [-exchange] [-trail] [-noslowdown] [-randomized]");
+ }

Modified: packages/trunk/titanion/debian/titanion-data.install
===================================================================
--- packages/trunk/titanion/debian/titanion-data.install	2007-08-26 18:30:54 UTC (rev 3858)
+++ packages/trunk/titanion/debian/titanion-data.install	2007-08-26 18:38:06 UTC (rev 3859)
@@ -1,2 +1,2 @@
-images usr/share/games/a7xpg/
-sounds usr/share/games/a7xpg/
+images usr/share/games/titanion/
+sounds usr/share/games/titanion/

Modified: packages/trunk/titanion/debian/titanion.6
===================================================================
--- packages/trunk/titanion/debian/titanion.6	2007-08-26 18:30:54 UTC (rev 3858)
+++ packages/trunk/titanion/debian/titanion.6	2007-08-26 18:38:06 UTC (rev 3859)
@@ -44,6 +44,10 @@
 \fB\-sevol n\fR
 Set the volume of SEs. (n = 0 \- 128, default = 100)
 .TP 
+\fB\-window\fR
+Run in windowed mode.
+.TP 
+.TP 
 \fB\-fullscreen\fR
 Run in full\-screen mode.
 .TP 
@@ -96,12 +100,16 @@
 \fBShot\fR
 [Z][L\-Ctrl][R\-Ctrl][.] / Button 1, 3, 5, 7, 9, 11
 
- Hold down a button to fire automatically.
+ 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.
 
+ + 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
@@ -118,7 +126,8 @@
   You can use the capture beam anytime, but your ship isn't invincible
   while firing.
 
- + MODERN mode \- Provocation beam
+ + 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.




More information about the Pkg-games-commits mailing list