Skip to content

Commit af5bbb5

Browse files
authored
Document remaining unused Poketch apps (Overlays 38, 39, 51, 55) (#808)
1 parent 06aaecd commit af5bbb5

38 files changed

+1322
-1401
lines changed

include/applications/poketch/poketch_task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ void PoketchTask_MapToActivePaletteFromLuminance(u16 *rawData, u32 numPaletteEnt
4343
void PoketchTask_FillPaletteFromActivePaletteSlot(u32 slot, u32 offset);
4444
void PoketchTask_LoadPokemonIconLuminancePalette(u32 offset);
4545
void PoketchTask_LoadPokemonIcons(u32 offset, const u32 *iconIdxList, u32 numIcons, BOOL isLarge);
46-
void ov25_02255440(BgConfig *bgConfig, u32 digit, u32 bgLayer);
46+
void Poketch_ShowUnusedDummyText(BgConfig *bgConfig, u32 number, u32 bgLayer);
4747

4848
#endif // POKEPLATINUM_POKETCH_TASK_H
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#ifndef POKEPLATINUM_POKETCH_UNUSED_1_GRAPHICS_H
2+
#define POKEPLATINUM_POKETCH_UNUSED_1_GRAPHICS_H
3+
4+
#include "bg_window.h"
5+
6+
typedef struct Unused1Data {
7+
u32 unused;
8+
} Unused1Data;
9+
10+
typedef struct UnusedApp1Graphics {
11+
const Unused1Data *data;
12+
BgConfig *bgConfig;
13+
u32 activeTasks[10];
14+
} UnusedApp1Graphics;
15+
16+
BOOL PoketchUnusedApp1Graphics_New(UnusedApp1Graphics **dest, const Unused1Data *data, BgConfig *bgConfig);
17+
void PoketchUnusedApp1Graphics_Free(UnusedApp1Graphics *graphics);
18+
void PoketchUnusedApp1Graphics_StartTask(UnusedApp1Graphics *graphics, u32 taskID);
19+
BOOL PoketchUnusedApp1Graphics_TaskIsNotActive(UnusedApp1Graphics *graphics, u32 taskID);
20+
BOOL PoketchUnusedApp1Graphics_NoActiveTasks(UnusedApp1Graphics *graphics);
21+
22+
#endif // POKEPLATINUM_POKETCH_UNUSED_1_GRAPHICS_H
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#ifndef POKEPLATINUM_POKETCH_UNUSED_2_GRAPHICS_H
2+
#define POKEPLATINUM_POKETCH_UNUSED_2_GRAPHICS_H
3+
4+
#include "bg_window.h"
5+
6+
#define NUM_BUTTONS 6
7+
8+
typedef struct Unused2Data {
9+
u32 unused;
10+
BOOL buttonUnlocked[NUM_BUTTONS];
11+
u16 pressedButtonID;
12+
} Unused2Data;
13+
14+
typedef struct UnusedApp2Graphics {
15+
const Unused2Data *appData;
16+
BgConfig *bgConfig;
17+
u32 activeTasks[6];
18+
} UnusedApp2Graphics;
19+
20+
BOOL PoketchUnusedApp2Graphics_New(UnusedApp2Graphics **dest, const Unused2Data *data, BgConfig *bgConfig);
21+
void PoketchUnusedApp2Graphics_Free(UnusedApp2Graphics *graphics);
22+
void PoketchUnusedApp2Graphics_StartTask(UnusedApp2Graphics *graphics, u32 taskID);
23+
BOOL PoketchUnusedApp2Graphics_TaskIsNotActive(UnusedApp2Graphics *graphics, u32 taskID);
24+
BOOL PoketchUnusedApp2Graphics_NoActiveTasks(UnusedApp2Graphics *graphics);
25+
26+
#endif // POKEPLATINUM_POKETCH_UNUSED_2_GRAPHICS_H
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#ifndef POKEPLATINUM_POKETCH_UNUSED_3_GRAPHICS_H
2+
#define POKEPLATINUM_POKETCH_UNUSED_3_GRAPHICS_H
3+
4+
#include "bg_window.h"
5+
6+
typedef struct Unused3Data {
7+
u32 unused;
8+
} Unused3Data;
9+
10+
typedef struct UnusedApp3Graphics {
11+
const Unused3Data *data;
12+
BgConfig *bgConfig;
13+
u32 activeTasks[10];
14+
} UnusedApp3Graphics;
15+
16+
BOOL PoketchUnusedApp3Graphics_New(UnusedApp3Graphics **dest, const Unused3Data *data, BgConfig *bgConfig);
17+
void PoketchUnusedApp3Graphics_Free(UnusedApp3Graphics *graphics);
18+
void PoketchUnusedApp3Graphics_StartTask(UnusedApp3Graphics *graphics, u32 taskID);
19+
BOOL PoketchUnusedApp3Graphics_TaskIsNotActive(UnusedApp3Graphics *graphics, u32 taskID);
20+
BOOL PoketchUnusedApp3Graphics_NoActiveTasks(UnusedApp3Graphics *graphics);
21+
22+
#endif // POKEPLATINUM_POKETCH_UNUSED_3_GRAPHICS_H
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#ifndef POKEPLATINUM_POKETCH_UNUSED_4_GRAPHICS_H
2+
#define POKEPLATINUM_POKETCH_UNUSED_4_GRAPHICS_H
3+
4+
#include "bg_window.h"
5+
6+
typedef struct Unused4Data {
7+
u32 appID;
8+
} Unused4Data;
9+
10+
typedef struct UnusedApp4Graphics {
11+
const Unused4Data *data;
12+
BgConfig *bgConfig;
13+
u32 activeTasks[10];
14+
} UnusedApp4Graphics;
15+
16+
BOOL PoketchUnusedApp4Graphics_New(UnusedApp4Graphics **dest, const Unused4Data *data, BgConfig *bgConfig);
17+
void PoketchUnusedApp4Graphics_Free(UnusedApp4Graphics *graphics);
18+
void PoketchUnusedApp4Graphics_StartTask(UnusedApp4Graphics *graphics, u32 taskID);
19+
BOOL PoketchUnusedApp4Graphics_TaskIsNotActive(UnusedApp4Graphics *graphics, u32 taskID);
20+
BOOL PoketchUnusedApp4Graphics_NoActiveTasks(UnusedApp4Graphics *graphics);
21+
22+
#endif // POKEPLATINUM_POKETCH_UNUSED_4_GRAPHICS_H

include/overlay038/ov38_0225632C.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

include/overlay038/struct_ov38_0225632C_1.h

Lines changed: 0 additions & 8 deletions
This file was deleted.

include/overlay038/struct_ov38_0225632C_decl.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

include/overlay039/ov39_022563DC.h

Lines changed: 0 additions & 15 deletions
This file was deleted.

include/overlay039/struct_ov39_022563DC_1.h

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)