1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
|
# 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;
|