1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-06 14:20:11 +00:00

First proper commit.

This commit is contained in:
Jack Walker 2020-03-17 00:31:30 -04:00
parent be78236d36
commit 087f561f77
14086 changed files with 1200489 additions and 1 deletions

View file

@ -0,0 +1,2 @@
ovl_En_Mag
z_en_mag.c

View file

@ -0,0 +1,42 @@
#include "z_en_mag.h"
#define ROOM 0x00
#define FLAGS 0x00000030
void EnMag_Init(EnMag* this, GlobalContext* globalCtx);
void EnMag_Destroy(EnMag* this, GlobalContext* globalCtx);
void EnMag_Update(EnMag* this, GlobalContext* globalCtx);
void EnMag_Draw(EnMag* this, GlobalContext* globalCtx);
/*
const ActorInit En_Mag_InitVars =
{
ACTOR_EN_MAG,
ACTORTYPE_PROP,
ROOM,
FLAGS,
OBJECT_MAG,
sizeof(EnMag),
(ActorFunc)EnMag_Init,
(ActorFunc)EnMag_Destroy,
(ActorFunc)EnMag_Update,
(ActorFunc)EnMag_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/EnMag_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/EnMag_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/EnMag_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/func_80AA447C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/func_80AA46A0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/func_80AA4AD4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/func_80AA4EB8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/func_80AA507C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Mag/EnMag_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_EN_MAG_H_
#define _Z_EN_MAG_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0xE1DC];
} EnMag; // size = 0xE328
extern const ActorInit En_Mag_InitVars;
#endif