1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-08 07:20:16 +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_Bg_Treemouth
z_bg_treemouth.c

View file

@ -0,0 +1,50 @@
#include "z_bg_treemouth.h"
#define ROOM 0x00
#define FLAGS 0x00000030
void BgTreemouth_Init(BgTreemouth* this, GlobalContext* globalCtx);
void BgTreemouth_Destroy(BgTreemouth* this, GlobalContext* globalCtx);
void BgTreemouth_Update(BgTreemouth* this, GlobalContext* globalCtx);
void BgTreemouth_Draw(BgTreemouth* this, GlobalContext* globalCtx);
/*
const ActorInit Bg_Treemouth_InitVars =
{
ACTOR_BG_TREEMOUTH,
ACTORTYPE_BG,
ROOM,
FLAGS,
OBJECT_SPOT04_OBJECTS,
sizeof(BgTreemouth),
(ActorFunc)BgTreemouth_Init,
(ActorFunc)BgTreemouth_Destroy,
(ActorFunc)BgTreemouth_Update,
(ActorFunc)BgTreemouth_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC500.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/BgTreemouth_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/BgTreemouth_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC65C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC6F8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC80C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC864.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC8B8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BC9EC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BCAF0.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/func_808BCB8C.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/BgTreemouth_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Treemouth/BgTreemouth_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_BG_TREEMOUTH_H_
#define _Z_BG_TREEMOUTH_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x24];
} BgTreemouth; // size = 0x0170
extern const ActorInit Bg_Treemouth_InitVars;
#endif