torus-trooper (0.22.dfsg1-6) directories.patch

Summary

 src/abagames/tt/barrage.d       |    2 +-
 src/abagames/util/sdl/sound.d   |    4 ++--
 src/abagames/util/sdl/texture.d |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

    
download this patch

Patch contents

# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: torus-trooper_0.22.dfsg1/src/abagames/tt/barrage.d
===================================================================
--- torus-trooper_0.22.dfsg1.orig/src/abagames/tt/barrage.d	2007-08-29 18:58:00.000000000 +0200
+++ torus-trooper_0.22.dfsg1/src/abagames/tt/barrage.d	2007-08-29 19:06:28.000000000 +0200
@@ -93,7 +93,7 @@
 public class BarrageManager {
  private:
   static BulletMLParserTinyXML *parser[char[]][char[]];
-  static const char[] BARRAGE_DIR_NAME = "barrage";
+  static const char[] BARRAGE_DIR_NAME = "/usr/share/games/torus-trooper/barrage";
 
   public static void load() {
     char[][] dirs = listdir(BARRAGE_DIR_NAME);
Index: torus-trooper_0.22.dfsg1/src/abagames/util/sdl/sound.d
===================================================================
--- torus-trooper_0.22.dfsg1.orig/src/abagames/util/sdl/sound.d	2004-11-10 23:45:22.000000000 +0100
+++ torus-trooper_0.22.dfsg1/src/abagames/util/sdl/sound.d	2007-08-29 19:06:28.000000000 +0200
@@ -67,7 +67,7 @@
 public class Music: Sound {
  public:
   static int fadeOutSpeed = 1280;
-  static char[] dir = "sounds/musics";
+  static char[] dir = "/usr/share/games/torus-trooper/sounds/musics";
  private:
   Mix_Music* music;
 
@@ -131,7 +131,7 @@
 
 public class Chunk: Sound {
  public:
-  static char[] dir = "sounds/chunks";
+  static char[] dir = "/usr/share/games/torus-trooper/sounds/chunks";
  private:
   Mix_Chunk* chunk;
   int chunkChannel;
Index: torus-trooper_0.22.dfsg1/src/abagames/util/sdl/texture.d
===================================================================
--- torus-trooper_0.22.dfsg1.orig/src/abagames/util/sdl/texture.d	2004-11-10 23:45:22.000000000 +0100
+++ torus-trooper_0.22.dfsg1/src/abagames/util/sdl/texture.d	2007-08-29 19:06:28.000000000 +0200
@@ -15,7 +15,7 @@
  */
 public class Texture {
  public:
-  static char[] imagesDir = "images/";
+  static char[] imagesDir = "/usr/share/games/torus-trooper/images/";
  private:
   GLuint num;