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

View file

@ -0,0 +1,44 @@
#include "z_en_blkobj.h"
#define ROOM 0x00
#define FLAGS 0x00000030
void EnBlkobj_Init(EnBlkobj* this, GlobalContext* globalCtx);
void EnBlkobj_Destroy(EnBlkobj* this, GlobalContext* globalCtx);
void EnBlkobj_Update(EnBlkobj* this, GlobalContext* globalCtx);
void EnBlkobj_Draw(EnBlkobj* this, GlobalContext* globalCtx);
/*
const ActorInit En_Blkobj_InitVars =
{
ACTOR_EN_BLKOBJ,
ACTORTYPE_PROP,
ROOM,
FLAGS,
OBJECT_BLKOBJ,
sizeof(EnBlkobj),
(ActorFunc)EnBlkobj_Init,
(ActorFunc)EnBlkobj_Destroy,
(ActorFunc)EnBlkobj_Update,
(ActorFunc)EnBlkobj_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C2060.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/EnBlkobj_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/EnBlkobj_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C2148.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C21A0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C2218.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C22F4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/EnBlkobj_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/func_809C2324.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Blkobj/EnBlkobj_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_EN_BLKOBJ_H_
#define _Z_EN_BLKOBJ_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x20];
} EnBlkobj; // size = 0x016C
extern const ActorInit En_Blkobj_InitVars;
#endif