1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-10 17:00:19 +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_Item_Shield
z_item_shield.c

View file

@ -0,0 +1,42 @@
#include "z_item_shield.h"
#define ROOM 0x00
#define FLAGS 0x00000010
void ItemShield_Init(ItemShield* this, GlobalContext* globalCtx);
void ItemShield_Destroy(ItemShield* this, GlobalContext* globalCtx);
void ItemShield_Update(ItemShield* this, GlobalContext* globalCtx);
void ItemShield_Draw(ItemShield* this, GlobalContext* globalCtx);
/*
const ActorInit Item_Shield_InitVars =
{
ACTOR_ITEM_SHIELD,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_LINK_CHILD,
sizeof(ItemShield),
(ActorFunc)ItemShield_Init,
(ActorFunc)ItemShield_Destroy,
(ActorFunc)ItemShield_Update,
(ActorFunc)ItemShield_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/func_80B86920.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/ItemShield_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/ItemShield_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/func_80B86AC8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/func_80B86BC8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/func_80B86CA8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/func_80B86F68.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/ItemShield_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Item_Shield/ItemShield_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_ITEM_SHIELD_H_
#define _Z_ITEM_SHIELD_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0xC0];
} ItemShield; // size = 0x020C
extern const ActorInit Item_Shield_InitVars;
#endif