# Copyright (C) 2007  Miriam Ruiz <little_miry@yahoo.es>
# Distributed under the same license as the game. See debian/copyright.

Index: tatan-1.0/src/br/gamemanager.d
===================================================================
--- tatan-1.0.orig/src/br/gamemanager.d	2007-09-05 14:30:40.000000000 +0000
+++ tatan-1.0/src/br/gamemanager.d	2007-09-05 14:30:45.000000000 +0000
@@ -142,7 +142,7 @@
 		collisionManager = new CollisionManager(1024);
 		collisionManager.clear();
 		
-		Hell_loadTexture("back", "image/back.bmp");
+		Hell_loadTexture("back", "/usr/share/games/tatan/image/back.bmp");
 		Hell_loadFont();
 		
 		Sound_init();
@@ -453,7 +453,7 @@
 	public void start(){
 		
 		count = 0;
-		back = SDL_LoadBMP( "image/back.bmp" );
+		back = SDL_LoadBMP( "/usr/share/games/tatan/image/back.bmp" );
 		
 		Sound_FadeOutMusic(1000);
 		
Index: tatan-1.0/src/br/screen.d
===================================================================
--- tatan-1.0.orig/src/br/screen.d	2007-09-05 14:30:40.000000000 +0000
+++ tatan-1.0/src/br/screen.d	2007-09-05 14:30:45.000000000 +0000
@@ -185,7 +185,7 @@
 		
 		glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 		
-		Hell_loadTexture("back", "image/back.bmp");
+		Hell_loadTexture("back", "/usr/share/games/tatan/image/back.bmp");
 		Hell_loadFont();
 	}
 	public void saveBMP(char[] name){
Index: tatan-1.0/src/br/sound.d
===================================================================
--- tatan-1.0.orig/src/br/sound.d	2007-09-05 14:30:40.000000000 +0000
+++ tatan-1.0/src/br/sound.d	2007-09-05 14:30:45.000000000 +0000
@@ -59,36 +59,36 @@
 		return ;
 	}
 	Mix_QuerySpec(&audio_rate, &audio_format, &audio_channels);
-	chunk_star = Mix_LoadWAV("se/cursor18.wav");
-	chunk_don = Mix_LoadWAV("se/don18_d.wav");
+	chunk_star = Mix_LoadWAV("/usr/share/games/tatan/se/cursor18.wav");
+	chunk_don = Mix_LoadWAV("/usr/share/games/tatan/se/don18_d.wav");
 	
-	chunk_miss = Mix_LoadWAV("se/don20.wav");
-	chunk_speedup = Mix_LoadWAV("se/power34.wav");
-	chunk_bomb = Mix_LoadWAV("se/bom13_c.wav");
-	chunk_beep = Mix_LoadWAV("se/beep00.wav");
-	chunk_warning = Mix_LoadWAV("se/emergency.wav");
-	chunk_reverse = Mix_LoadWAV("se/hit_s03_a.wav");
-	voice_0 = Mix_LoadWAV("voice/FREQ_A500_0.wav");
-	voice_1 = Mix_LoadWAV("voice/FREQ_A500_1.wav");
-	voice_2 = Mix_LoadWAV("voice/FREQ_A500_2.wav");
-	voice_3 = Mix_LoadWAV("voice/FREQ_A500_3.wav");
-	voice_4 = Mix_LoadWAV("voice/FREQ_A500_4.wav");
-	voice_5 = Mix_LoadWAV("voice/FREQ_A500_5.wav");
-	voice_6 = Mix_LoadWAV("voice/FREQ_A500_6.wav");
-	voice_7 = Mix_LoadWAV("voice/FREQ_A500_7.wav");
-	voice_8 = Mix_LoadWAV("voice/FREQ_A500_8.wav");
-	voice_9 = Mix_LoadWAV("voice/FREQ_A500_9.wav");
-	
-	
-	music1 = Mix_LoadMUS("music/cyrf_ogg_difficulties.ogg");
-	music2 = Mix_LoadMUS("music/cyrf_ogg_proving_area.ogg");
-	music3 = Mix_LoadMUS("music/FREQ_loop002.ogg");
-	music4 = Mix_LoadMUS("music/mix_loop004_3.ogg");
-	music5 = Mix_LoadMUS("music/division_bell.ogg");
-	music6 = Mix_LoadMUS("music/untitled.ogg");
-	music7 = Mix_LoadMUS("music/splash_intro.ogg");
-	music8 = Mix_LoadMUS("music/splash_main.ogg");
-	music9 = Mix_LoadMUS("music/transmigration.ogg");
+	chunk_miss = Mix_LoadWAV("/usr/share/games/tatan/se/don20.wav");
+	chunk_speedup = Mix_LoadWAV("/usr/share/games/tatan/se/power34.wav");
+	chunk_bomb = Mix_LoadWAV("/usr/share/games/tatan/se/bom13_c.wav");
+	chunk_beep = Mix_LoadWAV("/usr/share/games/tatan/se/beep00.wav");
+	chunk_warning = Mix_LoadWAV("/usr/share/games/tatan/se/emergency.wav");
+	chunk_reverse = Mix_LoadWAV("/usr/share/games/tatan/se/hit_s03_a.wav");
+	voice_0 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_0.wav");
+	voice_1 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_1.wav");
+	voice_2 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_2.wav");
+	voice_3 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_3.wav");
+	voice_4 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_4.wav");
+	voice_5 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_5.wav");
+	voice_6 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_6.wav");
+	voice_7 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_7.wav");
+	voice_8 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_8.wav");
+	voice_9 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_9.wav");
+	
+	
+	music1 = Mix_LoadMUS("/usr/share/games/tatan/music/cyrf_ogg_difficulties.ogg");
+	music2 = Mix_LoadMUS("/usr/share/games/tatan/music/cyrf_ogg_proving_area.ogg");
+	music3 = Mix_LoadMUS("/usr/share/games/tatan/music/FREQ_loop002.ogg");
+	music4 = Mix_LoadMUS("/usr/share/games/tatan/music/mix_loop004_3.ogg");
+	music5 = Mix_LoadMUS("/usr/share/games/tatan/music/division_bell.ogg");
+	music6 = Mix_LoadMUS("/usr/share/games/tatan/music/untitled.ogg");
+	music7 = Mix_LoadMUS("/usr/share/games/tatan/music/splash_intro.ogg");
+	music8 = Mix_LoadMUS("/usr/share/games/tatan/music/splash_main.ogg");
+	music9 = Mix_LoadMUS("/usr/share/games/tatan/music/transmigration.ogg");
 	
 	_Sound_PlayingMusic = -1;
 }
Index: tatan-1.0/import/hell2.d
===================================================================
--- tatan-1.0.orig/import/hell2.d	2007-09-05 14:31:43.000000000 +0000
+++ tatan-1.0/import/hell2.d	2007-09-05 14:32:30.000000000 +0000
@@ -68,7 +68,7 @@
 static bool[] g_joyButton;
 static SDL_Joystick* g_joy;
 static int g_joyButtonNum;
-static char[] FONT_PATH = "resource/font/font.bmp";
+static char[] FONT_PATH = "/usr/share/games/tatan/font/font.bmp";
 
 static int fps_cnt;
 static int fps_view;
