diff --git a/shell.cpp b/shell.cpp index ea49cf4..32e8288 100644 --- a/shell.cpp +++ b/shell.cpp @@ -5,6 +5,7 @@ #include "ps2lowsfx.h" #include "effects.h" #include "spool.h" +#include "front.h" EXPORT CBody *MiscList; @@ -20,6 +21,228 @@ EXPORT SSkinGooParams gSuperDocOckSkinGooParams; EXPORT i32 gShellMysterioRelated; extern SPSXRegion PSXRegion[]; +// @SMALLTODO +void Shell_AddGameSlots(CMenu *) +{ + printf("Shell_AddGameSlots(CMenu *)"); +} + +// @SMALLTODO +void Shell_CalculateGameChecksum(SSaveGame *) +{ + printf("Shell_CalculateGameChecksum(SSaveGame *)"); +} + +// @MEDIUMTODO +void Shell_CharacterViewer(void) +{ + printf("Shell_CharacterViewer(void)"); +} + +// @SMALLTODO +void Shell_Cheats(void) +{ + printf("Shell_Cheats(void)"); +} + +// @MEDIUMTODO +void Shell_ChooseEnemy(i32,u8,signed char) +{ + printf("Shell_ChooseEnemy(i32,u8,signed char)"); +} + +// @MEDIUMTODO +void Shell_ChooseItemCollection(i32) +{ + printf("Shell_ChooseItemCollection(i32)"); +} + +// @MEDIUMTODO +void Shell_ChooseSpeedTraining(i32) +{ + printf("Shell_ChooseSpeedTraining(i32)"); +} + +// @MEDIUMTODO +void Shell_ChooseSurvivalArena(i32) +{ + printf("Shell_ChooseSurvivalArena(i32)"); +} + +// @MEDIUMTODO +void Shell_ChooseTime(i32,i32) +{ + printf("Shell_ChooseTime(i32,i32)"); +} + +// @MEDIUMTODO +void Shell_ChooseTrainingControlType(void) +{ + printf("Shell_ChooseTrainingControlType(void)"); +} + +// @MEDIUMTODO +void Shell_ChooseTrainingMission(i32) +{ + printf("Shell_ChooseTrainingMission(i32)"); +} + +// @MEDIUMTODO +void Shell_ComicCollection(void) +{ + printf("Shell_ComicCollection(void)"); +} + +// @MEDIUMTODO +void Shell_CostumeViewer(void) +{ + printf("Shell_CostumeViewer(void)"); +} + +// @MEDIUMTODO +void Shell_Difficulty(i32) +{ + printf("Shell_Difficulty(i32)"); +} + +// @SMALLTODO +void Shell_DisplayGameInfo(i32,i32,SSaveGame *) +{ + printf("Shell_DisplayGameInfo(i32,i32,SSaveGame *)"); +} + +// @MEDIUMTODO +void Shell_DoShell(u32 const *,u32 *) +{ + printf("Shell_DoShell(u32 const *,u32 *)"); +} + +// @SMALLTODO +void Shell_DrawBackground(void) +{ + printf("Shell_DrawBackground(void)"); +} + +// @SMALLTODO +void Shell_DrawTitleBar(i32,i32,char const *,i32,i32,i32,i32,i32) +{ + printf("Shell_DrawTitleBar(i32,i32,char const *,i32,i32,i32,i32,i32)"); +} + +// @MEDIUMTODO +void Shell_Gallery(EShellResult) +{ + printf("Shell_Gallery(EShellResult)"); +} + +// @MEDIUMTODO +void Shell_GameCovers(void) +{ + printf("Shell_GameCovers(void)"); +} + +// @MEDIUMTODO +void Shell_InputName(char *,i32,i32,char *) +{ + printf("Shell_InputName(char *,i32,i32,char *)"); +} + +// @SMALLTODO +void Shell_LegalScreen(void) +{ + printf("Shell_LegalScreen(void)"); +} + +// @MEDIUMTODO +void Shell_LevelSelect(void) +{ + printf("Shell_LevelSelect(void)"); +} + +// @MEDIUMTODO +void Shell_LoadGame(void) +{ + printf("Shell_LoadGame(void)"); +} + +// @MEDIUMTODO +void Shell_MainMenu(EShellResult) +{ + printf("Shell_MainMenu(EShellResult)"); +} + +// @MEDIUMTODO +void Shell_MemoryCard(EShellResult) +{ + printf("Shell_MemoryCard(EShellResult)"); +} + +// @MEDIUMTODO +void Shell_MovieViewer(void) +{ + printf("Shell_MovieViewer(void)"); +} + +// @MEDIUMTODO +void Shell_Options(EShellResult) +{ + printf("Shell_Options(EShellResult)"); +} + +// @MEDIUMTODO +void Shell_RollCredits(void) +{ + printf("Shell_RollCredits(void)"); +} + +// @MEDIUMTODO +void Shell_SFXMusic(void) +{ + printf("Shell_SFXMusic(void)"); +} + +// @MEDIUMTODO +void Shell_SaveGame(u32 const *,u32 *) +{ + printf("Shell_SaveGame(u32 const *,u32 *)"); +} + +// @MEDIUMTODO +void Shell_ScreenAdjust(void) +{ + printf("Shell_ScreenAdjust(void)"); +} + +// @MEDIUMTODO +void Shell_ShowRecord(char const *,char const *,STrainingMission *) +{ + printf("Shell_ShowRecord(char const *,char const *,STrainingMission *)"); +} + +// @MEDIUMTODO +void Shell_Special(EShellResult) +{ + printf("Shell_Special(EShellResult)"); +} + +// @MEDIUMTODO +void Shell_StoryBoards(void) +{ + printf("Shell_StoryBoards(void)"); +} + +// @MEDIUMTODO +void Shell_TitleScreen(void) +{ + printf("Shell_TitleScreen(void)"); +} + +// @SMALLTODO +void Shell_VerySmallFont(void) +{ + printf("Shell_VerySmallFont(void)"); +} + // @BIGTODO // fill these diff --git a/shell.h b/shell.h index 5537819..eb84701 100644 --- a/shell.h +++ b/shell.h @@ -227,6 +227,20 @@ struct SpideyIconRelated u8 padBottom[0x28-0x18-4]; }; +struct SSaveGame +{ +}; + +struct STrainingMission +{ +}; + +enum EShellResult +{ +}; + +class CMenu; + static const i32 INPUT_MAX_SIZE = 9; EXPORT i32 Shell_DeRudify(char[INPUT_MAX_SIZE]); @@ -234,6 +248,44 @@ EXPORT i32 Shell_ContainsSubString(const char*, const char*); EXPORT void CallAI(CBody *); EXPORT i32 CalcIndexOfContinueLevel(void); +EXPORT void Shell_AddGameSlots(CMenu *); +EXPORT void Shell_CalculateGameChecksum(SSaveGame *); +EXPORT void Shell_CharacterViewer(void); +EXPORT void Shell_Cheats(void); +EXPORT void Shell_ChooseEnemy(i32,u8,signed char); +EXPORT void Shell_ChooseItemCollection(i32); +EXPORT void Shell_ChooseSpeedTraining(i32); +EXPORT void Shell_ChooseSurvivalArena(i32); +EXPORT void Shell_ChooseTime(i32,i32); +EXPORT void Shell_ChooseTrainingControlType(void); +EXPORT void Shell_ChooseTrainingMission(i32); +EXPORT void Shell_ComicCollection(void); +EXPORT void Shell_CostumeViewer(void); +EXPORT void Shell_Difficulty(i32); +EXPORT void Shell_DisplayGameInfo(i32,i32,SSaveGame *); +EXPORT void Shell_DoShell(u32 const *,u32 *); +EXPORT void Shell_DrawBackground(void); +EXPORT void Shell_DrawTitleBar(i32,i32,char const *,i32,i32,i32,i32,i32); +EXPORT void Shell_Gallery(EShellResult); +EXPORT void Shell_GameCovers(void); +EXPORT void Shell_InputName(char *,i32,i32,char *); +EXPORT void Shell_LegalScreen(void); +EXPORT void Shell_LevelSelect(void); +EXPORT void Shell_LoadGame(void); +EXPORT void Shell_MainMenu(EShellResult); +EXPORT void Shell_MemoryCard(EShellResult); +EXPORT void Shell_MovieViewer(void); +EXPORT void Shell_Options(EShellResult); +EXPORT void Shell_RollCredits(void); +EXPORT void Shell_SFXMusic(void); +EXPORT void Shell_SaveGame(u32 const *,u32 *); +EXPORT void Shell_ScreenAdjust(void); +EXPORT void Shell_ShowRecord(char const *,char const *,STrainingMission *); +EXPORT void Shell_Special(EShellResult); +EXPORT void Shell_StoryBoards(void); +EXPORT void Shell_TitleScreen(void); +EXPORT void Shell_VerySmallFont(void); + void validate_CRudeWordHitterSpidey(void); void validate_CDummy(void); void validate_CWobblyGlow(void);