mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-24 23:01:23 -04:00
7ef1810132
* 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
32 lines
549 B
C
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
|