mirror of
https://github.com/Epicpkmn11/WordleDS.git
synced 2025-06-18 13:55:34 -04:00
Add original music composition (#10)
* Add original music composition * Optimize music I just ran Cleanup and Automatic Sample Trimmer on it in OpenMPT Co-authored-by: Pk11 <epicpkmn11@outlook.com>
This commit is contained in:
parent
8ad8252061
commit
d9a9d7f006
4
Makefile
4
Makefile
@ -38,7 +38,7 @@ SOURCES := source
|
||||
INCLUDES := include
|
||||
DATA := data
|
||||
GRAPHICS := gfx
|
||||
AUDIO :=
|
||||
AUDIO := audio
|
||||
BANNER := ../banner.bin
|
||||
|
||||
# specify a directory which contains the nitro filesystem
|
||||
@ -59,7 +59,7 @@ LDFLAGS = -specs=ds_arm9.specs -g $(ARCH) -Wl,-Map,$(notdir $*.map)
|
||||
#---------------------------------------------------------------------------------
|
||||
# any extra libraries we wish to link with the project (order is important)
|
||||
#---------------------------------------------------------------------------------
|
||||
LIBS := -lqrencode -lfat -lnds9
|
||||
LIBS := -lqrencode -lfat -lmm9 -lnds9
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
# list of directories containing libraries, this must be the top level containing
|
||||
|
@ -15,3 +15,4 @@ Most other things such as the word length, starting day, and any text strings ar
|
||||
- [Pk11](https://github.com/Epicmn11): This DS port
|
||||
- [Josh Wardle](https://github.com/powerlanguage): The original Wordle
|
||||
- [lifehackerhansol](https://github.com/lifehackerhansol): animatedbannerpatch.py from [TWiLight Menu++](https://github.com/DS-Homebrew/TWiLightMenu)
|
||||
- [Rocket Robz](https://github.com/RocketRobz): Original music composition
|
BIN
audio/music.it
Normal file
BIN
audio/music.it
Normal file
Binary file not shown.
BIN
resources/music.mid
Normal file
BIN
resources/music.mid
Normal file
Binary file not shown.
BIN
resources/music.mptm
Normal file
BIN
resources/music.mptm
Normal file
Binary file not shown.
@ -6,12 +6,21 @@
|
||||
#include <fat.h>
|
||||
#include <nds.h>
|
||||
#include <stdio.h>
|
||||
#include <maxmod9.h>
|
||||
|
||||
#include "soundbank.h"
|
||||
#include "soundbank_bin.h"
|
||||
|
||||
Game *game;
|
||||
|
||||
int main() {
|
||||
bool fatInited = fatInitDefault();
|
||||
|
||||
mmInitDefaultMem((mm_addr)soundbank_bin);
|
||||
mmLoad(MOD_MUSIC);
|
||||
mmSetModuleVolume(800);
|
||||
mmStart(MOD_MUSIC, MM_PLAY_LOOP);
|
||||
|
||||
initGraphics();
|
||||
game = new Game();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user