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
|
@ -171,20 +171,7 @@ int main() {
|
|||
font = sfil_load_PNG_buffer(Font_png, SF2D_PLACE_RAM);
|
||||
bottombg = sfil_load_PNG_buffer(bottombg_png, SF2D_PLACE_RAM);
|
||||
|
||||
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");
|
||||
|
||||
loadSounds();
|
||||
playMusic(music_menu);
|
||||
|
||||
bakeLights();
|
||||
|
@ -244,7 +231,6 @@ int main() {
|
|||
|
||||
tickCount = 0;
|
||||
initRecipes();
|
||||
defineTables();
|
||||
while (aptMainLoop()) {
|
||||
++tickCount;
|
||||
hidScanInput();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue