1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-08 15:30:14 +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_Obj_Syokudai
z_obj_syokudai.c

View file

@ -0,0 +1,33 @@
#include "z_obj_syokudai.h"
#define ROOM 0x00
#define FLAGS 0x00000410
void ObjSyokudai_Init(ObjSyokudai* this, GlobalContext* globalCtx);
void ObjSyokudai_Destroy(ObjSyokudai* this, GlobalContext* globalCtx);
void ObjSyokudai_Update(ObjSyokudai* this, GlobalContext* globalCtx);
void ObjSyokudai_Draw(ObjSyokudai* this, GlobalContext* globalCtx);
/*
const ActorInit Obj_Syokudai_InitVars =
{
ACTOR_OBJ_SYOKUDAI,
ACTORTYPE_PROP,
ROOM,
FLAGS,
OBJECT_SYOKUDAI,
sizeof(ObjSyokudai),
(ActorFunc)ObjSyokudai_Init,
(ActorFunc)ObjSyokudai_Destroy,
(ActorFunc)ObjSyokudai_Update,
(ActorFunc)ObjSyokudai_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Obj_Syokudai/ObjSyokudai_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Obj_Syokudai/ObjSyokudai_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Obj_Syokudai/ObjSyokudai_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Obj_Syokudai/ObjSyokudai_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_OBJ_SYOKUDAI_H_
#define _Z_OBJ_SYOKUDAI_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0xB0];
} ObjSyokudai; // size = 0x01FC
extern const ActorInit Obj_Syokudai_InitVars;
#endif