Wip: It almost compiles
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
void InitFileRead();
|
||||
void InitFileSystem();
|
||||
void ReadRootPath();
|
||||
unsigned char * GetRootPath();
|
||||
|
||||
|
||||
#endif // FILE_H
|
||||
#endif // FILE_H
|
||||
|
||||
@@ -6,10 +6,15 @@
|
||||
#include "Font.h"
|
||||
#include "Game.h"
|
||||
#include "Load.h"
|
||||
#include "Memory.h"
|
||||
#include "Pad.h"
|
||||
#include "Scene.h"
|
||||
#include "Script.h"
|
||||
#include "Sound/Snd.h"
|
||||
#include "String.h"
|
||||
#include "TexEffect.h"
|
||||
#include "Title.h"
|
||||
#include "Unk.h"
|
||||
#include "common.h"
|
||||
#include "ee/eekernel.h"
|
||||
#include "ee/registers.h"
|
||||
@@ -19,6 +24,7 @@
|
||||
int gTime;
|
||||
int GoToEndingFlag;
|
||||
int GoToTitleFlag;
|
||||
struct _TMP_MENU_MNG_ST g_TmpMenuMng;
|
||||
|
||||
void SetGoToEndingFade(void) {
|
||||
SetFadeMng(1, (sceVu0IVECTOR){0}, 30, NULL, SetGoToEndingFlag, 0, 0);
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
#ifndef MEMORY_H
|
||||
#define MEMORY_H
|
||||
void MemInit();
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef PAD_H
|
||||
#define PAD_H
|
||||
|
||||
void SetPadVibFlag(unsigned char bFlag /* r2 */);
|
||||
|
||||
#endif // PAD_H
|
||||
@@ -0,0 +1,6 @@
|
||||
#ifndef SND_H
|
||||
#define SND_H
|
||||
|
||||
void SND_RemoveSound();
|
||||
|
||||
#endif //SND_H
|
||||
@@ -0,0 +1,7 @@
|
||||
#ifndef STRING_H
|
||||
#define STRING_H
|
||||
|
||||
|
||||
void StringCorrectPath4Disc(char * lpStrTop /* r2 */, signed int mode /* r18 */);
|
||||
|
||||
#endif // STRING_H
|
||||
@@ -0,0 +1,36 @@
|
||||
#ifndef UNK_H
|
||||
#define UNK_H
|
||||
|
||||
struct _MNG_STATE_ST {
|
||||
// Members
|
||||
signed int state; // offset 0x0, size 0x4
|
||||
unsigned int flag; // offset 0x4, size 0x4
|
||||
unsigned int calc_total_time; // offset 0x8, size 0x4
|
||||
unsigned int total_time; // offset 0xC, size 0x4
|
||||
unsigned int get_time; // offset 0x10, size 0x4
|
||||
unsigned int dmy[3]; // offset 0x14, size 0xC
|
||||
};
|
||||
|
||||
struct _TMP_MENU_MNG_ST {
|
||||
// Members
|
||||
struct _MNG_STATE_ST mng_state; // offset 0x0, size 0x20
|
||||
signed int DrawState; // offset 0x20, size 0x4
|
||||
unsigned char * * pTmpMenuFileBuf; // offset 0x24, size 0x4
|
||||
float draw_up_rate; // offset 0x28, size 0x4
|
||||
unsigned char dmy[12]; // offset 0x2C, size 0xC
|
||||
};
|
||||
|
||||
extern struct _TMP_MENU_MNG_ST g_TmpMenuMng; // size: 0x38, address: 0xA00C70
|
||||
|
||||
struct /* @anon0 */ {
|
||||
// Members
|
||||
unsigned char bLoad; // offset 0x0, size 0x1
|
||||
unsigned char movie_id; // offset 0x1, size 0x1
|
||||
unsigned char unused[2]; // offset 0x2, size 0x2
|
||||
unsigned short scene_id; // offset 0x4, size 0x2
|
||||
unsigned short cam_id; // offset 0x6, size 0x2
|
||||
} * lpSceneLoad; // size: 0x4, address: 0x257530
|
||||
|
||||
|
||||
|
||||
#endif // UNK_H
|
||||
Reference in New Issue
Block a user