-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/pret/pokeplatinum into pal-…
…park
- Loading branch information
Showing
124 changed files
with
2,813 additions
and
2,833 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#ifndef POKEPLATINUM_JOURNAL_PRINTER_H | ||
#define POKEPLATINUM_JOURNAL_PRINTER_H | ||
|
||
#include "applications/journal_display/struct_ov81_021D1610.h" | ||
#include "applications/journal_display/journal_controller.h" | ||
|
||
void ov81_021D1610(UnkStruct_ov81_021D1610 *param0); | ||
void ov81_021D1634(UnkStruct_ov81_021D1610 *param0); | ||
void ov81_021D164C(UnkStruct_ov81_021D1610 *param0, u32 param1); | ||
void JournalPrinter_AddWindows(JournalManager *param0); | ||
void JournalPrinter_RemoveWindows(JournalManager *param0); | ||
void JournalPrinter_PrintEntry(JournalManager *param0, u32 param1); | ||
|
||
#endif // POKEPLATINUM_JOURNAL_PRINTER_H |
35 changes: 0 additions & 35 deletions
35
include/applications/journal_display/struct_ov81_021D1610.h
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef POKEPLATINUM_FIELD_MESSAGE_H | ||
#define POKEPLATINUM_FIELD_MESSAGE_H | ||
|
||
#include "bg_window.h" | ||
#include "game_options.h" | ||
#include "strbuf.h" | ||
|
||
void FieldMessage_LoadTextPalettes(u32 palLocation, u32 resetPrinters); | ||
void FieldMessage_AddWindow(BgConfig *bgConfig, Window *window, u32 bgLayer); | ||
void FieldMessage_DrawWindow(Window *window, const Options *options); | ||
void FieldMessage_ClearWindow(Window *window); | ||
u8 FieldMessage_Print(Window *window, Strbuf *strBuf, const Options *options, u8 canSkipDelay); | ||
u8 FieldMessage_PrintWithParams(Window *window, Strbuf *strBuf, int fontID, int renderDelay, u8 canSkipDelay, BOOL autoScroll); | ||
u8 FieldMessage_FinishedPrinting(u8 printerID); | ||
void FieldMessage_AddSignpostWindow(BgConfig *bgConfig, Window *window, u16 signpostType, u16 bgLayer); | ||
void FieldMessage_LoadAndDrawSignpost(Window *window, u16 signpostType, u16 signpostNARCMemberIdx); | ||
|
||
#endif // POKEPLATINUM_FIELD_MESSAGE_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#ifndef POKEPLATINUM_POKEDEX_TEXT_H | ||
#define POKEPLATINUM_POKEDEX_TEXT_H | ||
|
||
#include "strbuf.h" | ||
|
||
void PokedexText_Free(Strbuf *strbuf); | ||
int PokedexText_ForeignLanguage(int languageIndex); | ||
Strbuf *PokedexText_NameNumber(int species, int language, int heapID); | ||
Strbuf *PokedexText_Category(int species, int language, int heapID); | ||
Strbuf *PokedexText_DexEntry(int species, int language, int entryOffset, int heapID); | ||
|
||
#endif // POKEPLATINUM_POKEDEX_TEXT_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#ifndef POKEPLATINUM_POKEDEX_DATA_H | ||
#define POKEPLATINUM_POKEDEX_DATA_H | ||
|
||
#include "struct_decls/pokedexdata_decl.h" | ||
|
||
#include "pokemon.h" | ||
#include "savedata.h" | ||
|
||
int PokedexData_SaveSize(void); | ||
PokedexData *PokedexData_Alloc(u32 heapID); | ||
void PokedexData_Copy(const PokedexData *src, PokedexData *dest); | ||
void PokedexData_Init(PokedexData *pokedexData); | ||
u16 PokedexData_CountCaught_National(const PokedexData *pokedexData); | ||
u16 PokedexData_CountSeen_National(const PokedexData *pokedexData); | ||
u16 PokedexData_CountSeen(const PokedexData *pokedexData); | ||
u16 PokedexData_CountCaught_Local(const PokedexData *pokedexData); | ||
u16 PokedexData_CountSeen_Local(const PokedexData *pokedexData); | ||
BOOL PokedexData_NationalDexCompleted(const PokedexData *pokedexData); | ||
BOOL PokedexData_LocalDexCompleted(const PokedexData *pokedexData); | ||
u16 PokedexData_NumCaught_National(const PokedexData *pokedexData); | ||
u16 PokedexData_NumCaught_Local(const PokedexData *pokedexData); | ||
BOOL PokedexData_HasCaughtSpecies(const PokedexData *pokedexData, u16 species); | ||
BOOL PokedexData_HasSeenSpecies(const PokedexData *pokedexData, u16 species); | ||
u32 PokedexData_GetForm_Spinda(const PokedexData *pokedexData, u8 formIndex); | ||
u32 PokedexData_DisplayedGender(const PokedexData *pokedexData, u16 species, int displaySecondary); | ||
u32 PokedexData_GetForm_Unown(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Unown(const PokedexData *pokedexData); | ||
u32 PokedexData_GetForm_Shellos(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Shellos(const PokedexData *pokedexData); | ||
u32 PokedexData_GetForm_Gastrodon(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Gastrodon(const PokedexData *pokedexData); | ||
u32 PokedexData_GetForm_Burmy(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Burmy(const PokedexData *pokedexData); | ||
u32 PokedexData_GetForm_Wormadam(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Wormadam(const PokedexData *pokedexData); | ||
u32 PokedexData_GetForm_Deoxys(const PokedexData *pokedexData, int formIndex); | ||
u32 PokedexData_NumFormsSeen_Deoxys(const PokedexData *pokedexData); | ||
void PokedexData_Encounter(PokedexData *pokedexData, Pokemon *pokemon); | ||
void PokedexData_Capture(PokedexData *pokedexData, Pokemon *pokemon); | ||
void PokedexData_ObtainNationalDex(PokedexData *pokedexData); | ||
BOOL PokedexData_IsNationalDexObtained(const PokedexData *pokedexData); | ||
BOOL PokedexData_CanDetectForms(const PokedexData *pokedexData); | ||
void PokedexData_TurnOnFormDetection(PokedexData *pokedexData); | ||
BOOL PokedexData_IsLanguageObtained(const PokedexData *pokedexData, u16 species, u32 languageIndex); | ||
void PokedexData_TurnOnLanguageDetection(PokedexData *pokedexData); | ||
BOOL PokedexData_CanDetectLanguages(const PokedexData *pokedexData); | ||
BOOL PokedexData_IsObtained(const PokedexData *pokedexData); | ||
void PokedexData_ObtainPokedex(PokedexData *pokedexData); | ||
PokedexData *SaveData_PokedexData(SaveData *saveData); | ||
u32 PokedexData_GetDisplayForm(const PokedexData *pokedexData, int species, int formIndex); | ||
u32 PokedexData_NumFormsSeen(const PokedexData *pokedexData, int species); | ||
|
||
#endif // POKEPLATINUM_POKEDEX_DATA_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#ifndef POKEPLATINUM_POKEDEX_LANGUAGE_H | ||
#define POKEPLATINUM_POKEDEX_LANGUAGE_H | ||
|
||
#define NUM_LANGUAGES 6 | ||
|
||
int PokedexLanguage_LanguageToIndex(int language); | ||
int PokedexLanguage_IndexToLanguage(int languageIndex); | ||
|
||
#endif // POKEPLATINUM_POKEDEX_LANGUAGE_H |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.