mirror of
https://github.com/pret/pmd-red.git
synced 2026-09-27 03:18:13 -05:00
Split credits
This commit is contained in:
@@ -5,5 +5,8 @@
|
||||
extern void sub_80993D8(void);
|
||||
extern void sub_80993E4(void);
|
||||
extern void sub_8099690(u32);
|
||||
extern void sub_8099A5C(u32, u32, u32);
|
||||
extern void sub_8099AFC(u32, u32, u32);
|
||||
extern u8 sub_8099B94(void);
|
||||
|
||||
#endif // GUARD_CODE_8098BDC_H
|
||||
29
include/credits1.h
Normal file
29
include/credits1.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef GUARD_CREDITS1_H
|
||||
#define GUARD_CREDITS1_H
|
||||
|
||||
#include "text.h"
|
||||
|
||||
// size: 0x6C
|
||||
typedef struct Credits1Work
|
||||
{
|
||||
UnkTextStruct2 unk0[4];
|
||||
s32 unk60;
|
||||
s32 unk64;
|
||||
/* 0x68 */ s32 creditsCategoryIndex;
|
||||
} Credits1Work;
|
||||
|
||||
// size: 0xC
|
||||
typedef struct CreditsData
|
||||
{
|
||||
/* 0x0 */ s16 type;
|
||||
/* 0x2 */ s16 x;
|
||||
/* 0x4 */ s16 y;
|
||||
/* 0x8 */ u8 *text;
|
||||
} CreditsData;
|
||||
|
||||
bool8 DrawCredits(s32 creditsCategoryIndex, s32);
|
||||
|
||||
s32 sub_8035574(void);
|
||||
void sub_803565C(void);
|
||||
|
||||
#endif // GUARD_CREDITS1_H
|
||||
15
include/credits2.h
Normal file
15
include/credits2.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef GUARD_CREDITS2_H
|
||||
#define GUARD_CREDITS2_H
|
||||
|
||||
// size: 0x8
|
||||
typedef struct Credits2Work
|
||||
{
|
||||
/* 0x0 */ u32 state;
|
||||
u32 unk4; // timer for not holding any inputs
|
||||
} Credits2Work;
|
||||
|
||||
bool8 sub_8035678(void);
|
||||
u32 sub_80356A0(void);
|
||||
void sub_8035758(void);
|
||||
|
||||
#endif // GUARD_CREDITS2_H
|
||||
@@ -33,6 +33,7 @@ void sub_8002758(s32 r0);
|
||||
u8 sub_800276C(void);
|
||||
|
||||
// event_flag.s
|
||||
extern void sub_80015C0(u32, u32);
|
||||
extern u32 sub_8001658(u32, u32);
|
||||
|
||||
#endif // GUARD_EVENT_FLAG_H
|
||||
|
||||
@@ -36,6 +36,15 @@ enum MainMenuScreens
|
||||
MENU_NO_SCREEN_CHANGE = 65500
|
||||
};
|
||||
|
||||
// size: 0x1A8
|
||||
typedef struct unkStruct_203B34C
|
||||
{
|
||||
u32 unk0;
|
||||
MenuStruct unk4[4];
|
||||
UnkTextStruct2 unk144[4];
|
||||
/* 0x1A4 */ u32 currMenuChoice;
|
||||
} unkStruct_203B34C;
|
||||
|
||||
// size: 0x8
|
||||
typedef struct unkStruct_8035D94
|
||||
{
|
||||
|
||||
@@ -4,15 +4,6 @@
|
||||
#include "menu.h"
|
||||
#include "text.h"
|
||||
|
||||
// size: 0x1A8
|
||||
struct unkStruct_203B34C
|
||||
{
|
||||
u32 unk0;
|
||||
MenuStruct unk4[4];
|
||||
UnkTextStruct2 unk144[4];
|
||||
/* 0x1A4 */ u32 currMenuChoice;
|
||||
};
|
||||
|
||||
u32 sub_8012A64(MenuInputStructSub *r0, s32 r1);
|
||||
s32 GetKeyPress(MenuInputStruct *r0);
|
||||
s32 sub_8012AE8(void);
|
||||
|
||||
Reference in New Issue
Block a user