mirror of
https://github.com/RocketRobz/SuperAllStarPhotoStudio.git
synced 2025-06-18 17:15:35 -04:00
Add Kirby
This commit is contained in:
parent
c55ce2b356
commit
0d13618fc8
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
After Width: | Height: | Size: 92 KiB |
4
3ds/assets/gfx_chars/kirby_Kirby.t3s
Normal file
4
3ds/assets/gfx_chars/kirby_Kirby.t3s
Normal file
@ -0,0 +1,4 @@
|
||||
--atlas -f rgba -z auto
|
||||
"characters/Kirby series/All Seasons/zoom0/Kirby.png"
|
||||
"characters/Kirby series/All Seasons/zoom1/Kirby.png"
|
||||
"characters/Kirby series/All Seasons/zoom2/Kirby.png"
|
13
include/kirbyCharNames.h
Normal file
13
include/kirbyCharNames.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _ROCKET_PHOTO_SHOOT_KIRBY_CHAR_NAMES_HPP
|
||||
#define _ROCKET_PHOTO_SHOOT_KIRBY_CHAR_NAMES_HPP
|
||||
|
||||
extern const char* kirbyCharacterNames[];
|
||||
|
||||
extern bool kirbyCharacterGenders[];
|
||||
|
||||
extern const char* kirbyCharacterFileNamesSpring[];
|
||||
extern const char* kirbyCharacterFileNamesSummer[];
|
||||
extern const char* kirbyCharacterFileNamesFall[];
|
||||
extern const char* kirbyCharacterFileNamesWinter[];
|
||||
|
||||
#endif
|
BIN
nds/nitrofiles/graphics/char/kirby_Kirby.png
Normal file
BIN
nds/nitrofiles/graphics/char/kirby_Kirby.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
26
source/kirbyCharNames.c
Normal file
26
source/kirbyCharNames.c
Normal file
@ -0,0 +1,26 @@
|
||||
#include <stdbool.h>
|
||||
|
||||
const char* kirbyCharacterNames[] = {
|
||||
"Kirby",
|
||||
"",
|
||||
"",
|
||||
};
|
||||
|
||||
bool kirbyCharacterGenders[] = {
|
||||
true, // Male
|
||||
true, // Male
|
||||
true, // Male
|
||||
};
|
||||
|
||||
const char* kirbyCharacterFileNamesSpring[] = {
|
||||
"kirby_Kirby",
|
||||
};
|
||||
const char* kirbyCharacterFileNamesSummer[] = {
|
||||
"kirby_Kirby",
|
||||
};
|
||||
const char* kirbyCharacterFileNamesFall[] = {
|
||||
"kirby_Kirby",
|
||||
};
|
||||
const char* kirbyCharacterFileNamesWinter[] = {
|
||||
"kirby_Kirby",
|
||||
};
|
@ -18,6 +18,7 @@
|
||||
#include "metroidCharNames.h"
|
||||
#include "sc5CharNames.h"
|
||||
#include "vvvvvvCharNames.h"
|
||||
#include "kirbyCharNames.h"
|
||||
|
||||
#include "logobgnames.h"
|
||||
#include "import_ss1bgnames.h"
|
||||
@ -65,6 +66,7 @@ static u8 charPageOrder[] = {
|
||||
9, // Banjo-Kazooie series
|
||||
8, // Conker series
|
||||
7, // Jet Force Gemini
|
||||
15, // Kirby series
|
||||
12, // Metroid Series
|
||||
10, // Pac-Man series
|
||||
6, // Sonic the Hedgehog series
|
||||
@ -145,6 +147,7 @@ void PhotoStudio::getMaxChars() {
|
||||
break;
|
||||
case 11:
|
||||
case 14:
|
||||
case 15:
|
||||
import_totalCharacters = 0;
|
||||
break;
|
||||
case 6:
|
||||
@ -209,6 +212,8 @@ const char* PhotoStudio::import_characterName(void) const {
|
||||
return sc5CharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 14:
|
||||
return vvvvvvCharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 15:
|
||||
return kirbyCharacterNames[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
return "null";
|
||||
}
|
||||
@ -358,6 +363,17 @@ const char* PhotoStudio::import_characterFileName(void) const {
|
||||
case 3:
|
||||
return vvvvvvCharacterFileNamesWinter[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
case 15:
|
||||
switch (seasonNo[currentCharNum]) {
|
||||
case 0:
|
||||
return kirbyCharacterFileNamesSpring[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 1:
|
||||
return kirbyCharacterFileNamesSummer[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 2:
|
||||
return kirbyCharacterFileNamesFall[importCharacterList_cursorPosition[currentCharNum]];
|
||||
case 3:
|
||||
return kirbyCharacterFileNamesWinter[importCharacterList_cursorPosition[currentCharNum]];
|
||||
}
|
||||
}
|
||||
return "null";
|
||||
}
|
||||
@ -500,6 +516,8 @@ const char* PhotoStudio::charGameTitle(void) const {
|
||||
return "Space Channel 5";
|
||||
case 14:
|
||||
return "VVVVVV";
|
||||
case 15:
|
||||
return "Kirby series";
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
@ -536,6 +554,8 @@ bool PhotoStudio::charGender(int i) const {
|
||||
return sc5CharacterGenders[i];
|
||||
case 14:
|
||||
return vvvvvvCharacterGenders[i];
|
||||
case 15:
|
||||
return kirbyCharacterGenders[i];
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -592,6 +612,8 @@ const char* PhotoStudio::charName(int i) const {
|
||||
return sc5CharacterNames[i];
|
||||
case 14:
|
||||
return vvvvvvCharacterNames[i];
|
||||
case 15:
|
||||
return kirbyCharacterNames[i];
|
||||
}
|
||||
return "???";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user