Files
dusklight/include/revolution/gd/GDFile.h
T
TakaRikka 7ef1810132 m_Do_main / f_ap_game / f_op_actor debug work and misc (#2744)
* m_Do_main / f_ap_game debug stuff

* revolution sdk compatibility

* f_op_actor debug work

* rename fopAcM_SetupActor to fopAcM_ct

* fix build

* fix jp/pal splits
2025-10-19 20:30:49 +03:00

32 lines
549 B
C

#ifndef _REVOLUTION_GD_FILE_H
#define _REVOLUTION_GD_FILE_H
#include <revolution/types.h>
#ifdef __cplusplus
extern "C" {
#endif
#define GD_FILE_VERSION_NUMBER 0x11223344
typedef struct _GDGList {
void* ptr;
u32 byteLength;
} GDGList;
typedef struct _GDFileHeader {
u32 versionNumber;
u32 numDLs;
u32 numPLs;
GDGList* DLDescArray;
GDGList* PLDescArray;
} GDFileHeader;
s32 GDReadDLFile(const char* fName, u32* numDLs, u32* numPLs, GDGList** DLDescArray, GDGList** PLDescArray);
#ifdef __cplusplus
}
#endif
#endif