Added game files
This commit is contained in:
parent
704637d45e
commit
340b9b6900
31 changed files with 5427 additions and 0 deletions
23
source/Sound.h
Normal file
23
source/Sound.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#pragma once
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <3ds.h>
|
||||
|
||||
|
||||
typedef struct {
|
||||
u32 size;
|
||||
u8 * buffer;
|
||||
} Sound;
|
||||
|
||||
void loadSound(Sound * snd, char * filename);
|
||||
void playSound(Sound snd);
|
||||
void freeSounds();
|
||||
|
||||
Sound snd_playerHurt;
|
||||
Sound snd_playerDeath;
|
||||
Sound snd_monsterHurt;
|
||||
Sound snd_test;
|
||||
Sound snd_pickup;
|
||||
Sound snd_bossdeath;
|
||||
Sound snd_craft;
|
Loading…
Add table
Add a link
Reference in a new issue