1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 08:50:23 +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_Magic_Dark
z_magic_dark.c

View file

@ -0,0 +1,38 @@
#include "z_magic_dark.h"
#define ROOM 0x00
#define FLAGS 0x02000010
void MagicDark_Init(MagicDark* this, GlobalContext* globalCtx);
void MagicDark_Destroy(MagicDark* this, GlobalContext* globalCtx);
void MagicDark_Update(MagicDark* this, GlobalContext* globalCtx);
void MagicDark_Draw(MagicDark* this, GlobalContext* globalCtx);
/*
const ActorInit Magic_Dark_InitVars =
{
ACTOR_MAGIC_DARK,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_GAMEPLAY_KEEP,
sizeof(MagicDark),
(ActorFunc)MagicDark_Init,
(ActorFunc)MagicDark_Destroy,
(ActorFunc)MagicDark_Update,
(ActorFunc)MagicDark_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/MagicDark_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/MagicDark_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/func_80B874E4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/func_80B8772C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/MagicDark_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/func_80B87A18.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Dark/MagicDark_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_MAGIC_DARK_H_
#define _Z_MAGIC_DARK_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x18];
} MagicDark; // size = 0x0164
extern const ActorInit Magic_Dark_InitVars;
#endif