Merge pull request #399 from dbalatoni13/main

Fix instDll include guards and add missing ones
This commit is contained in:
Liam Coleman 2024-08-12 10:08:17 -05:00 committed by GitHub
commit 8500245055
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 51 additions and 6 deletions

View file

@ -1,5 +1,5 @@
#ifndef M401DLL_H
#define M401DLL_H
#ifndef INSTDLL_H
#define INSTDLL_H
#include "game/minigame_seq.h"

View file

@ -1,5 +1,10 @@
#ifndef M407DLL_H
#define M407DLL_H
#include "game/object.h"
#define ARRAY_COUNT(arr) (s32)(sizeof(arr) / sizeof(arr[0]))
typedef void (*ObjFuncs)(omObjData*);
#endif

View file

@ -1,3 +1,6 @@
#ifndef M409DLL_H
#define M409DLL_H
#include "dolphin.h"
#include "game/object.h"
@ -362,4 +365,6 @@ void fn_1_F2F8(s16, s16, u8, f32);
void fn_1_F370(s16, f32);
void fn_1_F408(s16, s16, u8);
void fn_1_F478(s16, s16, u8, u8);
void fn_1_F4F0(s16, u8);
void fn_1_F4F0(s16, u8);
#endif

View file

@ -1,3 +1,6 @@
#ifndef M412DLL_H
#define M412DLL_H
#include "dolphin.h"
#include "game/object.h"
@ -113,4 +116,6 @@ void fn_1_A618(ModelData* model, ParticleData* particle, Mtx matrix);
//...
void fn_1_AA88(ModelData* model, ParticleData* particle, Mtx matrix); // *
void fn_1_B160(void); // *
void fn_1_B1C0(void); // *
void fn_1_B1C0(void); // *
#endif

View file

@ -1,3 +1,6 @@
#ifndef M440DLL_H
#define M440DLL_H
#include "dolphin/types.h"
#include "game/hsfman.h"
@ -347,3 +350,5 @@ void fn_1_F228(void);
u16 fn_1_F4C0(unkObjStruct*, u16);
void fn_1_F4D4(unkObjStruct*, u16, u16);
s32 fn_1_F4FC(s32);
#endif

View file

@ -1,3 +1,6 @@
#ifndef M446DLL_H
#define M446DLL_H
#include "dolphin/types.h"
#include "game/process.h"
@ -302,3 +305,5 @@ void fn_1_83F0(unkStruct9*);
void fn_1_84AC(unkStruct9*);
void fn_1_852C(unkStruct9*);
void fn_1_860C(unkStruct9*);
#endif

View file

@ -1,3 +1,6 @@
#ifndef REL_W03_H
#define REL_W03_H
#include "game/gamework_data.h"
#include "dolphin.h"
#include "REL/executor.h"
@ -27,3 +30,5 @@ typedef struct w03State {
extern w03State* lbl_1_bss_0;
extern s16 lbl_1_bss_C[MAPOBJ_MAX];
#endif

View file

@ -1,3 +1,6 @@
#ifndef REL_W05_H
#define REL_W05_H
#include "dolphin/types.h"
#include "game/board/main.h"
@ -222,3 +225,5 @@ extern s32* lbl_1_bss_10;
extern s16 lbl_1_bss_8[4];
extern Process* lbl_1_bss_4;
extern bitcopy* lbl_1_bss_0;
#endif

View file

@ -1,3 +1,6 @@
#ifndef REL_W10_H
#define REL_W10_H
#include "game/gamework_data.h"
#include "dolphin.h"
#include "REL/executor.h"
@ -86,4 +89,6 @@ extern s16 tutorialExitWin;
extern s16 boardStarHostMdl;
extern s16 boardShopHostMdl;
extern s16 boardLotteryHostMdl;
extern s16 boardBooHouseHostMdl;
extern s16 boardBooHouseHostMdl;
#endif

View file

@ -1,5 +1,10 @@
#ifndef MSMMEM_H
#define MSMMEM_H
#include "dolphin/types.h"
void msmMemFree(void*);
void* msmMemAlloc(s32);
void msmMemInit(void*, u32);
void msmMemInit(void*, u32);
#endif