Photo Studio: Add 3 more SST locations

This commit is contained in:
RocketRobz 2020-07-03 02:40:45 -06:00
parent 261a4516c8
commit 4f2c0a241b
9 changed files with 23 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 KiB

View File

@ -0,0 +1 @@
-f rgba -z auto "bg_lifestyleShop2.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 650 KiB

View File

@ -0,0 +1 @@
-f rgba -z auto "bg_liveMusicClub2.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 642 KiB

View File

@ -0,0 +1 @@
-f rgba -z auto "bg_roseGarden2.png"

View File

@ -24,6 +24,9 @@ const char* import_ss2BgNames[] {
"Exhibition Hall", "Exhibition Hall",
"Beautician", "Beautician",
"After Party", "After Party",
"Lifestyle Shop",
"Live Music Club",
"Rose Garden",
}; };
int import_ss2BgNums[] { int import_ss2BgNums[] {
@ -52,4 +55,7 @@ int import_ss2BgNums[] {
39, 39,
40, 40,
41, 41,
45,
46,
47,
}; };

View File

@ -279,6 +279,15 @@ void GFX::loadBgSprite(void) {
case 44: case 44:
bgPath = "romfs:/gfx/bg_beautician1.t3x"; bgPath = "romfs:/gfx/bg_beautician1.t3x";
break; break;
case 45:
bgPath = "romfs:/gfx/bg_lifestyleShop2.t3x";
break;
case 46:
bgPath = "romfs:/gfx/bg_liveMusicClub2.t3x";
break;
case 47:
bgPath = "romfs:/gfx/bg_roseGarden2.t3x";
break;
} }
FILE* bgFile = fopen(bgPath, "rb"); FILE* bgFile = fopen(bgPath, "rb");
fread((void*)bgSpriteMem[0], 1, 0x200000, bgFile); fread((void*)bgSpriteMem[0], 1, 0x200000, bgFile);
@ -404,7 +413,10 @@ void GFX::showCharSprite(int zoomIn, int fadeAlpha, bool lightingEffects) {
default: default:
break; break;
case 7: case 7:
C2D_PlainImageTint(&tint, C2D_Color32(0, 0, 95, 255), 0.1); // Tint for Live Music Club C2D_PlainImageTint(&tint, C2D_Color32(0, 0, 95, 255), 0.1); // Tint for Live Music Club 4
break;
case 46:
C2D_PlainImageTint(&tint, C2D_Color32(31, 31, 95, 255), 0.1); // Tint for Live Music Club 2
break; break;
case 11: case 11:
C2D_PlainImageTint(&tint, C2D_Color32(191, 63, 87, 255), 0.1); // Tint for Cinema C2D_PlainImageTint(&tint, C2D_Color32(191, 63, 87, 255), 0.1); // Tint for Cinema

View File

@ -34,7 +34,7 @@ void PhotoStudio::getMaxChars() {
} else if (photo_highlightedGame == 2) { } else if (photo_highlightedGame == 2) {
import_totalCharacters = 8; import_totalCharacters = 8;
} else if (photo_highlightedGame == 1) { } else if (photo_highlightedGame == 1) {
import_totalCharacters = 24; import_totalCharacters = 27;
} else if (photo_highlightedGame == 0) { } else if (photo_highlightedGame == 0) {
import_totalCharacters = 2; import_totalCharacters = 2;
} }