Rework connected tile rendering
Might drop FPS to about 50 in certain special circumstances on o3DS
This commit is contained in:
parent
d93e3753f0
commit
ccdb63fb1e
12 changed files with 210 additions and 433 deletions
|
@ -38,6 +38,22 @@ void updateMusic(int lvl) {
|
|||
}
|
||||
}
|
||||
|
||||
void loadSounds() {
|
||||
loadSound(&snd_playerHurt, "resources/playerhurt.raw");
|
||||
loadSound(&snd_playerDeath, "resources/playerdeath.raw");
|
||||
loadSound(&snd_monsterHurt, "resources/monsterhurt.raw");
|
||||
loadSound(&snd_test, "resources/test.raw");
|
||||
loadSound(&snd_pickup, "resources/pickup.raw");
|
||||
loadSound(&snd_bossdeath, "resources/bossdeath.raw");
|
||||
loadSound(&snd_craft, "resources/craft.raw");
|
||||
|
||||
loadSound(&music_menu, "resources/music/menu.raw");
|
||||
loadSound(&music_floor0, "resources/music/floor0.raw");
|
||||
loadSound(&music_floor1, "resources/music/floor1.raw");
|
||||
loadSound(&music_floor23, "resources/music/floor2_3.raw");
|
||||
loadSound(&music_floor4, "resources/music/floor4.raw");
|
||||
}
|
||||
|
||||
void freeSounds(){
|
||||
linearFree(snd_playerHurt.buffer);
|
||||
linearFree(snd_playerDeath.buffer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue