Lines 59-94
Link Here
|
59 |
return ; |
59 |
return ; |
60 |
} |
60 |
} |
61 |
Mix_QuerySpec(&audio_rate, &audio_format, &audio_channels); |
61 |
Mix_QuerySpec(&audio_rate, &audio_format, &audio_channels); |
62 |
chunk_star = Mix_LoadWAV("se/cursor18.wav"); |
62 |
chunk_star = Mix_LoadWAV("/usr/share/games/tatan/se/cursor18.wav"); |
63 |
chunk_don = Mix_LoadWAV("se/don18_d.wav"); |
63 |
chunk_don = Mix_LoadWAV("/usr/share/games/tatan/se/don18_d.wav"); |
64 |
|
64 |
|
65 |
chunk_miss = Mix_LoadWAV("se/don20.wav"); |
65 |
chunk_miss = Mix_LoadWAV("/usr/share/games/tatan/se/don20.wav"); |
66 |
chunk_speedup = Mix_LoadWAV("se/power34.wav"); |
66 |
chunk_speedup = Mix_LoadWAV("/usr/share/games/tatan/se/power34.wav"); |
67 |
chunk_bomb = Mix_LoadWAV("se/bom13_c.wav"); |
67 |
chunk_bomb = Mix_LoadWAV("/usr/share/games/tatan/se/bom13_c.wav"); |
68 |
chunk_beep = Mix_LoadWAV("se/beep00.wav"); |
68 |
chunk_beep = Mix_LoadWAV("/usr/share/games/tatan/se/beep00.wav"); |
69 |
chunk_warning = Mix_LoadWAV("se/emergency.wav"); |
69 |
chunk_warning = Mix_LoadWAV("/usr/share/games/tatan/se/emergency.wav"); |
70 |
chunk_reverse = Mix_LoadWAV("se/hit_s03_a.wav"); |
70 |
chunk_reverse = Mix_LoadWAV("/usr/share/games/tatan/se/hit_s03_a.wav"); |
71 |
voice_0 = Mix_LoadWAV("voice/FREQ_A500_0.wav"); |
71 |
voice_0 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_0.wav"); |
72 |
voice_1 = Mix_LoadWAV("voice/FREQ_A500_1.wav"); |
72 |
voice_1 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_1.wav"); |
73 |
voice_2 = Mix_LoadWAV("voice/FREQ_A500_2.wav"); |
73 |
voice_2 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_2.wav"); |
74 |
voice_3 = Mix_LoadWAV("voice/FREQ_A500_3.wav"); |
74 |
voice_3 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_3.wav"); |
75 |
voice_4 = Mix_LoadWAV("voice/FREQ_A500_4.wav"); |
75 |
voice_4 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_4.wav"); |
76 |
voice_5 = Mix_LoadWAV("voice/FREQ_A500_5.wav"); |
76 |
voice_5 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_5.wav"); |
77 |
voice_6 = Mix_LoadWAV("voice/FREQ_A500_6.wav"); |
77 |
voice_6 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_6.wav"); |
78 |
voice_7 = Mix_LoadWAV("voice/FREQ_A500_7.wav"); |
78 |
voice_7 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_7.wav"); |
79 |
voice_8 = Mix_LoadWAV("voice/FREQ_A500_8.wav"); |
79 |
voice_8 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_8.wav"); |
80 |
voice_9 = Mix_LoadWAV("voice/FREQ_A500_9.wav"); |
80 |
voice_9 = Mix_LoadWAV("/usr/share/games/tatan/voice/FREQ_A500_9.wav"); |
81 |
|
81 |
|
82 |
|
82 |
|
83 |
music1 = Mix_LoadMUS("music/cyrf_ogg_difficulties.ogg"); |
83 |
music1 = Mix_LoadMUS("/usr/share/games/tatan/music/cyrf_ogg_difficulties.ogg"); |
84 |
music2 = Mix_LoadMUS("music/cyrf_ogg_proving_area.ogg"); |
84 |
music2 = Mix_LoadMUS("/usr/share/games/tatan/music/cyrf_ogg_proving_area.ogg"); |
85 |
music3 = Mix_LoadMUS("music/FREQ_loop002.ogg"); |
85 |
music3 = Mix_LoadMUS("/usr/share/games/tatan/music/FREQ_loop002.ogg"); |
86 |
music4 = Mix_LoadMUS("music/mix_loop004_3.ogg"); |
86 |
music4 = Mix_LoadMUS("/usr/share/games/tatan/music/mix_loop004_3.ogg"); |
87 |
music5 = Mix_LoadMUS("music/division_bell.ogg"); |
87 |
music5 = Mix_LoadMUS("/usr/share/games/tatan/music/division_bell.ogg"); |
88 |
music6 = Mix_LoadMUS("music/untitled.ogg"); |
88 |
music6 = Mix_LoadMUS("/usr/share/games/tatan/music/untitled.ogg"); |
89 |
music7 = Mix_LoadMUS("music/splash_intro.ogg"); |
89 |
music7 = Mix_LoadMUS("/usr/share/games/tatan/music/splash_intro.ogg"); |
90 |
music8 = Mix_LoadMUS("music/splash_main.ogg"); |
90 |
music8 = Mix_LoadMUS("/usr/share/games/tatan/music/splash_main.ogg"); |
91 |
music9 = Mix_LoadMUS("music/transmigration.ogg"); |
91 |
music9 = Mix_LoadMUS("/usr/share/games/tatan/music/transmigration.ogg"); |
92 |
|
92 |
|
93 |
_Sound_PlayingMusic = -1; |
93 |
_Sound_PlayingMusic = -1; |
94 |
} |
94 |
} |
Lines 213-216
Link Here
|
213 |
public int Sound_PlayingMusic(){ |
213 |
public int Sound_PlayingMusic(){ |
214 |
if(Mix_PlayingMusic() == 0)_Sound_PlayingMusic = -1; |
214 |
if(Mix_PlayingMusic() == 0)_Sound_PlayingMusic = -1; |
215 |
return _Sound_PlayingMusic; |
215 |
return _Sound_PlayingMusic; |
216 |
} |
216 |
} |
|
|
217 |
|