mirror of
https://github.com/RocketRobz/SavvyManager.git
synced 2025-06-18 17:15:34 -04:00
Add Bougainville (Night) as Studio BG
This commit is contained in:
parent
5a77cda71c
commit
ef1b1df2f3
BIN
assets/gfx_charprevbg/bgNight_bougainville.png
Normal file
BIN
assets/gfx_charprevbg/bgNight_bougainville.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 343 KiB |
1
assets/gfx_charprevbg/bgNight_bougainville.t3s
Normal file
1
assets/gfx_charprevbg/bgNight_bougainville.t3s
Normal file
@ -0,0 +1 @@
|
||||
-f rgba -z auto "bgNight_bougainville.png"
|
@ -51,6 +51,9 @@ void GFX::loadBgSprite(void) {
|
||||
case 1:
|
||||
bgPath = "romfs:/gfx/bgNight_loversBell.t3x";
|
||||
break;
|
||||
case 2:
|
||||
bgPath = "romfs:/gfx/bgNight_bougainville.t3x";
|
||||
break;
|
||||
}
|
||||
bgSprite = C2D_SpriteSheetLoad(bgPath);
|
||||
doBgSpriteFree = true;
|
||||
|
@ -17,7 +17,9 @@ static const char* studioBgName(void) {
|
||||
default:
|
||||
return "Blue";
|
||||
case 1:
|
||||
return "Lovers Bell";
|
||||
return "Lover's Bell";
|
||||
case 2:
|
||||
return "Bougainville";
|
||||
}
|
||||
|
||||
return "null";
|
||||
@ -188,12 +190,31 @@ void settingsMenu(void) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((hDown & KEY_A) && (cursorPosition <= numberOfSettings)) {
|
||||
if ((hDown & KEY_LEFT) && (cursorPosition <= numberOfSettings)) {
|
||||
sndSelect();
|
||||
switch (cursorPosition) {
|
||||
case 0:
|
||||
studioBg--;
|
||||
if (studioBg < 0) studioBg = 2;
|
||||
displayStudioBg = false;
|
||||
gspWaitForVBlank();
|
||||
GFX::loadBgSprite();
|
||||
displayStudioBg = true;
|
||||
break;
|
||||
case 1:
|
||||
if (iFps==30) iFps = 24;
|
||||
else if (iFps==24) iFps = 60;
|
||||
else if (iFps==60) iFps = 30;
|
||||
C3D_FrameRate(iFps);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (((hDown & KEY_RIGHT) || (hDown & KEY_A)) && (cursorPosition <= numberOfSettings)) {
|
||||
sndSelect();
|
||||
switch (cursorPosition) {
|
||||
case 0:
|
||||
studioBg++;
|
||||
if (studioBg > 1) studioBg = 0;
|
||||
if (studioBg > 2) studioBg = 0;
|
||||
displayStudioBg = false;
|
||||
gspWaitForVBlank();
|
||||
GFX::loadBgSprite();
|
||||
|
Loading…
Reference in New Issue
Block a user