File tumiki-fighters-directories.patch of Package tumiki-fighters

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

Index: tf/src/abagames/tf/barragemanager.d
===================================================================
--- tf.orig/src/abagames/tf/barragemanager.d
+++ tf/src/abagames/tf/barragemanager.d
@@ -18,7 +18,7 @@ private import abagames.tf.morphbullet;
 public class BarrageManager {
  private:
   static BulletMLParserTinyXML *parser[char[]];
-  static const char[] BARRAGE_DIR_NAME = "barrage";
+  static const char[] BARRAGE_DIR_NAME = "/usr/share/tumiki-fighters/barrage";
 
   public static void loadBulletMLs() {
     char[][] dirs = listdir(BARRAGE_DIR_NAME);
Index: tf/src/abagames/util/sdl/sound.d
===================================================================
--- tf.orig/src/abagames/util/sdl/sound.d
+++ tf/src/abagames/util/sdl/sound.d
@@ -62,7 +62,7 @@ public abstract class Sound {
 public class Music: Sound {
  public:
   static int fadeOutSpeed = 1280;
-  static char[] dir = "sounds/";
+  static char[] dir = "/usr/share/tumiki-fighters/sounds/";
  private:
   Mix_Music* music;
 
@@ -122,7 +122,7 @@ public class Music: Sound {
 
 public class Chunk: Sound {
  public:
-  static char[] dir = "sounds/";
+  static char[] dir = "/usr/share/tumiki-fighters/sounds/";
  private:
   Mix_Chunk* chunk;
   int chunkChannel;
Index: tf/src/abagames/util/sdl/texture.d
===================================================================
--- tf.orig/src/abagames/util/sdl/texture.d
+++ tf/src/abagames/util/sdl/texture.d
@@ -15,7 +15,7 @@ private import abagames.util.sdl.sdlexce
  */
 public class Texture {
  public:
-  static char[] imagesDir = "images/";
+  static char[] imagesDir = "/usr/share/tumiki-fighters/images/";
 
  private:
   GLuint num;
Index: tf/src/abagames/tf/enemyspec.d
===================================================================
--- tf.orig/src/abagames/tf/enemyspec.d
+++ tf/src/abagames/tf/enemyspec.d
@@ -22,7 +22,7 @@ public class EnemySpec {
   float sizeXm, sizeXp, sizeYm, sizeYp;
  private:
   static EnemySpec[char[]] instances;
-  static const char[] ENEMYSPEC_DIR_NAME = "enemy";
+  static const char[] ENEMYSPEC_DIR_NAME = "/usr/share/tumiki-fighters/enemy";
 
   // Initialize EnemySpec with the array.
   // Tumiki file name(main),
Index: tf/src/abagames/tf/field.d
===================================================================
--- tf.orig/src/abagames/tf/field.d
+++ tf/src/abagames/tf/field.d
@@ -249,7 +249,7 @@ public class FieldPattern {
   float mtr, mtg, mtb;
   float mrr, mrg, mrb;
  private:
-  static const char[] FIELD_DIR_NAME = "field";
+  static const char[] FIELD_DIR_NAME = "/usr/share/tumiki-fighters/field";
   
   // Initialize FieldPattern with the array.
   // randSeed, scrollSpeed,
Index: tf/src/abagames/tf/stagemanager.d
===================================================================
--- tf.orig/src/abagames/tf/stagemanager.d
+++ tf/src/abagames/tf/stagemanager.d
@@ -171,7 +171,7 @@ public class StagePattern {
   long randSeed;
   int warningCnt;
  private:
-  static const char[] STAGE_DIR_NAME = "stage";
+  static const char[] STAGE_DIR_NAME = "/usr/share/tumiki-fighters/stage";
   static int[char[]] posTypeStr;
 
   public static this() {
Index: tf/src/abagames/tf/tumikiset.d
===================================================================
--- tf.orig/src/abagames/tf/tumikiset.d
+++ tf/src/abagames/tf/tumikiset.d
@@ -29,7 +29,7 @@ public class TumikiSet {
   float sizeXm, sizeXp, sizeYm, sizeYp, size;
  private:
   static TumikiSet[char[]] instances;
-  static const char[] TUMIKI_DIR_NAME = "tumiki";
+  static const char[] TUMIKI_DIR_NAME = "/usr/share/tumiki-fighters/tumiki";
   static const float BULLET_SPEED_RATIO = 1.2;
   static int[char[]] shapeStr;
   static char[][] SHAPE_STR =