Add Samus and Zero Suit Samus from *Metroid* series
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 178 KiB |
After Width: | Height: | Size: 294 KiB |
After Width: | Height: | Size: 55 KiB |
After Width: | Height: | Size: 126 KiB |
After Width: | Height: | Size: 157 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 121 KiB |
After Width: | Height: | Size: 154 KiB |
4
3ds/assets/gfx_chars/metroid_Samus.t3s
Normal file
@ -0,0 +1,4 @@
|
||||
--atlas -f rgba -z auto
|
||||
"characters/Metroid series/All Seasons/zoom0/Samus.png"
|
||||
"characters/Metroid series/All Seasons/zoom1/Samus.png"
|
||||
"characters/Metroid series/All Seasons/zoom2/Samus.png"
|
4
3ds/assets/gfx_chars/metroid_ZeroSuitSamus.t3s
Normal file
@ -0,0 +1,4 @@
|
||||
--atlas -f rgba -z auto
|
||||
"characters/Metroid series/Spring/zoom0/Zero Suit Samus.png"
|
||||
"characters/Metroid series/Spring/zoom1/Zero Suit Samus.png"
|
||||
"characters/Metroid series/Spring/zoom2/Zero Suit Samus.png"
|
4
3ds/assets/gfx_chars/metroid_ZeroSuitSamusSummer.t3s
Normal file
@ -0,0 +1,4 @@
|
||||
--atlas -f rgba -z auto
|
||||
"characters/Metroid series/Summer/zoom0/Zero Suit Samus.png"
|
||||
"characters/Metroid series/Summer/zoom1/Zero Suit Samus.png"
|
||||
"characters/Metroid series/Summer/zoom2/Zero Suit Samus.png"
|
13
include/metroidCharNames.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _ROCKET_PHOTO_SHOOT_METROID_CHAR_NAMES_HPP
|
||||
#define _ROCKET_PHOTO_SHOOT_METROID_CHAR_NAMES_HPP
|
||||
|
||||
extern const char* metroidCharacterNames[];
|
||||
|
||||
extern bool metroidCharacterGenders[];
|
||||
|
||||
extern const char* metroidCharacterFileNamesSpring[];
|
||||
extern const char* metroidCharacterFileNamesSummer[];
|
||||
extern const char* metroidCharacterFileNamesFall[];
|
||||
extern const char* metroidCharacterFileNamesWinter[];
|
||||
|
||||
#endif
|
BIN
nds/nitrofiles/graphics/char/metroid_Samus.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
nds/nitrofiles/graphics/char/metroid_ZeroSuitSamus.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
nds/nitrofiles/graphics/char/metroid_ZeroSuitSamusSummer.png
Normal file
After Width: | Height: | Size: 31 KiB |
30
source/metroidCharNames.c
Normal file
@ -0,0 +1,30 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
const char* metroidCharacterNames[] = {
|
||||
"Samus",
|
||||
"Zero Suit Samus",
|
||||
"",
|
||||
};
|
||||
|
||||
bool metroidCharacterGenders[] = {
|
||||
false, // Female
|
||||
false, // Female
|
||||
true, // Male
|
||||
};
|
||||
|
||||
const char* metroidCharacterFileNamesSpring[] = {
|
||||
"metroid_Samus",
|
||||
"metroid_ZeroSuitSamus",
|
||||
};
|
||||
const char* metroidCharacterFileNamesSummer[] = {
|
||||
"metroid_Samus",
|
||||
"metroid_ZeroSuitSamusSummer",
|
||||
};
|
||||
const char* metroidCharacterFileNamesFall[] = {
|
||||
"metroid_Samus",
|
||||
"metroid_ZeroSuitSamus",
|
||||
};
|
||||
const char* metroidCharacterFileNamesWinter[] = {
|
||||
"metroid_Samus",
|
||||
"metroid_ZeroSuitSamus",
|
||||
};
|
@ -15,6 +15,7 @@
|
||||
#include "banjokCharNames.h"
|
||||
#include "pacCharNames.h"
|
||||
#include "swapCharNames.h"
|
||||
#include "metroidCharNames.h"
|
||||
|
||||
#include "import_ss1bgnames.h"
|
||||
#include "import_ss2bgnames.h"
|
||||
@ -56,11 +57,12 @@ int characterLimit = 1;
|
||||
int characterLimit = 4;
|
||||
#endif
|
||||
|
||||
static int charPageOrder[] = {
|
||||
static u8 charPageOrder[] = {
|
||||
4, // Super Photo Studio (Original Characters)
|
||||
9, // Banjo-Kazooie series
|
||||
8, // Conker series
|
||||
7, // Jet Force Gemini
|
||||
12, // Metroid Series
|
||||
10, // Pac-Man series
|
||||
6, // Sonic the Hedgehog series
|
||||
0, // Style Savvy
|
||||
@ -190,6 +192,8 @@ const char* PhotoStudio::import_characterName(void) const {
|
||||
return pacCharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 11:
|
||||
return swapCharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 12:
|
||||
return metroidCharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
return "null";
|
||||
}
|
||||
@ -295,6 +299,17 @@ const char* PhotoStudio::import_characterFileName(void) const {
|
||||
case 3:
|
||||
return swapCharacterFileNamesWinter[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
case 12:
|
||||
switch (seasonNo[currentCharNum]) {
|
||||
case 0:
|
||||
return metroidCharacterFileNamesSpring[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 1:
|
||||
return metroidCharacterFileNamesSummer[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 2:
|
||||
return metroidCharacterFileNamesFall[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 3:
|
||||
return metroidCharacterFileNamesWinter[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
}
|
||||
return "null";
|
||||
}
|
||||
@ -411,6 +426,8 @@ const char* PhotoStudio::charGameTitle(void) const {
|
||||
return "Pac-Man series";
|
||||
case 11:
|
||||
return "Swapnote/Swapdoodle";
|
||||
case 12:
|
||||
return "Metroid";
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
@ -441,6 +458,8 @@ bool PhotoStudio::charGender(int i) const {
|
||||
return pacCharacterGenders[i];
|
||||
case 11:
|
||||
return swapCharacterGenders[i];
|
||||
case 12:
|
||||
return metroidCharacterGenders[i];
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -471,6 +490,8 @@ const char* PhotoStudio::charName(int i) const {
|
||||
return pacCharacterNames[i];
|
||||
case 11:
|
||||
return swapCharacterNames[i];
|
||||
case 12:
|
||||
return metroidCharacterNames[i];
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
@ -1059,7 +1080,7 @@ void PhotoStudio::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
if (hDown & KEY_DLEFT) {
|
||||
sndHighlight();
|
||||
char_highlightedGame[currentCharNum]--;
|
||||
if (char_highlightedGame[currentCharNum] < 0) char_highlightedGame[currentCharNum] = 11;
|
||||
if (char_highlightedGame[currentCharNum] < 0) char_highlightedGame[currentCharNum] = (int)sizeof(charPageOrder)-1;
|
||||
getMaxChars();
|
||||
renderTop = true;
|
||||
}
|
||||
@ -1067,7 +1088,7 @@ void PhotoStudio::Logic(u32 hDown, u32 hHeld, touchPosition touch) {
|
||||
if (hDown & KEY_DRIGHT) {
|
||||
sndHighlight();
|
||||
char_highlightedGame[currentCharNum]++;
|
||||
if (char_highlightedGame[currentCharNum] > 11) char_highlightedGame[currentCharNum] = 0;
|
||||
if (char_highlightedGame[currentCharNum] > (int)sizeof(charPageOrder)-1) char_highlightedGame[currentCharNum] = 0;
|
||||
getMaxChars();
|
||||
renderTop = true;
|
||||
}
|
||||
|