Skip to content

Commit

Permalink
replace music track
Browse files Browse the repository at this point in the history
  • Loading branch information
evanbowman committed Apr 29, 2020
1 parent ad0e8e4 commit 0ad29a5
Show file tree
Hide file tree
Showing 7 changed files with 103,272 additions and 119,702 deletions.
2 changes: 1 addition & 1 deletion build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ if(GAMEBOY_ADVANCE)
${SOURCES}
${SOURCE_DIR}/platform/memcpy.s
${SOURCE_DIR}/platform/sb_omega.s
${SOURCE_DIR}/platform/sb_ephemera.s
${SOURCE_DIR}/platform/sb_computations.s
${SOURCE_DIR}/platform/frostellar.s
${SOURCE_DIR}/graphics/overlay.s
${SOURCE_DIR}/graphics/tilesheet.s
Expand Down
2 changes: 1 addition & 1 deletion source/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ const ZoneInfo& zone_info(Level level)
"the depths",
"spritesheet2",
"tilesheet2",
"sb_ephemera",
"sb_computations",
seconds(5),
ColorConstant::turquoise_blue,
ColorConstant::safety_orange};
Expand Down
4 changes: 2 additions & 2 deletions source/platform/gba_platform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1471,7 +1471,7 @@ void Platform::Speaker::play_note(Note n, Octave o, Channel c)
#define REG_TM0CNT_H *(u16*)0x4000102 //Timer 0 Control


#include "sb_ephemera.hpp"
#include "sb_computations.hpp"
#include "frostellar.hpp"
#include "sb_omega.hpp"

Expand All @@ -1494,7 +1494,7 @@ static const struct AudioTrack {
int length_;
} music_tracks[] = {DEF_AUDIO(ambience, frostellar),
DEF_AUDIO(sb_omega, sb_omega),
DEF_AUDIO(sb_ephemera, sb_ephemera)};
DEF_AUDIO(sb_computations, sb_computations)};


static const AudioTrack* find_track(const char* name)
Expand Down
3 changes: 3 additions & 0 deletions source/platform/sb_computations.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once
constexpr int sb_computationsLen = 1468576;
extern const unsigned char sb_computations[sb_computationsLen];
103,265 changes: 103,265 additions & 0 deletions source/platform/sb_computations.s

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions source/platform/sb_ephemera.hpp

This file was deleted.

119,695 changes: 0 additions & 119,695 deletions source/platform/sb_ephemera.s

This file was deleted.

0 comments on commit 0ad29a5

Please sign in to comment.