-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
custom song sources show in DateAcquired, MusicLibrary jump groundwork
- Loading branch information
1 parent
45fa660
commit f5413b6
Showing
13 changed files
with
174 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
RB3Enhanced - MusicLibrary.h | ||
Functions for interacting with the music library. (Not to be confused with rb3/MusicLibrary.h) | ||
*/ | ||
|
||
// selects any entry based on the full artist name or the game origin | ||
void MusicLibrarySelectHeading(char *heading); | ||
// selects any entry based on album name | ||
void MusicLibrarySelectSubHeading(char *heading); | ||
// selects a song based on its shortname | ||
void MusicLibrarySelectSong(char *shortname); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef _MUSICLIBRARY_H | ||
#define _MUSICLIBRARY_H | ||
|
||
#include "Symbol.h" | ||
|
||
// Jumps to a given entry in the music library | ||
void MusicLibrarySelectMaybe(int theMusicLibrary, Symbol entryName, int sortType, int unk_r6); | ||
|
||
#endif // _MUSICLIBRARY_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#ifndef _RB3INCLUDE_H | ||
#define _RB3INCLUDE_H | ||
|
||
#include "rb3/App.h" | ||
#include "rb3/Archive.h" | ||
#include "rb3/BandLabel.h" | ||
#include "rb3/BandSongMgr.h" | ||
#include "rb3/BandUI.h" | ||
#include "rb3/BandUser.h" | ||
#include "rb3/BandUserMgr.h" | ||
#include "rb3/Data.h" | ||
#include "rb3/File.h" | ||
#include "rb3/Game.h" | ||
#include "rb3/GameGem.h" | ||
#include "rb3/InetAddress.h" | ||
#include "rb3/Locale.h" | ||
#include "rb3/MetaPerformer.h" | ||
#include "rb3/ModifierManager.h" | ||
#include "rb3/MusicLibrary.h" | ||
#include "rb3/PassiveMessagesPanel.h" | ||
#include "rb3/Random.h" | ||
#include "rb3/RockCentralGateway.h" | ||
#include "rb3/SongMetadata.h" | ||
#include "rb3/SongSortByRecentEntry.h" | ||
#include "rb3/SortNode.h" | ||
#include "rb3/String.h" | ||
#include "rb3/Symbol.h" | ||
#include "rb3/TrackPanelDirBase.h" | ||
#include "rb3/UsbWii.h" | ||
|
||
#endif // _RB3INCLUDE_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#ifndef RB3EINCLUDE_H_ | ||
#define RB3EINCLUDE_H_ | ||
|
||
#include "rb3_include.h" | ||
#include "config.h" | ||
#include "crc32.h" | ||
#include "DTAFunctions.h" | ||
#include "GameHooks.h" | ||
#include "GemHooks.h" | ||
#include "GlobalSymbols.h" | ||
#include "gocentral.h" | ||
#include "inih.h" | ||
#include "LocaleHooks.h" | ||
#include "MusicLibrary.h" | ||
#include "net_events.h" | ||
#include "net.h" | ||
#include "OvershellHooks.h" | ||
#include "ports.h" | ||
#include "ppcasm.h" | ||
#include "rb3enhanced.h" | ||
#include "SetlistHooks.h" | ||
#include "SongHooks.h" | ||
#include "SongSort.h" | ||
#include "SpeedHooks.h" | ||
#include "utilities.h" | ||
#include "wii_usbhid.h" | ||
#include "xbox360.h" | ||
|
||
#endif // RB3EINCLUDE_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
RB3Enhanced - MusicLibrary.c | ||
Functions for interacting with the music library. | ||
*/ | ||
|
||
#include "rb3e_include.h" | ||
|
||
// selects any entry based on the full artist name or the game origin | ||
void MusicLibrarySelectHeading(char *heading) | ||
{ | ||
Symbol headingname; | ||
SymbolConstruct(&headingname, heading); | ||
MusicLibrarySelectMaybe(*(int *)PORT_THEMUSICLIBRARY, headingname, 2, 1); | ||
} | ||
// selects any entry based on album name | ||
void MusicLibrarySelectSubHeading(char *heading) | ||
{ | ||
Symbol headingname; | ||
SymbolConstruct(&headingname, heading); | ||
MusicLibrarySelectMaybe(*(int *)PORT_THEMUSICLIBRARY, headingname, 3, 1); | ||
} | ||
// selects a song based on its shortname | ||
void MusicLibrarySelectSong(char *shortname) | ||
{ | ||
Symbol songname; | ||
SymbolConstruct(&songname, shortname); | ||
MusicLibrarySelectMaybe(*(int *)PORT_THEMUSICLIBRARY, songname, 4, 1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters