Skip to content

Commit 82c2abf

Browse files
committed
Change code to use the new sound
1 parent 85afa77 commit 82c2abf

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

data/AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ All files in data/music created by wansti and licensed under GPLv2+CC-by-sa, unl
9393
* yetiboss.ogg - By SnugglyBun, cover of the original boss battle theme by Wansti. licensed under CC-BY-SA 4.0
9494
* forest_midday.ogg - By SnugglyBun, based on the original forest theme by Wansti. licensed under CC-BY-SA 4.0
9595
* forest_midday_alt.ogg - By SnugglyBun, based on forest.ogg and forest3.ogg by Wansti. licensed under CC-BY-SA 4.0
96+
* tuxvictorious.ogg - By Wantsi, licensed under CC-BY-SA 3.0
9697

9798
== Scripts ==
9899

data/scripts/default.nut

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
function end_level()
77
{
8-
play_music("music/misc/leveldone.ogg");
8+
play_music("music/misc/tuxvictorious.ogg");
99
Tux.deactivate();
1010
wait(6);
1111
Effect.fade_out(2);

src/audio/sound_file.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,7 @@ std::unordered_map<std::string, std::string> fallback_paths = {
300300
{"saharan_penguin.ogg", "/music/tropical/saharan_penguin.ogg"},
301301
{"tropicalbreeze.music", "/music/tropical/tropicalbreeze.music"},
302302
{"tropicalbreeze.ogg", "/music/tropical/tropicalbreeze.ogg"},
303+
{"tuxvictorious.ogg", "/music/misc/tuxvictorious.ogg"},
303304
};
304305

305306
const std::string& get_fallback_path(const std::string& file_path)

src/object/endsequence_fireworks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void
4040
EndSequenceFireworks::starting()
4141
{
4242
EndSequence::starting();
43-
endsequence_timer.start(7.3f * ScreenManager::current()->get_speed());
43+
endsequence_timer.start(10.0f * ScreenManager::current()->get_speed());
4444
Sector::get().add<Fireworks>();
4545
}
4646

src/object/endsequence_walk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EndSequenceWalk::starting()
4141
{
4242
EndSequence::starting();
4343
last_x_pos = -1;
44-
endsequence_timer.start(7.3f * ScreenManager::current()->get_speed());
44+
endsequence_timer.start(10.0f * ScreenManager::current()->get_speed());
4545
}
4646

4747
void

src/supertux/game_session.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1008,7 +1008,7 @@ GameSession::start_sequence(Player* caller, Sequence seq, const SequenceData* da
10081008

10091009
m_end_sequence->start();
10101010

1011-
SoundManager::current()->play_music("music/misc/leveldone.ogg", false);
1011+
SoundManager::current()->play_music("music/misc/tuxvictorious.ogg", false);
10121012
for (auto* p : m_currentsector->get_players())
10131013
{
10141014
p->set_winning();

0 commit comments

Comments
 (0)